PDA

View Full Version : [all variants] Home partition not recognized after upgrade



gforster
March 31st, 2009, 10:49 PM
So I just upgraded to 9.05 (Jaunty) beta. I wiped my root partition and did a clean install. I left my old home partition alone. Install went fine, everything works really nicely.

The problem is that my old home partition is no longer my home partition, it is a completely separate partition. How do I get it to recognize my old home partition as my partition?

Vico Vicario
April 1st, 2009, 10:22 AM
You need to set it up in fstab:

1) reboot in failsafe mode as root

2) completely empty the new /home directory to reuse as mount point, but do not remove it. You need the empty dir. You can move the contents (user dirs) to /opt for example.

3) add old partition to /etc/fstab. For example

UUID=e4d5352b-e420-4d95-a24f-d0d7dd7c97d0 /home ext3 relatime 0 2

Use ls -l /dev/disk/by-uuid/ to find out UUID of your old partition. Choose correct filetype for your partition instead of ext3.

4) sudo mount -a

5) check if old /home is mounted

6) if so reboot

V.

gforster
April 1st, 2009, 02:08 PM
Thank you. Worked like a charm. Whatever that means.