View Single Post
Old 14th July 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

The partition table is within the MBR, the MBR is the first sector on the disk... a sector is 512 bytes.

You do have a copy of the partiton table if you used rsd0c, but you can always make another that's separate from the compressed image.
$ sudo dd if=/dev/rsd0c of=mbr.bin bs=512 count=1

You can also just save the output from fdisk if you ONLY want the partition table.
# fdisk sd0 > pt.txt

Glad it worked out for you.
Reply With Quote