How to Copy a Hard Drive DD

104 3
    • 1). Login to the Linux computer using the super user or root-account credentials.

    • 2). Type "fdisk -l | grep Disk" and press the "Enter" key. In the drive output note the hard-drive device with the larger space is the destination hard drive.

    • 3). Type "df--h" and press the "Enter" key. Note that hard drive partitions are listed in the "Filesystem" column in the form of "/dev/xxx1." The "/dev/xxx" portion represents the drive device, and the number at the end represents the partition. Confirm that the space available (in the "Avail" column) on one of the destination hard-drive partitions is greater than the total space used on the source hard drive (in the "Used" column) before proceeding.

    • 4). Type "dd if=/dev/sdc of=/dev/sdd1/hdimage.img." Substitute the "/dev/sdc" with the actual device name of the source hard-drive device. Substitute "/dev/sdd1" with the actual device name of the destination hard-drive device partition that has more space than the source drive.

    • 5). Press the "Enter" key and the "dd" utility will copy the source hard-drive contents to the designated destination hard-drive partition.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.