Cloning to a new larger drive

Tech Notes
  1. Install the new drive and format $
  2. Unmount the source and the target $
  3. Copy the source to the target $ sudo dd if=/dev/sdc1 of=/dev/sdb1 bs=16M
  4. Remove the journalling from the target $ tune2fs -O^has_journal /dev/sdb1
  5. Check the filesystem of the target $ e2fsck -f /dev/sdb1
  6. Resize the target $ sudo resize2fs -p /dev/sdb1
  7. Apply journalling to the target $ sudo tune2fs -j /dev/sdb1
  8. Mount the target $