On Sunday 17 June 2007 22:11, Fernando Costa wrote:
> Hi,
>
> I have the /home on its own partition, but I need to move it to the root
> partition without losing data, which is the safest way to do that? My
> root partition is about 20G and the /home partition is about 8G and less
> than 1G is used because I store my data in a different partition.
>
> openSUSE 10.2
>
> Thanks,

Hi Fernando,

Close applications and save data in graphic mode and end session.  
Go to text terminal with Ctrl-F2, login as root user,
  init 3
  mkdir home1
  cp home home1
  umount /home
  mv home1 home

Now you have to edit /etc/fstab and comment out the line that mounts your home 
partition to /home, or change /home in that line to /home1. First will not 
mount partition at all, second will mount it to /home1 making possible to use 
it for any purpose you want. 

  init 5 
should bring you back to GUI, with new /home directory. 
 
-- 
Regards,
Rajko.
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to