From owner-freebsd-questions Sat Mar 31 21:13:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from gforce.johnson.home (24-216-61-170.hsacorp.net [24.216.61.170]) by hub.freebsd.org (Postfix) with ESMTP id 0751737B718 for ; Sat, 31 Mar 2001 21:13:21 -0800 (PST) (envelope-from glennpj@charter.net) Received: (from glenn@localhost) by gforce.johnson.home (8.11.3/8.11.3) id f315D7W02042; Sat, 31 Mar 2001 23:13:07 -0600 (CST) (envelope-from glenn) From: Glenn Johnson Date: Sat, 31 Mar 2001 23:13:05 -0600 To: "Michael O'Henly" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Using Linux GRUB boot loader with FreeBSD Message-ID: <20010331231305.A1972@gforce.johnson.home> Mail-Followup-To: glenn@FreeBSD.ORG, Michael O'Henly , freebsd-questions@FreeBSD.ORG References: <01033121003700.01882@pravda.tenzo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01033121003700.01882@pravda.tenzo.net>; from michael@tenzo.com on Sat, Mar 31, 2001 at 09:00:37PM -0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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