Saturday, November 1, 2014

Make home in a separate partition

1. from gparted make a new "ext4" partition
2. in bash
mkdir /mnt/tmp
sudo mount /dev/sda2 /mnt/tmp
    assuming that sda2 is the new partition
3. copy your old home to /mnt/tmp
Now, your home is copied to the new partition
4. Delete your old /home
5. in your fstub, make a new entry that mounts the new partition to /home
6. apply fstab by making a restart

nano /etc/fstab
you will find a line that describes the path of your root "/"
add a similar line for home

No comments:

Post a Comment