How to make duplicate of whole HDD?

There are many tools that can do this, each with its own advantages and disadvantages. Clonezilla is a utility that's often used for this task; however, I'm not sure how well it would cope with the fact that your target disk is smaller than the source disk.

Another option is to manually partition the target (using GParted, parted, fdisk, gdisk, or some other tool), create filesystems on the target, mount the target partitions, and copy everything over with cp or tar. This will require some additional changes on the target, such as (possibly) adjusting its /etc/fstab and installing a boot loader. Overall, this method requires more effort than many, but if you know what you're doing, it's quite flexible, and it can definitely copy from a larger disk to a smaller one, provided the files will actually fit into the target space.


  1. Backup your production-hdd.
  2. Use gparted to shrink your production-harddisk to a little less than the capacity of your target-disk, in your case smaller than 400GB.
  3. Copy whole hdd. To do so, boot from a live-cd and use dd if=/dev/sda of=/dev/sdc bs=1M where sda is your production-hdd and sdc your new hdd. Or something like clonezilla (copy whole disk).