Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Aug 2005 13:58:42 -0400
From:      Bob Johnson <fbsdlists@gmail.com>
To:        Petre Bandac <petre@kgb.ro>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: dual boot with freebsd boot loader
Message-ID:  <54db439905080210581ac5c8dc@mail.gmail.com>
In-Reply-To: <20050802132819.50dee3cf@xxl.rdsbv.ro>
References:  <20050802132819.50dee3cf@xxl.rdsbv.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/2/05, Petre Bandac <petre@kgb.ro> wrote:
> hello
>=20
> I have the following configuration
>=20
> ad0s1 - win xp with ntfs=20
> ad0s2 - freebsd
>=20
> they were installed in the above order, so now I can use only freebsd
>=20
> is there a way to configure freebsd's boot loader to be able to boot
> from the win partition (I googled around and found boot0cfg (8), but
> didn't have the time to play with it)
>=20

Yes.

> what I want to know is if (making a similarity with linux's lilo) I can
> make the boot loader to  have the options 1) boot win, 2) boot freebsd
>=20
> I do not want to install grub or other boot loader unless the default
> freebsd boot manager cannot be used in the configuration described above
>=20

If you install the FreeBSD bootmanager, it will do that by default,
but I usually
use the Windows boot manager.  There is a FAQ entry for it, see=20
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NT-BOOTLOAD=
ER

It talks about Windows NT, but it works the same.

The FreeBSD boot manager will automatically boot you to the O/S that you=20
last selected manually.  I believe the NT boot manager will always boot to=
=20
the same default unless you manually intervene, but I may be remembering=20
that wrong.

The NT boot loader is much prettier.

To get your system to boot to FreeBSD so you can make a copy of boot1,=20
you may need to run Windows fdisk to set the FreeBSD partition to be the=20
active partition.  Then use FreeBSD fdisk to change back to Windows so=20
you can set it up.

- Bob

> thanks,
>=20
> petre



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