On 2012-11-26 21:28, Andrew Greig wrote:
> Hi all,
> 
> I have 2 x identical Lenovo IdeaPads each 160Gb storage.  I have
> downloaded  and burned the CD iso of Clonezilla.  I set up the source
> with a fixed IP of 192.168.0.44 and the target with 192.168.0.55 have
> CloneZilla running on each machine and ran the command line as root
> ocs-onthefly -s 192.168.0.44 -t sda from the receiving machine.
> 
> The clone failed with the line "Failed to create the partition table on
> the target device: /dev/sda ! Program terminated !!"  I have Googled for
> help and tried blitzing the MBR.  
> 
> I could try blitzing the whole target drive, ie delete the partions
> already present.  Would that be helpful?

I've not used CloneZilla before, but if you've only got to do this once,
I'd probably just do it with dd and netcat:

  srcHost$ dd if=/dev/sda | nc -l -p 1234

  dstHost$ nc srcHost 1234 | dd of=/dev/sda

And optionally write a while loop on each host to send a USR1 to dd to
get transfer statistics (data rate and quantity) at regular intervals:

  srcHost$ while pkill -USR1 ^dd; do sleep 10; done

  dstHost$ while pkill -USR1 ^dd; do sleep 10; done

You could also put a 'pv' command in the mix to get an ETA and such.

When I tried this (not using block devices; just regular files) it
didn't stop when it hit the end of the file; it just sat there. This
shouldn't be a problem though; just confirm that both dds have
read/written the same number of bytes, and you should be fine to kill
it.

-- 
Regards,
Matthew Cengia

Attachment: signature.asc
Description: Digital signature

_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to