Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2010 13:37:49 +0200
From:      "Thomas Schmitt" <scdbackup@gmx.net>
To:        freebsd-hackers@FreeBSD.org
Subject:   Re: Is there a boot manager that can handle this?
Message-ID:  <9533216496289@192.168.2.69>
In-Reply-To: <20100827085800.GA4411@lpthe.jussieu.fr>
References:  <20100827085800.GA4411@lpthe.jussieu.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Michel Talon <talon@lpthe.jussieu.fr> wrote:
> menuentry "FreeBSD (on /dev/sda4)" {
>        insmod ufs2
>        set root='(hd0,4,a)'
>        kfreebsd /boot/loader
> }

wheras i wrote:
> Booting is done by the GRUB2 1.98
> menuentry "FreeBSD-8.0 STABLE on Partition 1" {
>        set root=(hd0,1,a)
>        freebsd /boot/loader
> }

Michel seems to be more right than me.

My GRUB2 is actually 1.96, not 1.98. I find traces
of documentation for "freebsd".

In GRUB2 1.98 is see in docs/grub.cfg these
examples:
------------------------------------------------
# For booting FreeBSD
menuentry "FreeBSD (or GNU/kFreeBSD), direct boot" {
        set root=(hd0,1,a)
        kfreebsd /boot/kernel/kernel
        kfreebsd_loadenv /boot/device.hints
        kfreebsd_module /boot/splash.bmp type=splash_image_data
        set kFreeBSD.vfs.root.mountfrom=ufs:ad0s1a
}
menuentry "FreeBSD (or GNU/kFreeBSD), via /boot/loader" {
        set root=(hd0,1,a)
        kfreebsd /boot/loader
}
------------------------------------------------

So the command obviously has changed from
"freebsd"  to  "kfreebsd".


Have a nice day :)

Thomas




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9533216496289>