Hi Conor,
The MBR contains Boot Code + Partition Table
In my earlier (less educated) days I used the DOS Debug command to load
and
disassemble the bootup code. One sector long and the first sector on
the disk.
dd if=/dev/hda of=MBR.img bs=512 count=1
is the correct command ok,
but what exactly are you hoping to do?
If you re-partition the drive, restoring the MBR afterwards is a bad
idea.
Peter.
Conor Daly wrote:
>> Just about to embark on some repartitioning and I'm wondering, Where
> exactly is the partition table on an IDE disk anyhow. Is
>> dd if=/dev/hda of=MBR.img bs=512 count=1 enough?
>> TIA
> --
> Conor Daly <conor.daly at oceanfree.net>
>> Domestic Sysadmin :-)
> ---------------------
> faenor.cod.ie
> 8:27pm up 109 days, 2:56, 0 users, load average: 0.08, 0.02, 0.01
>> Hobbiton.cod.ie
> 8:28pm up 14 days, 10:17, 1 user, load average: 0.30, 0.09, 0.02
>> --
> Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription information.
> List maintainer: listmaster at linux.ie
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!