Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1ETnWz-00069U-6Q for mharc-grub-devel@gnu.org; Sun, 23 Oct 2005 17:37:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ETnWx-00068i-TF for grub-devel@gnu.org; Sun, 23 Oct 2005 17:37:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ETnWw-00067h-Ct for grub-devel@gnu.org; Sun, 23 Oct 2005 17:37:27 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ETnWw-00067Y-8x for grub-devel@gnu.org; Sun, 23 Oct 2005 17:37:26 -0400 Received: from [82.170.12.182] (helo=compaq.thuisdomein) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1ETnWw-0005T6-4J for grub-devel@gnu.org; Sun, 23 Oct 2005 17:37:26 -0400 Received: from compaq.thuisdomein (compaq.thuisdomein [127.0.0.1]) by compaq.thuisdomein (8.13.4/8.13.4) with ESMTP id j9NLcwuD002981 for ; Sun, 23 Oct 2005 23:38:58 +0200 Received: (from peb@localhost) by compaq.thuisdomein (8.13.4/8.13.4/Submit) id j9NLcw1r002980 for grub-devel@gnu.org; Sun, 23 Oct 2005 23:38:58 +0200 X-Authentication-Warning: compaq.thuisdomein: peb set sender to pebolle@tiscali.nl using -f From: Paul Bolle To: The development of GRUB 2 In-Reply-To: <200510220023.41732.okuji@enbug.org> References: <1129923494.2588.21.camel@compaq.thuisdomein> <200510212218.27037.okuji@enbug.org> <1129930584.2632.13.camel@compaq.thuisdomein> <200510220023.41732.okuji@enbug.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Sun, 23 Oct 2005 23:38:58 +0200 Message-Id: <1130103538.2713.10.camel@compaq.thuisdomein> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Subject: Re: grub-setup: --no-boot option? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2005 21:37:28 -0000 On Sat, 2005-10-22 at 00:23 +0200, Yoshinori K. Okuji wrote: > On Friday 21 October 2005 11:36 pm, Paul Bolle wrote: > > I already tried. But launching the GRUB image grub-mkimage generated > > (b.t.w. using the exact command grub-install uses) dropped me to rescue > > mode. [...]. > > Because you didn't set the variable root. You need to do this: > > root=(hd0,2) > kernel /boot/grub/core.img > boot No. The problem was that I had installed the GRUB files not in the default directory (but in /boot/grub2) while grub-mkimage will not change the grub_prefix variable found in the kernel.img. This might suggest to add an option to grub-mkimage (say: "--runtime-dir") to overrule the grub_prefix variable set in the image. (This option would then sort of correspond with the "--directory" option of grub-setup.) Not that important, though ... Regards, Paul