PDA

View Full Version : [ubuntu] Preserve Home when re installing?



candtalan
May 31st, 2009, 08:11 PM
This facility seems to have been suggested, approved, and implemented, apparently for 8.04 an dI guess later versions.

https://blueprints.launchpad.net/ubuntu/+spec/ubiquity-preserve-home

Can someone please (confirm and) summarise this works - do I have to choose the manual partitioning during the install for example, or is there some particular item or choice to click upon?

tia

merlinus
May 31st, 2009, 08:21 PM
Do you have an existing /home partition? If so, then yes, select manual at the partitioning screen. Find your /home partition, select use but do not format.

Then select the partition where you want to install the root filesystem.

Linteg
May 31st, 2009, 08:26 PM
If you choose manual partitioning and select the same mount points as before (do not format the drive/partition!) /home will still be there but /bin /etc /usr and so on will be deleted.

zika
May 31st, 2009, 08:35 PM
If you choose manual partitioning and select the same mount points as before (do not format the drive/partition!) /home will still be there but /bin /etc /usr and so on will be deleted.
Am I getting this right: even though I (still) do not have separate /home partition I can preserve it in re-install by ... what ... choosing manual (as I always do) and preventing from formatting the existing Ubuntu partition ...?

merlinus
May 31st, 2009, 08:42 PM
No, plain and simple. If your /home directory is on the same partition as /, it will be gone, because when installing a new version you have to format the / partition.

You can move your /home directory to a new partition, however, by following these steps:

http://www.go2linux.org/how-to-move-home-directory-to-another-partition (http://www.psychocats.net/ubuntu/separatehome)

zika
May 31st, 2009, 09:50 PM
No, plain and simple. If your /home directory is on the same partition as /, it will be gone, because when installing a new version you have to format the / partition.
You can move your /home directory to a new partition, however, by following these steps:
http://www.go2linux.org/how-to-move-home-directory-to-another-partition (http://www.psychocats.net/ubuntu/separatehome)
Thank You, I know that but I kind of misread (obviously) that post and I wanted to clear that.

Linteg
May 31st, 2009, 10:33 PM
The spec is implemented.

zika
June 1st, 2009, 05:23 AM
The spec is implemented.
/home is not mentioned. So is it preserved?

merlinus
June 1st, 2009, 05:47 AM
Thanks, Linteg. Live and learn....

VastOne
June 1st, 2009, 05:59 AM
/home is not mentioned. So is it preserved?

Is /home on a separate partition? If it is you can preserve it, if it is not you cannot. Unless of course you have it backed up elsewhere

Linteg
June 1st, 2009, 07:45 AM
/home is not mentioned. So is it preserved?
According to the full spec, at least /home, /srv and /root are preserved, see https://wiki.ubuntu.com/UbiquityPreserveHome

I just tried it on a Virtualbox install of Ubuntu, files in /home, /root, and /srv were preserved.

zika
June 1st, 2009, 09:26 AM
According to the full spec, at least /home, /srv and /root are preserved, see https://wiki.ubuntu.com/UbiquityPreserveHome

I just tried it on a Virtualbox install of Ubuntu, files in /home, /root, and /srv were preserved.
Cool! That is good news... It makes me hard to wait for a good time to update to Karmic ... :) It also makes hacking Jaunty less dangerous ... :)