How can I relocate my/ home directory to an additional dividing if it is currently component of the/ dividing?

I have a remarkable running Maverick Meerkat install taking place now. I intend to relocate my /home to an additional dividing based on several pointers.

Just how can I deal with doing this without re-installing the whole Ubuntu system? Can I merely create the dividing with gparted and afterwards transform the place factor of /home in fstab to mirror it or is it a little bit harder?

2019-05-13 04:05:07
Source Share
Answers: 2

I assume it is best to adhere to the Ubuntu wiki guide. I utilized it a while earlier and also it functioned simply great.

2019-05-17 16:15:17

Yes, it is just an issue of including a new access to/ etc/fstab and afterwards replicating the documents over.

I recommend making use of UUIDs for the dividing identifier in fstab, the syntax comparable to this:

UUID=abcdabcd-acbd-abcd-abcd-abcdabcd /home ext4 defaults 0 2

Copying is ideal done as origin, with" - a" flag passed to cp. Additionally, far better play secure and also not remove the documents quickly:

cp -a /home/* /path/to/new/partition/
mv /home /old_home
mkdir /home

Note that the customer directory sites have to be straight inside the dividing, not in/ partition/home/

2019-05-17 16:12:43