using the following instructions, I tried to move /home to a separate partition in a) Jacklab 1.0 which is based on Suse 10.2 and b) in Centos5.
The instructions following a thread by Stewe W on 03-12-08, Member
Registered: Mar 2007
Distribution: Ubuntu 7.10, Knoppix 5.1.1
are by Randux post #2 the following:
Sorry but as I cannot find the #2 answer to that which is by Randux any longer to copy and paste I will type it from my printed copy of May 11, 2008 . I copy hopefully without mistakes:
mkdir /mnt/hda8 (hda is only used as an example)
mount -w /dev/hda8 /mnt/hda8
rsync -axv /home/ /mnt/hda8/
Now update /etc/fstab to look something like:
/dev/hda8 /home ext3 defaults 1 2
then as root:
mount /dev/hda8 /home
make sure it worked:
You should see something like this:
/dev/hda8 on /home type ext3 (rw)
Well this is the first part, the formation of new /home on /dev/hda8.
The second part is deleting the original /home from root:
rm -rf /home
chmod 755 /home
I tried the above on system a) Jacklab i.0 but made some mistakes. The new /home on /dev/hda8 was formed with about 470MiB of files but due to my mistakes later both it and the original root /home dissapeared.So I cannot boot any longer.
I tried the same on system b) Centos5 and I was succesful. The new /home was formed, with about 177MiB of files and I am able to boot. I could not delete the old house though as I was told that it is busy. I logged in as root to do that. Not that bad.
Now checking the files in Jacklab 1.0 with Gparted livecd I noticed that they are almost the same size before and after the /home deletion.5.03GiB
before to 4.94GiB after. Considering that 470MiB is the transferred /home
I thought that they might be "hidden" somewhere and if there is a slight possibility of resurrecting them.
Hence my question.