ExtLinux Bootloader Information
Bryan Kadzban
bryan at kadzban.is-a-geek.net
Tue Dec 23 08:40:10 MST 2008
Jim Gifford wrote:
>>> extlinux --install /boot dd if=/dev/zero of={/dev to root drive}
>>> bs=446 count=1
>
> This one removes the old mbr without affecting the partition table
Right, but I don't think it's needed, since:
>>> dd if=/usr/share/syslinux/mbr.bin of={/dev to root drive}
this will also overwrite the first 446 bytes, again. (There's no skip=
or seek= option, and if there was one, it would be wrong. You *need* to
re-overwrite these bytes if you're going to replace the code part of the
MBR.)
No point in zeroing out something that's about to be written to again
anyway, right? :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://linuxfromscratch.org/pipermail/lfs-dev/attachments/20081223/22e7e39d/attachment.bin
More information about the lfs-dev
mailing list