removing freebsd bootloader

Giorgos Keramidas keramida at ceid.upatras.gr
Thu Jun 23 19:55:55 GMT 2005


On 2005-06-23 19:31, Emanuel Strobl <Emanuel.strobl at gmx.net> wrote:
> Am Donnerstag, 23. Juni 2005 19:25 schrieb Paulo Roberto:
> > Hello,
> > How do I remove the FreeBSD bootloader from the MBR without touching
> > the slices?
>
> Without warranty, but fdisk -B should do the trick. I think it keeps the
> partition table and replaces the boot code of the MBR. Make sure the XP
> slice is marked active, and copy the fdisk output so you can restore it if
> anything goes wrong.

Correct.  You might want to use:

	# fdisk -B -b /boot/mbr

to make sure BootEasy is not installed instead of a plain MBR.

Summing it all up in "steps", something like the following would be fine:

	1. Make sure the correct partition is 'active'.

		# fdisk -u /dev/ad0

	2. Install plain "MBR" boot code:

		# fdisk -B -b /boot/mbr

	3. Reboot



More information about the freebsd-questions mailing list