Change /home to new drive

the partition 3 in your image looks like is /dev/sda2, if not, just change the last number.

  1. format your partition
    sudo mkfs.ext4 /dev/sda2
  2. mount it in a temporary directory
    sudo mount /dev/sda2 /mnt
  3. copy your home directory to it
    sudo cp -a $HOME /mnt
  4. create the file /etc/fstab if it does not exist and add a new entry as:
#[Device]      [Mount Point] [File System Type] [Options] [Dump] [Pass]
/dev/sda2      /home         ext4              defaults   0       2
  1. `reboot

You new home will be at /dev/sda2

You old /home files still in your SSD, you can delete it by

  1. do not login in the graphical session
  2. switch to a linux terminal by hit Ctrl+Alt+F2 keys (at same time)
  3. log in as root
  4. unmount your current home
    umount /home
  5. remove your old directory from /home/, just be sure you are removing your home from the ssd and not from hda
  6. mount again your home
    mount /home

This is not the unique solution, there are others.

1 Like