How to remove bootloader from a slice
Gary W. Swearingen
garys at opusnet.com
Sun Jul 24 16:16:53 GMT 2005
Tobias Roth <randomiadgf at fsck.ch> writes:
> I am trying to remove a bootloader accidentally installed on ad0s3.
> I tried overwriting it with fdisk -B -b /boot/boot0 -3 but that didn't
> have any effect. And anyway, I'd rather see it gone than
> replaced with the FreeBSD bootloader.
> boot0cfg doesn't seem to be able to act on slices alone. That leaves
> dd, but as I am not sure how to do it correctly, I thought I'd rather
> ask first.
Check out the bsdlabel manpage (esp. -B and -B example).
BTW, your "fdisk" command only affected the MBR and the -3 was ignored
because you didn't tell it what to do with the partition table's third
entry.
More information about the freebsd-questions
mailing list