Cloning Win7 drive using Linux

wftomlin

Reputable
May 6, 2015
8
0
4,510
Okay...I've learned my lesson. I've replaced 3 Seagate 2TB drives in the last 6 months. ALL were less than 2 years old. They are JUNK!! I've never had problems with WD drives and that's what I'm going with. Here's what I need to know. Before the last one goes - the D: drive in my main WIn7 machine, I think I'm going to clone it onto a WD drive. Because the C: drive is small, I installed some programs onto the D: drive (the one I'm going to clone). They are in D:/Program Files and D:/Program Files (x86).

I have a Linux machine with a dual drive external docking station. What can I use to clone the drive and will it work in the Win7 machine and run the installed programs?

Thanks.
 

wftomlin

Reputable
May 6, 2015
8
0
4,510
After doing some more research, it seemed that dd was pretty straightforward. I put the two 3TB drives in the docking station and ran gparted to get the specifics. The damaged disk is about 60% full with some bad blocks. Then I started the process with:

sudo dd if=/dev/sdc of=/dev/sdd conv=noerror

So far, it's still running - at 87 hours.

Does that seem normal?

 

McHenryB

Admirable
The trouble with "dd" is that it copies every block, whether it's used by the file system or not, which is going to take a while (although 87 hours sounds excessive - are you using a USB2 docking station? That will be slow.)

Clonezilla would have been a wiser choice because it knows which bits of the file system need to be copied and which are unused.
 

wftomlin

Reputable
May 6, 2015
8
0
4,510
My bad...63 hours. I remember now that I started it at midnight Wednesday, not Tuesday. And yes, it's a USB2 connection. At this point, I'm not sure whether to let it go or stop it and use Clonezilla.

Thanks for replying. I appreciate your response.

 

wftomlin

Reputable
May 6, 2015
8
0
4,510
Well...that's not working :fou:

This is the last part of the output:

Searching for data partition(s) in target disk for post process: sdd...
Excluding busy partition or disk...
Unmounted partitions (including extended or swap): sdd1 sdd2 sdd3
Collecting info.... done!
*****************************************************.
Now tuning the file system size on partition /dev/sdd1 to fit the partition size...
"EFI" is an unknown or unsupported filesystem... Skip resizing that.
*****************************************************.
Now tuning the file system size on partition /dev/sdd2 to fit the partition size...
"Microsoft" is an unknown or unsupported filesystem... Skip resizing that.
*****************************************************.
Now tuning the file system size on partition /dev/sdd3 to fit the partition size...
"Basic" is an unknown or unsupported filesystem... Skip resizing that.
*****************************************************.
Creating the swap partition if exists...
*****************************************************.
Trying to remove udev hardware record in the restored OS...
The specified destination device: sdd1 sdd2 sdd3
Trying to remove udev persistent files. The devices to be searched: sdd1 sdd2 sdd3...
Now searching possible device /dev/sdd1...
Now searching possible device /dev/sdd2...
Now searching possible device /dev/sdd3...
done!
*****************************************************.
Device /dev/sdd1 is not a FAT partition.
Skip updating syslinux on that.
Device /dev/sdd2 is not a FAT partition.
Skip updating syslinux on that.
Device /dev/sdd3 is not a FAT partition.
Skip updating syslinux on that.
*****************************************************.
Run grub install on disk sdd...
The grub directory is NOT found. Maybe it does not exist (so other boot manager exists) or the file system is not supported in the kernel. Skip running grub-install.
*****************************************************.
Try to run partclone.ntfsfixboot for NTFS boot partition if it exists. Scanning partition(s): sdd1 sdd2 sdd3...
The NTFS boot partition was not found or not among the restored partition(s). Skip running partclone.ntfsfixboot.
*****************************************************.
Checking if udevd rules have to be restored...
Ending /usr/sbin/ocs-onthefly at 2015-07-17 21:13:38 EDT...
Press "Enter" to continue......
xxxxxxxx@UbuntuMate:~$

The 2nd to the last line says to press "Enter" and when I do it just kicks me out to the command prompt.

I've tried pretty much every option. Anybody see anything obvious?