Using 'dd' to clone a USB drive
-cfdisk:
resized the destination partition to be of same size
made the partition bootable
same 'type' ext3
ran 'mkfs.ext3' after exit cfdisk
then
dd if=dev/sda1 of=/dev/sdb1
result booting: Missing operating system.
The source USB device boots on multiple laptops
USB destination filesystem looks the same….
Any idears?
Best Answer
I recently had to clone a 32gb trancend thumbdrive onto another. My drive is a multiboot with additional software so I didn't want to just copy all files on the FS. DD was a clear choice, but I was on windows.
I had cygwin installed and did the following.
first I had to figure out what /dev/sdX device my f: volume was. To do so run this command in cygwin. (TIP: Make sure you start cygwin with admin privs.. *Right click on cygwin and "Run as Administrator")
which should output:
etc... Here you can clearly see for me to clone my F: drive to my E: drive I'd issue the following command.
My image was 32gb.. and I didn't want to just sit and wait with a blinking cursor.. I wanted to see progress so I installed "pv" in cygwin.
Hope this helps