Relocate /home to seperate partiton.
I recently did a single partition installation of Slackware on a multiboot system. It was probably a silly choice because I already run Slackware on 2 other machines. Anyway, I have chosen to delete the other distros and I'm wanting to move /home to a new partition, but I've never done it before so I was wonering if it would be enough to:
Make a new partition
restore /home's contents.
I'd probably do it more like:
-Configure new storage
-boot to single user
-mount new storage on a temporary mount point - /tmp/new_home ?
- 'cp -a /home/* /tmp/new_home/'
-edit /etc/fstab and change target for '/home' to new storage
I think it should work, but to be on the safe side backup any /etc/*.conf files and home files on the new setup, at the very least. Gparted is very easy to use to repartition hard drive. You do need to reboot though for the new settings to be read by fstab. I can't remember but think gparted already edits fstab for you. The only problem I can see is you may need to decide which /home/.mozilla/ bookmarks and history, Desktop and so on you want to keep before you restore.
Sorry, need to add that you could use Ubuntu live CD (with gnome desktop) to do the gparted (commandline: gparted)
Everything seemed to work, but some part of Gnome had mounted my new partiton as /media/disk-1 so I had simultaneous mounts of the same partition.
|All times are GMT -5. The time now is 05:39 PM.|