Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1N4mpj-0004aE-Em for mharc-grub-devel@gnu.org; Sun, 01 Nov 2009 21:39:51 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4mpf-0004Xx-Q6 for grub-devel@gnu.org; Sun, 01 Nov 2009 21:39:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4mpc-0004XB-0D for grub-devel@gnu.org; Sun, 01 Nov 2009 21:39:47 -0500 Received: from [199.232.76.173] (port=51668 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4mpb-0004X7-NB for grub-devel@gnu.org; Sun, 01 Nov 2009 21:39:43 -0500 Received: from solo.fdn.fr ([80.67.169.19]:57898) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N4mpb-00088D-7z for grub-devel@gnu.org; Sun, 01 Nov 2009 21:39:43 -0500 Received: from const.ipv6 (youpi.is-a-geek.org [80.67.176.89]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by solo.fdn.fr (Postfix) with ESMTP id 17FC8441B5 for ; Mon, 2 Nov 2009 03:39:42 +0100 (CET) Received: from samy by const.ipv6 with local (Exim 4.69) (envelope-from ) id 1N4mpY-0002Ys-Lb for grub-devel@gnu.org; Mon, 02 Nov 2009 03:39:40 +0100 Date: Mon, 2 Nov 2009 03:39:40 +0100 From: Samuel Thibault To: grub-devel@gnu.org Message-ID: <20091102023940.GE4557@const.famille.thibault.fr> References: <20091102023334.GD4557@const.famille.thibault.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="xgyAXRrhYN0wYx8y" Content-Disposition: inline In-Reply-To: <20091102023334.GD4557@const.famille.thibault.fr> User-Agent: Mutt/1.5.12-2006-07-14 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: [PATCH,HURD] Fix 10_hurd for separate /boot case. 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: Mon, 02 Nov 2009 02:39:48 -0000 --xgyAXRrhYN0wYx8y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, This patch fixes the 10_hurd script in the case where /boot is in a separate partition. Samuel --xgyAXRrhYN0wYx8y Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename=patch Content-Transfer-Encoding: quoted-printable 2009-11-02 Samuel Thibault * util/grub.d/10_hurd.in: Call prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} before loading /boot kernel. Index: util/grub.d/10_hurd.in =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- util/grub.d/10_hurd.in (r=E9vision 2666) +++ util/grub.d/10_hurd.in (copie de travail) @@ -71,9 +71,12 @@ cat << EOF menuentry "${OS}" { EOF +prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/" +cat << EOF + multiboot ${kernel} root=3Ddevice:${GRUB_DEVICE} +EOF prepare_grub_to_access_device ${GRUB_DEVICE} | sed -e "s/^/\t/" cat << EOF - multiboot ${kernel} root=3Ddevice:${GRUB_DEVICE} module /hurd/${hurd_fs}.static ${hurd_fs} --readonly \\ --multiboot-command-line=3D'\${kernel-command-line}' \\ --host-priv-port=3D'\${host-port}' \\ --xgyAXRrhYN0wYx8y--