[syslinux] Dummy question on Syslinux and MBR
Patrick J. LoPresti
patl at users.sourceforge.net
Wed Dec 22 14:35:06 PST 2004
Marc Haisenko <haisenko at webport.de> writes:
> With Linux:
> dd if=/dev/hda of=mbr.backup bs=512 count=1
That is fine for backup...
> dd if=mbr.bin of=/dev/hda bs=512 count=1
...but that clobbers the partition table, which lives in the bytes
following the 446-byte MBR in the first sector. This may not matter
to you, but if it does, you can use my little Perl script (on Unix):
http://cvs.sourceforge.net/viewcvs.py/unattended/unattended/linuxboot/tools/install-mbr.pl?rev=HEAD&view=auto
Run it with no arguments for a usage summary.
- Pat
More information about the Syslinux
mailing list