I wasn't paying attention...Revenger wrote:First, you will need to create partition dedicated to /home. (You can use gparted (gnome), kpartx (kde), fdisk + e2fstools or some other tools (if you would not like to use ext3/4 filesystem, but remember to put correct filesystem type in /etc/fstab) (console))
Do these steps as root via console.
Move old home to some other place, eg mv /home /home.old
Create empty /home directory, mkdir /home
Mount partition you intended to use as /home to its mountpoint mount /dev/sdxy /home (It may be /dev/hdxy, if using Lenny and ATA Drive).
Move all contents from /home.old to /home with mv /home.old/* /home
Add a line to /etc/fstab (nano /etc/fstab) to auto mount your new partition
Code: Select all
/dev/sdxy /home <fstype> defaults 0 0
You already did this it's hda1First, you will need to create partition dedicated to /home.
Do these steps as root via console.
Move old home to some other place, eg mv /home /home.old
Create empty /home directory, mkdir /home
Mount partition you intended to use as /home to its mountpointCode: Select all
mount -t ext2 /dev/hda1 /home
Move all contents from /home.old to /home withAdd a line to /etc/fstab (nano /etc/fstab) to auto mount your new partitionCode: Select all
mv /home.old/* /home
Remove empty /home.old directoryCode: Select all
/dev/hda1 /home ext2 defaults 1 0
And at last doCode: Select all
rmdir /home.old
, if there are no errors, you are good and can reboot.Code: Select all
mount -a