[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Booting FreeBSD directly
From: |
Jeff Sheinberg |
Subject: |
Re: Booting FreeBSD directly |
Date: |
Fri, 12 Oct 2001 15:17:52 -0400 |
Luca Abeni writes:
> Hi all,
>
> I have problems booting a 4.3 FreeBSD kernel directly with
> grub 0.9 (basiccally, the kernel mounts the wrong device as root: wd0s2a
> instead of ad0s2a).
> Looking at the BUGS file in the grub 0.9 distribution, I see that this is
> probably due to a command-line options problem.
>
> I know that I can solve this problem using chain-load, but I'd like to fix
> it by passing the command-line options in the correct way. Can anyone give
> me a pointer to some documentation explaining how FreeBSD expects to find
> those options, and how to properly build them?
>
> If I will find the correct documentation, I'll be very happy to submit
> some patches to grub to fix the problem.
>
> Thanks in advance,
> Luca
First of all, please be more specific, show exactly your menu.lst
commands that failed, also show your hardware config, eg, output
of grub "geometry (hdX)" command, X = 0, N etc.
We may be sub-genius, but we are not mind readers on this list!
Here is a stanza from my "menu.lst" that boots FreeBSD,
# Entry 3: FreeBSD 4.2 production [sd1s2]
title FreeBSD 4.2 production [da1s2a]
root (hd2,1,a)
kernel /boot/loader
#root (hd2,1)
#chainloader +1
where I have the BIOS drives setup as follows: hd0 == IDE, hd1 ==
SCSI target 1, hd2 == SCSI target 2.
Older versions of FreeBSD "/boot/loader" had problems with this
grub stanza, but they have been mostly fixed (in FreeBSD).
--
Jeff Sheinberg <address@hidden>