1

I had installed Fedora last year, now wanting to switch back to Ubuntu. But how do I install Ubuntu without removing all the files from my home directory from the previous Fedora install?

I've tried searching all over Google and I can't find anything. Any help?

raidz
  • 29

1 Answers1

0

Copy home to Portable USB drive

Format flash drive to ext4.

As root use Grsync to copy home/{username} from internal drive to the flash drive. Preserving owner, permissions and group works for me.

enter image description here

Copy or write down UUID of the new partition.

Edit /etc/fstab on the internal drive to add the /home UUID:

UUID={UUID from above} /home   ext4    defaults        0       0

It might be a good idea to use an encrypted home when traveling.

Thanks to ubfan1 for hint

C.S.Cameron
  • 20,530
  • 12
  • 78
  • 125