mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2018-08-22, 17:32   #12
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

3,739 Posts
Default

Quote:
Originally Posted by Rodrigo View Post
The /home folder is currently in the same partition as the OS. It's not a straightforward matter of creating a new partition for /home and copying everything over, is it?
The installation media for Xubuntu should have the program gparted, which will allow you resize a partition, and create a new one and format it.

Then you need a sane /etc/fstab to reflect your new partition. So the first thing I would do before using gparted is to make sure no user processes are running and cd /, then umount /home and mv /home /home_orig. Then run gparted from the installation media and mount the new partition under /home (if gparted does that for you on request). Finally, boot, then cp -pr /home_orig/* /home/ and reboot. (I hope fstab will then be sane, otherwise it will need editing.)

This assumes you can log on as root and have enough disk space to do all these operations, otherwise you might consider using a USB HDD/SSD to act as an intermediate storage system.

This page might help

Last fiddled with by paulunderwood on 2018-08-22 at 18:32
paulunderwood is offline   Reply With Quote
Old 2018-08-23, 05:41   #13
Rodrigo
 
Rodrigo's Avatar
 
Jun 2010
Pennsylvania

3A616 Posts
Default

Good news: I remembered that I'd put away a disk drive for an old laptop, containing Kubuntu 16.04. I'd used the drive last year when first exploring that OS, and would swap it occasionally with the original Vista HDD. What better way to test the process, especially since the drive includes the two critical programs (Master PDF Editor and Softmaker Office).

So I put the Kubuntu drive in the laptop, let it update, and soon it was offering the upgrade to 18.04. I allowed it to proceed.

Less than five hours later, I have a spanking new Kubuntu version on the laptop. Best of all, those two applications made it through unscathed!

The only casualties seem to be the desktop icons (Firefox, Textmaker, and Dolphin), which are now generic. Even the Vista desktop theme was unaffected.

All in all, a very promising test run.
Rodrigo is offline   Reply With Quote
Old 2018-09-14, 16:08   #14
VictordeHolland
 
VictordeHolland's Avatar
 
"Victor de Hollander"
Aug 2011
the Netherlands

23·3·72 Posts
Default

My Dual_Xeon homebrewed machine with Ubuntu 16.04 LTS is now reporting errors every time I reboot (I can cancel them and everything appears to function, but something is wrong under the hood). It probably happened after one of my last massive update/upgrades of packages (including trying gcc7.3), so I probably broke something.

I hope a distro upgrade to 18.04 LTS fixes it for me (I'm not counting on it, I'm downloading a new USB image as I type this). But who knows :)
VictordeHolland is offline   Reply With Quote
Old 2018-09-14, 19:15   #15
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

37×263 Posts
Default

Quote:
Originally Posted by VictordeHolland View Post
My Dual_Xeon homebrewed machine with Ubuntu 16.04 LTS is now reporting errors every time I reboot (I can cancel them and everything appears to function, but something is wrong under the hood).
What kind of errors?

Quote:
Originally Posted by VictordeHolland View Post
I'm downloading a new USB image as I type this). But who knows :)
Always a good idea. I carry a bootable USB stick and a bootable CDR with me at all times. But, then, some have said I'm a bit paranoid and extreme (they're probably not incorrect)....
chalsall is offline   Reply With Quote
Old 2018-09-14, 21:56   #16
VictordeHolland
 
VictordeHolland's Avatar
 
"Victor de Hollander"
Aug 2011
the Netherlands

100100110002 Posts
Default

Quote:
Originally Posted by chalsall View Post
What kind of errors?
The volume boot has 0 bytes disk space remaining
which I found odd, since Ubuntu 16.04 was installed on a 3TB drive.
and LVM was complaining about something else (I forgot the exact message).

Anyway, I performed a clean install of 18.04 LTS with the USB stick. And now that I'm at it, I might just as well recompile the factoring programs that I was using on it (msieve, gmp-ecm, CADO-NFS, YAFU) so that I have the latest versions of them .
VictordeHolland is offline   Reply With Quote
Old 2018-09-14, 22:37   #17
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

37·263 Posts
Default

Quote:
Originally Posted by VictordeHolland View Post
The volume boot has 0 bytes disk space remaining which I found odd, since Ubuntu 16.04 was installed on a 3TB drive.
and LVM was complaining about something else (I forgot the exact message).
Listen to the warnings! Seriously!!!

"/boot/" is different from "/". Often on a different partition. And sometimes important for sanity....

Quote:
Originally Posted by VictordeHolland View Post
Anyway, I performed a clean install of 18.04 LTS with the USB stick.
You might want to come around and figure out why your /boot/ partition became full, before it happens again.

FWIW.
chalsall is offline   Reply With Quote
Old 2018-09-15, 06:22   #18
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

1075310 Posts
Default

Quote:
Originally Posted by chalsall View Post
Listen to the warnings! Seriously!!!

"/boot/" is different from "/". Often on a different partition. And sometimes important for sanity....



You might want to come around and figure out why your /boot/ partition became full, before it happens again.

FWIW.
BTDT. The system on which I am typing has a 100M /boot partition. Too many kernels and, especially, compressed filesystems and it fills up quite rapidly. These days I'm in the habit of checking free space before building a kernel but several times in previous years /boot has filled --- with unfortunate consequences.

Another gotcha: /boot is often not mounted until required and then umounted afterwards. df /boot then tells you the amount of space on the root partition and not on the /boot partition.
xilman is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading a cat. 0 box ckdo PrimeNet 3 2018-03-12 15:24
Upgrading a LGA 775 foxmccloud123 Hardware 14 2013-05-19 06:09
Upgrading a 1U server fivemack Hardware 4 2012-12-01 17:44
Upgrading Ubuntu from 9.04 to 11.04 ET_ Linux 9 2012-03-05 20:04
Upgrading to prescott db597 Hardware 10 2004-03-21 17:46

All times are UTC. The time now is 09:00.


Sat Jul 17 09:00:36 UTC 2021 up 50 days, 6:47, 1 user, load averages: 1.13, 1.48, 1.44

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.