I would like to mirror one drive's partition table, that is, have exactly the same partition on both sda and sdb. I have heard that one of the fdisk utilities can export a partition table into a file, and that file can be read back into another drive, but I can't seem to find this in the manuals.

Can someone help?

To summarize:
I want to have the exact same partitions on both drives, same labels, same filesystem types, and same sizes. The data on the drive does not matter, I just want the partition table.

hmm. I think it's less dangerous dd'ing the MBR. :) I've used this method lots of times, just made one partition table, copied it and put everything into separate raid1's. :)
–
blauwblaatjeAug 17 '09 at 14:44

Thank you, that is what I was looking for!
–
K. NorbertAug 17 '09 at 18:49