pftg
3/28/2012 - 8:21 PM

Move /home to it’s own partition

Move /home to it’s own partition

mkdir /mnt/newhome
sudo mount -t ext3 /dev/hda5 /mnt/newhome

cd /home/
find . -depth -print0 | cpio –null –sparse -pvd /mnt/newhome/

sudo umount /mnt/newhome
sudo mv /home /old_home

sudo mkdir /home
sudo mount /dev/hda5 /home

sudo rm -r /old_home
/dev/hda5 /home ext3 nodev,nosuid 0 2