Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Feb 2002 23:25:26 -0500
From:      RoadRunner <scottro@nyc.rr.com>
To:        mace_nathan@ucwv.edu
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: GRUB: can't find kernel
Message-ID:  <20020224232526.21039aa4.scottro@nyc.rr.com>
In-Reply-To: <H00009e90089bb73@MHS>
References:  <H00009e90089bb73@MHS>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 24 Feb 2002 22:17:54 -0500
mace_nathan@ucwv.edu wrote:

> i just istalled grub, and after much hair pulling and yelling it now
> boots linux/windows/ and partly boots freebsd.  as it stands now,
> grub reads the menu.lst file from my linux partition.  that said,
> when it boots freebsd, loader runs and i get the thing that says
> "press enter in 5...4..3..2...1".  then after that it dumps me at a
> prompt saying that it can't boot kernel or kernel.old!
> 
> It's hard to tell without seeing your menu.lst---I'm assuming Grub
> is installed in your linux partion?  For what it's worth, here's a
> sample Grub file--note that FreeBSD is on the first partition of the
> second hard drive.  Usually, it can be referenced as (hdx,a) with
> kernel /boot/loader.

Otherwise, you can reference it as you would a Windows partition--for
example, in this case, where it's on the first partition of the second
hard drive rootnoverify (hd1,0)
chainloader +1

(Note the spacing there--it's chainloader, space plus sign, no space
one) 
The below is from Grub in a Linux partition, but aside from the splash
image (which I wasn't able to get to show in FreeBSD) it's pretty much
the same.

HTH

Scott Robbins

default=1
timeout=10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

title RedHat 7.2 Japanese
root (hd0,1)
kernel /boot/vmlinuz-2.4.18

title Windows XP Professional
rootnoverify (hd0,0)
chainloader +1

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

title RedHat test
root (hd0,1)
kernel /boot/vmlinuz-2.4.18n hdd=ide-scsi

title Gentoo
root (hd1,4)
kernel /boot/vmlinuz-2.4.17 ro root=/dev/hdb6

title Solaris
rootnoverify (hd1,2)
chainloader +1

title Linux From Scratch
root (hd1,5)
kernel /boot/vmlinuz-2.4.16 ro root=/dev/hdb6

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?20020224232526.21039aa4.scottro>