PDA

View Full Version : [ubuntu] Clean install preserving /home folder?



blazini
June 25th, 2008, 09:32 AM
When I first installed Ubuntu Feisty I obviously didn't realize I should have seperated the /home partition. I'm running Gutsy with a few issues and the update manager won't update to Hardy because of some sort of problem. Even if I got that fixed I really wouldn't trust the update considering the things I had to work out on the Gutsy upgrade, I'd rather do a clean install.

The problem is that the Gutsy install is on a 500gb hdd and it's almost full of data, only 6.6gb are free. Obviously I can't create a partition and move /home to it. I'm thinking maybe I can create a partition with the 6.6gb I have free and do a clean install of Hardy on that, then just wipe out everything on the 493.4gb partition except the /home folder (or any others I may want to keep, suggestions?)

I don't see why it wouldn't work. It seems like such a simple idea, but I've read other posts with the same issue and this was never advised as an option. I can probably free up maybe another 10gb, if for any reason Hardy should have a bigger partition. Any suggestions?

Kobalt
June 25th, 2008, 10:33 AM
If you don't have big programs to install in Ubuntu, then 6,6Gb can be just fine for a whole Ubuntu system. You can leave your data on a separate partition, and create a custom mount point in your system to have a convenient access to it... I see no problems in what you are trying to do.

meindian523
June 25th, 2008, 10:40 AM
You can back up your /home to an external storage and then just install over Gutsy.

blazini
June 25th, 2008, 11:03 AM
You can back up your /home to an external storage and then just install over Gutsy.

Not an option, as I said in my post.

Partyboi2
June 25th, 2008, 02:11 PM
If you were to reinstall my understanding is that you will loose what ever is on that partition. Because your /home folder is currently on the same partition that you need to reinstall to, you would loose your /home folder + contents, unless it is moved to its own partition (which you mentioned you are unable to do).
What size is your /home folder?

meindian523
June 26th, 2008, 04:25 PM
Why can't you install over Gutsy using a Live CD?That's what's called a clean install,in case you are thinking that upgrading to Hardy through Update Manager is what is called a clean install.It's NOT!

blazini
June 26th, 2008, 08:30 PM
If you were to reinstall my understanding is that you will loose what ever is on that partition. Because your /home folder is currently on the same partition that you need to reinstall to, you would loose your /home folder + contents, unless it is moved to its own partition (which you mentioned you are unable to do).
What size is your /home folder?Right, I don't have the space to create a new partition then move /home to the new partition. What I wanted to do was shrink the partition that has the current install, and create a new smaller partition in the unallocated space to install hardy.

I actually did it already, seemed to work alright. I just have to edit grub to make the new partition bootable.