On Sun, 2 Feb 2003 14:02:17 +0000 (GMT), William Palfreman <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to