Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 08:29:44 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Eric Rivas <ericr@sourmilk.net>
Cc:        questions@freebsd.org
Subject:   Re: Remove Boot Manger
Message-ID:  <20040116082944.GB55150@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20040115212648.6075d019.ericr@sourmilk.net>
References:  <20040115212648.6075d019.ericr@sourmilk.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--qMm9M+Fa2AknHoGS
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jan 15, 2004 at 09:26:48PM -0500, Eric Rivas wrote:

> I previously dual-booted Windows and FreeBSD with two hard disks,
> Windows on the first, FreeBSD on the seconds. After realizing that I
> never booted into Windows anymore, I swaped master/slave setting on the
> disk and fdisk, bsdlabel, etc. the previously Windows disk and now
> happily have a new disk for FreeBSD.  The thing is now, I have the boot
> manager asking which OS to boot (F1 FreeBSD...).  Being that I only
> have one OS on the system, I don't need it anymore.  Anyone have any tip
> on how to get rid of the boot manager.

To get rid of the FreeBSD boot manager:

    # fdisk -B -b /boot/mbr ad0
    # fdisk -B -b /boot/mbr ad1

However, if you swap master and slave drives on your system, you need
to edit the /etc/fstab file first, or FreeBSD won't be able to find
it's filesystems and so won't boot.  It is possible to fix /etc/fstab
after swapping the drives by various means, but it's usually quite an
involved process.

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--qMm9M+Fa2AknHoGS
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAB6D4dtESqEQa7a0RArH6AJ9pI8Ds3WTpexrZ7eCY5KWz+om93wCeLkgc
GVTOLQ9Iz+oLTdW5N0PEsqI=
=sHwq
-----END PGP SIGNATURE-----

--qMm9M+Fa2AknHoGS--



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