How to clone a hard drive with corrupted data in Linux, Windows and MAC

How to clone a hard drive with corrupted data in Linux, Windows and MAC

People often ask the same question in different ways: how to copy hard drive how to clone one hard drive to another how to clone hard drive to SSD how to clone disk in Windows, 7/10, etc. As You have noticed, copying the contents of the disk of the computer is called “cloning”. The way it is, and no need to dig into its semantics. Very often it happens that the main HDD has started to crumble. You have to migrate the data with it. So the fastest and safest way is to clone a hard drive.

In fact, cloning a hard drive is a sector-by-sector data transfer from one medium to another. The result is an exact copy of the original disk. To do this, there are dozens of paid and free programs, also called programs, disk cloning, software cloning hard drives software for disk imaging. They are treated as universal (any HDD, SSD), and special, for example, to disks of certain brands, e.g. Samsung or Western Digital. The latter can also be specific to OS, file systems, installed or portable. But if you have bad sectors on the source drive, any Windows program will stop. But the output certainly is.

How to do it in Linux?

To make a bootable USB with the Live distro Parted Magic 2016. Is a Linux distribution, with different utilities for system recovery. The authors of this distribution is of course the goons and asks you 9$ but you can feel free to go to Torrent Search to find your nearest torrent tracker which download.

Next you need to open a command prompt and run the command:

fdisk -l

Which will show you what drives are in your system. You need to pre-connect all peripherals.

In the future, all we need is an open console and the command ddrescue

A bit of theory — utility ddrscue has one very useful feature, it keeps a special log, which notes problemlerine place, and further launches are already using this file tries to read only what can be identified earlier failed. Therefore, the recovery process will go in stages, first trying to quickly recognize the most, and then going back to the problematic areas.

In this example, the disk /dev/sda — the original disk with beaten sectors

Disk /dev/sdb — a blank disc of the same or larger capacity.

The first pass run with the command

ddrescue --no-split --verbose /dev/sda /dev/sdb /root/rescue.log

If the system will tell you that on the drive where you are going to clone the source disk already contains data, you must use the —force parameter

ddrescue --no-split --verbose --force  /dev/sda /dev/sdb /root/rescue.log

Log restore — option is not obligatory, but if the multipass option is needed, and if in the first pass to create it forgot, you can use —generate-logfilereceived the log will be more optimal, but for further passages fully fit.

[ad name=»Responbl»]

In my case, the first pass took more than a day and reported the following

rescued: 22093 MB, errsize: 12264 MB, errors: 3876

the picture is not the most pleasant, but something, begin the second pass.

ddrescue --direct --max-retries=2 --verbose /dev/sda  /dev/sdb /root/rescue.log

now try to read the disc in direct access mode with 2 retries. This number can be increased, but in my case it only increased the time and the results did not bring. (But if you copy the CD it may give the result).

The second pass took about 15 hours, and significantly improved picture:

rescued: 34292 MB, errsize: 65220 kB, errors: 16659

but try to return the remains

ddrescue --retrim --max-retries=2 --verbose /dev/sda /dev/sdb /root/rescue.log

in this mode greatly decreases the speed, but restored that of the previous two passes are unable.

Two hours later, the recovery is interrupted, the result

rescued: 34293 MB, errsize: 64579 kB

it is clear that a sharp improvement can be expected. On the other hand, for small files (10-100MB) that’s the third pass were given a maximum of data, so depends on luck and the nature of the problem.

Time it took us just over two days, which is certainly a lot, but acceptable.

A good recovery, and don’t forget to make a backup, they are lost time, but in the extreme case, ddrescue help.

How to clone disk in Windows?

To clone a hard drive you will use a tool like Acronis True Image or similar. In our case, we will work with Acronis, in order to describe the process.

  • Step 1. Go to the tab “Tools” and select “Clone disk”. The second drive must be connected and then a window will appear Clone Disk Wizard. If it doesn’t, there will be an error message.§

  • Step 2. Select automatic or manual mode. In manual mode, the user configures the exception, the location of disks and other parameters.
  • Step 3. Select the disk to be copied (source disk) and a disk to copy (the destination disk).

  • Step 4. Select the file folders you want to exclude from copy, if necessary.
  • Step 5. Disk location, what is the definition of the target disk.
  • Step 6. Preview and completion. The program begins cloning and subsequently restarts the computer.

In automatic mode, there are no steps 4 and 5, that is, all files and partitions will be copied to the new drive as is.

In our case, we cloned a disk with a capacity of 256 GB (SATA) for the disk 120 GB (USB) in automatic mode. The total amount of data transferred was about 100 GB, which was accordingly divided into targeted sections: from the source disks C and D to the target disks G and H.

Remember that following the successful disk cloning your OS to be in conflict with two active boot drives, unless You delete one of them.

How to clone hard disk on Mac

Macs also have a similar built-in utility for backup — it’s called Disk utility (User> Applications -> Utilities -> Disk To clone a hard drive, follow these steps:

  1. Boot into recovery mode (hold Command key + R when rebooting).
  2. Select the language and click “Go” to continue.
  3. When the menu appears select Disk Utility from the Utilities menu.
  4. In Disk utility select the destination disk for backup. To restore a backup, hit “Restore” and select the source drive.

Will start the cloning process, at the end, confirm by pressing Finish. You can also use third-party software for cloning Mac disk, for example, Carbon Copy Cloner or SuperDuper.

Source: and

WARNING! All links in the articles may lead to malicious sites or contain viruses. Follow them at your own risk. Those who purposely visit the article know what they are doing. Do not click on everything thoughtlessly.


0 0 vote
Article Rating
Notify of
Inline Feedbacks
View all comments

Do NOT follow this link or you will be banned from the site!
Would love your thoughts, please comment.x

Spelling error report

The following text will be sent to our editors: