Using “dd” to clone an HDD

The following command (using dd) will clone one hard disk (HDD or SSD) to another hard disk:

  • dd if=/dev/sda of=/dev/sdb bs=1M conv=noerror