[TriLUG] DD question, not related

Jason Tower jtower at nc.rr.com
Mon May 13 11:08:53 EDT 2002


however, if you only want to copy a single partition from one disk to
another partion on a second disk, just add the partition number:

dd if=/dev/hda2 of=/dev/hdb6

this assumes that the partitions are the same size.  i've copied both fat32
and ext2/3 partitions using this method without incident.

jason

> On Mon, 2002-05-13 at 09:02, John F Davis wrote:
>> Hello Roy,
>>
>> dd if=/dev/hda of=/dev/hdb
>>
>>
> Note that this only works if the hard drives are exactly alike and are
> partitioned exactly alike.   Otherwise, you'll end up with
> garbage...
>
> Tanner
> --
> Tanner Lovelace | lovelace at wayfarer.org | http://wtl.wayfarer.org/
> --*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
> GPG Fingerprint = A66C 8660 924F 5F8C 71DA  BDD0 CE09 4F8E DE76 39D4
> GPG Key can be found at http://wtl.wayfarer.org/lovelace.gpg.asc
> --*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--*--
> This would be a very good time to hang out with the Open Source
> people, before they get formally reclassified as a national security
> threat. -- Bruce Sterling
>
> _______________________________________________
> TriLUG mailing list
>    http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ:
>    http://www.trilug.org/~lovelace/faq/TriLUG-faq.html






More information about the TriLUG mailing list