Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Feb 2003 23:33:40 -0500
From:      Jud <judmarc@fastmail.fm>
To:        William Palfreman <william@palfreman.com>, Chris Delnooz <c.delnooz@home.nl>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Grub 0.92 fails to recognise disks on FBSD5
Message-ID:  <oprjz4aeqr0cf2rk@fastmail.fm>
In-Reply-To: <20030202130632.Q31399@aqua.lan.palfreman.com>
References:  <200302012119.02359.c.delnooz@home.nl> <20030202130632.Q31399@aqua.lan.palfreman.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 2 Feb 2003 14:02:17 +0000 (GMT), William Palfreman 
<william@palfreman.com> wrote:

> On Sat, 1 Feb 2003, Chris Delnooz wrote:
>
>> Hi all,
>>
>> i'm experiencing problems with the installation of the GRUB
>> bootloader. I have installed the port (grub version 0.92) and created
>> the /boot/grub directory with the files from
>> /usr/local/share/grub/i381-freebsd. Next I created a menu.lst file in
>> /boot/grub and thought to install GRUB in the mbr, so I launch the
>> grub shell. My fbsd install is on ad0s2 with / on partition a. If i am
>> correct that should be (hd0,1,a) for grub, right? well this is what i
>> get:
>>
>> grub> root (hd0,1,a)
>>
>> Error 21: Selected disk does not exist
>
> Probably because you've got an extra 1.  This is what the grub
> info file says:
>
> --------------
> GRUB can load the kernel directly, either in ELF or a.out format.
> But this is not recommended, since FreeBSD's bootstrap interface
> sometimes changes heavily, so GRUB can't guarantee to pass kernel
> parameters correctly.
> Thus, we'd recommend loading the very flexible loader `/boot/loader'
> instead. See this example:
> grub> root (hd0,a)
> grub> kernel /boot/loader
> grub> boot
> -------------

That's what it says at one point in the docs.  At another point it explains 
that no, the "1" isn't extra, and it uses what Chris has in its example 
FreeBSD section for the menu.lst file.  (I used a similar config with GRUB, 
no problems.)

> Also, how new are you to FreeBSD?  You sound quite new.  If I were you I
> would use FreeBSD 4.7 instead of 5.0 - I'd only use 5.0 if I were an OS
> developer or there was some feature on 5.0 that I desperately needed -
> like maybe I had a machine with more than 2 CPUs.  I personally have no
> intention of going near 5.x until it is the -stable branch *and*
> everyone else has used it long enough to get the problems out.

Dang!  I missed that.  GRUB may not recognize FreeBSD 5.0 disks - does 
anyone know for sure one way or the other?

Jud


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?oprjz4aeqr0cf2rk>