Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Mar 2001 23:13:05 -0600
From:      Glenn Johnson <glennpj@charter.net>
To:        "Michael O'Henly" <michael@tenzo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Using Linux GRUB boot loader with FreeBSD
Message-ID:  <20010331231305.A1972@gforce.johnson.home>
In-Reply-To: <01033121003700.01882@pravda.tenzo.net>; from michael@tenzo.com on Sat, Mar 31, 2001 at 09:00:37PM -0800
References:  <01033121003700.01882@pravda.tenzo.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 31, 2001 at 09:00:37PM -0800, Michael O'Henly wrote:

> Hello...
>
> I'm setting up a dual-boot system (Linux and FreeBSD) on a machine
> that has two hard drives. Apart from a small boot partition, the first
> drive will be used entirely for FreeBSD. The Linux kernel resides in
> that boot partition and GRUB is the boot loader I'm using.
>
> I've installed FreeBSD without a boot loader with the intention of
> creating a GRUB entry that points to FreeBSD...but I'm not clear on
> how to do this.  The GRUB entry for Linux looks like this:
> 
> title linux
> kernel (hd0,4)/vmlinuz-2.2.17-21mdk root=/dev/hdb6  hdd=ide-scsi vga=791
> 
> As you can see, it names the kernel and points to the root partition
> on the second drive (hdb6). I believe I either need to do something
> similar for FreeBSD, or I need to use GRUB to call /boot/loader in
> FreeBSD.
>
> If you have any experience with this, could you kindly steer me in the
> right direction?

The info page on grub will tell you how to do this.  I have the
following in my menu.lst file:

title FreeBSD
root (hd0,a)
kernel /boot/loader

You will have to set the root entry as appropriate for your setup.

-- 
Glenn Johnson
glennpj@charter.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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