Copy the entire hard disk in Linux

Source: Internet
Author: User
Copy the entire hard disk in Linux-general Linux technology-Linux technology and application information. The following is a detailed description. Connect to the new hard disk, boot, and enter the system (nonsense !)

Fdisk-l; because both of my hard disks are Sata, the result of fdisk-l is sda (old) sdb (new)

Dd if =/dev/sda of =/dev/sdb; note that the two hard disks are of the same capacity and model; otherwise, it is troublesome.

Wait, long wait

Shut down and replace the two hard drive interfaces.

Finish

The dd method is similar to the full copy of the ghost, and the speed is slow, but it cannot be started like the ghost method. You can also use this method to synchronize the production of linux's soft RAID 1.

PS: If the dd process is boring, you can type killall-s SIGUSR1 dd on another terminal to send the SIGUSR1 signal to get the current progress.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.