Restoring hard drive image

Associate
Joined
5 May 2011
Posts
133
I've had a few nightmare problems recenlty, with a hard drive with bad sectors. So, I used Parted Magic to help me out. I used ddrescue on there to create an image on my E: drive. Now I have bought a 1TB Samsung drive, which I want to put the image on and then try to run chkdsk /f.

Some questions:

1. Do I need to format my Samsung drive first or do they come preformated? My failing hard drive had a ntfs type structure.

2. How do I get my backup.img image from my E: drive onto the new Samsung drive, so that I can run chdsk on it? What I mean is that I want the backup.img file extracted so it is effectively a clone of my failing drive but now on my mechanically good Samsung drive.

Thanks,

Jon
 
I'm not familiar with Parted Magic, but there should be some sort of restore option that will write the img onto the new drive.
 
Depends, if you took an image of the hd then you can just restore, if you took one of the partition then you would need to format.
 
for dd it should be something like
dd if=/mount/backup/backup.img of=/dev/sda1

if = in file, of = out file
paths and devices need to be changed for your situation.
 
Back
Top Bottom