Stop and let me know if you have any questions, get any errors or things don't look like how I describe them.
You will need a USB flash drive With at least a 100MB of free space on it to maintain a log of the cloning so we can resume it if your power goes out or you need to shutdown the computer before it is finished for some reason.
If the old drive has significant problems , this could take 15+ hours to run. If it is in relatively good shape this will probably take about 8-10 hours to run. Be aware of this and try not to use the computer for other stuff while it does this.
Plug in the USB flash drive.
Make sure that the new drive and old drive are connected.
Boot from the PartedMagic CD again.
Now we need to determine the names of the drives.
Run fdisk like you did before...
Check partitions with fdisk
At the bottom of the screen near the START button you will see a picture of a computer monitor. Click it to open a terminal window. In the terminal window type
(that is fdisk SPACE DASH l as in Linux) and press ENTER
I expect you to see...
STOP if what you see is different, let me know and I will modify the ddrescue command for your setup.
- Your old 500GB drive as /dev/sda with the partition /dev/sda1 on it
- Your new drive as /dev/sdb maybe with the partition /dev/sdb1 on it depending on whether it has been formatted before.
- Your USB flash drive as /dev/sdc with the partition /dev/sdc1 on it
Mount the USB Flash drive partition (called /media/sdc1) by clicking the 'mount devices' button which is next to the START button (see picture)
Click the button that says Mount
next the USB Flash drive partition (called /media/sdc1). We only want to mount that one and not any of the others.
Now for the command that takes a long time to run.
Open Terminal again if it is not still open from running fdisk.
Typeddrescue -r 3 /dev/sda /dev/sdb /media/sdc1/rescuelog.log
and press enter.That is ddrescueSPACE-rSPACE3SPACE/dev/sdaSPACE/dev/sdbSPACE/media/sdc1/rescuelog.log
If it gives an error that...Output file exists and is not a regular file
then run fdisk again and double check and make sure that...
- /dev/sda is the old drive
- /dev/sdb is the new drive
- /dev/sdc is the USB flash drive with a partition /dev/sdc1 on it
If that is all correct then add the --force switch to the command
Typeddrescue -r 3 /dev/sda /dev/sdb /media/sdc1/rescuelog.log --force
and press enter.That is ddrescueSPACE-rSPACE3SPACE/dev/sdaSPACE/dev/sdbSPACE/media/sdc1/rescuelog.logSPACE--force If this gives you any other errors, STOP and let me know.
ddrescue tries to make an exact copy of the disk. That way, you can recover deleted files and partitions from the copy just like you can recover them from the original disk.
The ddrescue command looks at each piece of data on the bad drive and copies it to the good drive. If it comes across a bad piece of data it skips it and continues getting all of the good data. After getting all the good data it goes back to the bad pieces and tries to recover them 3 times before giving up and leaving a blank space on the good disk. The log file rescuelog.log keeps track of the process and allows us to start where it has left off if it is interrupted by a crash or power outage. This all allows us to attempt to recover as much as possible from the drive in the most gentle way.
When it is done, write down the values it has for Errsize
so you can post them in your reply to me.
Remove the CD and shutdown the computer START>SHUTDOWN
and unplug the bad drive from it. Try booting with just the new drive in it.
So, what I need from you if all goes well is...
1. The values you got from ddrescue for Errsize
2. Does the computer boot from the new drive?