Friday, June 6, 2008

Hard Disk Cloning in Linux

dd command does not copy files only it copies blocks also.

To make a clone of a hard disk /dev/sda on an empty hard disk /dev/sdb type the following command

dd if=/dev/sda of=/dev/sdb

Note:-

  • here if specifies input file and of specifies output file.
  • Wait untill the command is finished.
  • Finally you will have an exact copy of the hard disk.


No comments: