To view parent comment, click here.
To read all comments associated with this story, please click here.
The recommendation for Linux distributions is to make separate partitions for / (root), /home and swap. When it comes to a new distribution to try, or an upgrade to your existing distribution, then install the new OS with re-format to the root partition (/), and use but do NOT re-format the /home partition.
Sweet. Works every time, no problems normally. Installing a Linux distribution to a freshly-formatted / partition form a LiveCD normally takes only 20 minutes or so.
If you haven't done this separate partitions arrangement, then you can still recover the situation. Using a LiveCD, save everything existing under /home to another backup disk, wipe the first disk and re-partition it to have separate /, /home and swap partitions, restore the contents of /home from the other backup disk, then re-install the new OS to /. After re-boot, re-create your users with the same usernames as before, and accept the existing home directories for them.
Yes, but wouldn't you have to manually re-install all your software too? (stuff that wouldn't be in the home folder)... and the dependent libraries... and other miscellaneous stuff...
I did a complete wipe when I went from 8.04 to 8.10 and reinstalling and reconfiguring everything was a major pain in the ass.
That's what made me want to do an upgrade this time. Having to reinstall and reconfigure every time there's an update seems like total inefficiency to me.
Edited 2009-10-30 00:15 UTC
Meh.
Most distributions, such as Ubuntu or Kubuntu, install almost everything that you would need for a standard desktop out of the box.
On Kubuntu, after a fresh install I install firefox and smbfs and a couple of extra libraries, and that is about it.
If you really want, keep a couple of files from /etc that you find yourself having to reconfigure all the time. I haven't found that to be necessary. I do have an off-system copy of some .ttf files however (saved from a ttf fonts directory several years ago), but it takes only a minute to re-add those files as system fonts.
I do find it advisable to edit /etc/adduser.conf. In that file I enable the default user groups that I want. Then adding my users back again is simply a matter of typing "sudo adduser username" and then their password for each user. I do believe there is a "newusers" script that you can run if you have a lot of users, that will take as input a copy of the old file from /etc/passwd, so saving that file as well could save you time for a new install.
The recommendation for Linux distributions is to make separate partitions for / (root), /home and swap. When it comes to a new distribution to try, or an upgrade to your existing distribution, then install the new OS with re-format to the root partition (/), and use but do NOT re-format the /home partition.
Sweet. Works every time, no problems normally. Installing a Linux distribution to a freshly-formatted / partition form a LiveCD normally takes only 20 minutes or so.
FWIW, that has not been my experience. I've updated Debian from testing to unstable or from stable to testing numerous times with no problems. Recently, I've upgraded SuSE 11.1 to various stages of the 11.2 beta (now RC) without problems too. While I have had times when the process has foobared, this hasn't been for two or three years now and I suspect that distros have generally got better at dealing with big, system-wide upgrades.
I agree that a fresh new install may well be a better option in some circumstances, or may be unavoidable because, for example, you wish to change the filing system. But increasingly, I think it is worth having a go at upgrade in situ, although as always you need to back everything up in case it all goes wrong.
This time I went even further, even though I have partitioned as you recommend here.
I usually just reinstall on my «/» partition, leving all my previous settings and then run s script I've hacked together to get things such as java, flash, dvcss2, all the codecs, fonts and a few apps I like to have (as skype & google earth...), but aren't installed by default on UNR (oh, yeah my main computer is an EEE 900). You can find the script at the following address: http://nalle.no/apps/standard-installapps-ubuntu As I said, it's just a hack, but it'll give you all the extras.
This time I did a clean install; only copying back again .mozilla, .mozilla-thunderbird and .evolution (yeah, I use them both, and I did backup my /home-partition). That way all I get to see how the interface looks by default, as I usually configure my interface quite heavily.
Usually I do this only on LTS-releases, but 9.10 had been hyped so much that I felt I just had to....
Edited for typos....
Nalle Berg
./nalle.
Edited 2009-11-01 06:56 UTC





Member since:
2007-02-17
Upgrading any OS at all rarely works well.
The recommendation for Linux distributions is to make separate partitions for / (root), /home and swap. When it comes to a new distribution to try, or an upgrade to your existing distribution, then install the new OS with re-format to the root partition (/), and use but do NOT re-format the /home partition.
Sweet. Works every time, no problems normally. Installing a Linux distribution to a freshly-formatted / partition from a LiveCD normally takes only 20 minutes or so.
If you haven't done this separate partitions arrangement, then you can still recover the situation. Using a LiveCD, save everything existing under /home to another backup disk, wipe the first disk and re-partition it to have separate /, /home and swap partitions, restore the contents of /home from the other backup disk, then re-install the new OS to /. After re-boot, re-create your users with the same usernames as before, and accept the existing home directories for them.
If the new OS doesn't work for whatever reason, then just get the previous version Live CD and revert to that. It will take another 20 minutes, but you have lost nothing but less than one hour of your time.
Edited 2009-10-30 00:10 UTC