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?  :-)

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to