-   Linux - Newbie (
-   -   dd command for remote disk copy (

tukidid 01-20-2010 08:04 PM

dd command for remote disk copy
Imaging-copying a working remote share on WindowsNT to a local Linux disk target is needed .
Is that possible with dd command(how if remote share is connected as smb://ipnumber/share) and do you need root privilleges on local and remote machine for that?
on source machine:

dd if=/dev/hda bs=16065b | netcat targethost-IP 1234

on target machine:

netcat -l -p 1234 | dd of=/dev/hdc bs=16065b


rsh 192.168.xx.yy "dd if=/dev/sda ibs=4096 conv=notrunc,noerror" | dd of=/dev/sda obs=4096
(any difference to dd/privilleges if you use it as windows dd version
since remote is running windowsNT)?

konsolebox 01-20-2010 08:39 PM

You can safely use netcat if you can but I suggest that you make a CRC/MD5sum comparison to the source disk and destination image.

All times are GMT -5. The time now is 08:38 PM.