Thread: dd-ing MBRs
View Single Post

   
  #3 (permalink)  
Old 02-19-2008, 08:01 AM
Eef Hartman
 
Posts: n/a
Default Re: dd-ing MBRs

Reed Loefgren <rloef@interfold.com> wrote:
> On a disk with partitions hda1 through hda4, will dd-ing 512 bytes of
> hda and 512 bytes of hda1 produce the same file?


No.
The 512 bytes of hda is the MBR (also called master partition table),
the one for hda1 will get the boot block (block 0) OF that partition.

On _most_ disks the MBR will be cylinder 0, track 0, sector 1 and the
boot block for hda1 0, 1, 1 (so one track further).
The rest of track 0 is unused, except for boot managers.
--
************************************************** ******************
** Eef Hartman, Delft University of Technology, dept. EWI/TW **
** e-mail: E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 **
** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands **
************************************************** ******************
Reply With Quote