Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jul 2005 09:17:10 -0700
From:      garys@opusnet.com (Gary W. Swearingen)
To:        Tobias Roth <randomiadgf@fsck.ch>
Cc:        questions@freebsd.org
Subject:   Re: How to remove bootloader from a slice
Message-ID:  <ngwtng2n7d.tng@mail.opusnet.com>
In-Reply-To: <20050724174833.6777bfe2.randomiadgf@fsck.ch> (Tobias Roth's message of "Sun, 24 Jul 2005 17:48:33 %2B0200")
References:  <20050724174833.6777bfe2.randomiadgf@fsck.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
Tobias Roth <randomiadgf@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ngwtng2n7d.tng>