From owner-freebsd-hackers@FreeBSD.ORG Fri Aug 27 11:38:07 2010 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A02051065675 for ; Fri, 27 Aug 2010 11:38:07 +0000 (UTC) (envelope-from scdbackup@gmx.net) Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id F12A18FC24 for ; Fri, 27 Aug 2010 11:38:06 +0000 (UTC) Received: (qmail invoked by alias); 27 Aug 2010 11:38:05 -0000 Received: from 165.126.46.212.adsl.ncore.de (HELO 192.168.2.69) [212.46.126.165] by mail.gmx.net (mp048) with SMTP; 27 Aug 2010 13:38:05 +0200 X-Authenticated: #2145628 X-Provags-ID: V01U2FsdGVkX19r04Iz4CFr920z2n74hBvYPbQCytwYV0d5+iuz4b LCdeJgLF1OnroJ Date: Fri, 27 Aug 2010 13:37:49 +0200 From: "Thomas Schmitt" To: freebsd-hackers@FreeBSD.org References: <20100827085800.GA4411@lpthe.jussieu.fr> In-Reply-To: <20100827085800.GA4411@lpthe.jussieu.fr> Message-Id: <9533216496289@192.168.2.69> X-Y-GMX-Trusted: 0 Cc: Subject: Re: Is there a boot manager that can handle this? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Aug 2010 11:38:07 -0000 Hi, Michel Talon 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