On Sunday 17 June 2007 22:45, Mohammad Bhuyan wrote:
> 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

Thanks Mohammad,

magic word Recursive made me to look again in my first post to find 2 errors 
in 5 lines of my version how to move home :-(

-- 
Regards,
Rajko.
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to