On Thu, 8 Jul 1999, Jochen Scharrlach wrote:

>  - duplicating a partition layout is much easier :)

If the drives are the same size, the following command works very well to
copy a partition table from one to the other:

dd if=/dev/sda of=/dev/sdb bs=1024 count=5

I'm not even sure the count needs to be 5 (I think count=1 will work), but
after you do that, run fdisk /dev/sdb and write the partition table to
disk so it'll force the kernel to re-read the partition table for that
drive.

Brian

Reply via email to