[opensuse] High-speed date transfer using a USB cable?
I want to copy the contents of a partition from a disk drive on one machine to a disk drive on another. Within a single computer I can do this using the dd command, but it isn't clear how to use that command for networked data transfers. I'm also wondering about doing the transfer using a USB cable, which probably has a far higher data rate and doesn't have problems with network traffic. Since both machines are laptops, the strategy of physically moving one of the drives to the other machine temporarily isn't feasible. The partition in question is a Windows NTFS partition, and I want the target partition to be bootable, as the source partition is. That probably precludes any strategy based on file-by-file transfers. However, the question is meaningful no matter what the partition type. Any advice on either the hardware or software issues involved? Paul -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Paul Abrahams wrote:
I want to copy the contents of a partition from a disk drive on one machine to a disk drive on another. Within a single computer I can do this using the dd command, but it isn't clear how to use that command for networked data transfers.
You pipe it through some kind of network data transfer program. ssh should work, if you use the "-e none" flag to make it 8-bit clean. Since "dd" defaults to stdin and stdout, something like this should work: dd if=/dev/hda1 | ssh -e none root@remotemachine 'dd of=/dev/hda1' This *should* copy hda1 on the current machine to hda1 on "remotemachine". I haven't tested it, but I do something very similar with 'dump' to back up one machine to a dump file on another, and it's always worked fine. If you don't want the overhead of ssh, you might want to investigate 'netcat'. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 3/16/07, Paul Abrahams
I want to copy the contents of a partition from a disk drive on one machine to a disk drive on another. Within a single computer I can do this using the dd command, but it isn't clear how to use that command for networked data transfers. I'm also wondering about doing the transfer using a USB cable, which probably has a far higher data rate and doesn't have problems with network traffic.
Since both machines are laptops, the strategy of physically moving one of the drives to the other machine temporarily isn't feasible.
The partition in question is a Windows NTFS partition, and I want the target partition to be bootable, as the source partition is. That probably precludes any strategy based on file-by-file transfers. However, the question is meaningful no matter what the partition type.
Any advice on either the hardware or software issues involved?
Paul
This is exactly what you need; http://digiassn.blogspot.com/2006/01/dd-over-netcat-for-cheap-ghost.html -- Svetoslav Milenov (Sunny) Even the most advanced equipment in the hands of the ignorant is just a pile of scrap. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 16 March 2007 6:59 pm, Sunny wrote:
On 3/16/07, Paul Abrahams
wrote: I want to copy the contents of a partition from a disk drive on one machine to a disk drive on another. Within a single computer I can do this using the dd command, but it isn't clear how to use that command for networked data transfers. I'm also wondering about doing the transfer using a USB cable, which probably has a far higher data rate and doesn't have problems with network traffic.
Since both machines are laptops, the strategy of physically moving one of the drives to the other machine temporarily isn't feasible.
The partition in question is a Windows NTFS partition, and I want the target partition to be bootable, as the source partition is. That probably precludes any strategy based on file-by-file transfers. However, the question is meaningful no matter what the partition type.
Any advice on either the hardware or software issues involved?
Paul
This is exactly what you need; http://digiassn.blogspot.com/2006/01/dd-over-netcat-for-cheap-ghost.html
That explains how to do it using the Ethernet, but how about using a USB cable? Is that (a) possible, and (b) faster? Paul -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 3/16/07, Paul Abrahams
On Friday 16 March 2007 6:59 pm, Sunny wrote:
On 3/16/07, Paul Abrahams
wrote: I want to copy the contents of a partition from a disk drive on one machine to a disk drive on another. Within a single computer I can do this using the dd command, but it isn't clear how to use that command for networked data transfers. I'm also wondering about doing the transfer using a USB cable, which probably has a far higher data rate and doesn't have problems with network traffic.
Since both machines are laptops, the strategy of physically moving one of the drives to the other machine temporarily isn't feasible.
The partition in question is a Windows NTFS partition, and I want the target partition to be bootable, as the source partition is. That probably precludes any strategy based on file-by-file transfers. However, the question is meaningful no matter what the partition type.
Any advice on either the hardware or software issues involved?
Paul
This is exactly what you need; http://digiassn.blogspot.com/2006/01/dd-over-netcat-for-cheap-ghost.html
That explains how to do it using the Ethernet, but how about using a USB cable? Is that (a) possible, and (b) faster?
Paul
It can be done: http://www.hardwaresecrets.com/article/248/1 I did not read the article, nor price the special USB network cables they show. I'm pretty sure I've read that Linux can do this but it may only be a Windows trick. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 16 March 2007 18:24, Greg Freemyer wrote:
I did not read the article, nor price the special USB network cables they show.
I was looking to USB solution for one old laptop, but it was cheaper to by PCMCIA adapter for wired Ethernet than said USB cable.
I'm pretty sure I've read that Linux can do this but it may only be a Windows trick.
I'm sure Linux can do that, but above reason eliminated need for. -- Regards, Rajko. http://en.opensuse.org/Portal -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
David Brodbeck
-
Greg Freemyer
-
Paul Abrahams
-
Rajko M.
-
Sunny