Hi,


I have the /home on its own partition, but I need to move it to the root
partition without losing data,

I am not an expert but I was thinking if the following should work

1. To be on the safe side get out of x (ex: init 3)
2. Recursive copy /home to a new directory under root (ex: /to_be_home)
3. Get rid of the mount entry of /home from mtab/fstab (leave backup copy)
4. unmount /home (Possible?)
5. Rename /to_be_home to /home
6. Reboot (Ex: init 6)

This will leave your original /home partition unmounted but with all the data.

Lets see what the expert says.

Regards,

Mohammad
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to