> Guys, thanks a lot for the explanations!
>
> Actually, it seems like one can backup information on ALL partitions
>by using the command "sfdisk -dx /dev/hdX". Supposedly, it reads not
>only primary but also extended partitions. "sfdisk -x /dev/hdX" should
>be then able to write whatever is known back to the disk.

MBR size is 448 bytes, the rest is "the partition table", with space for four 
entries. If one wants more, then s/he creates a [primary] partition, tagging 
it "extended", and the "extended partiton table" is within that primary 
partition. So yes, by dd'ing /dev/hdX, you get everything. Including "lost 
sectors" if you dd it back to a bigger HD.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to