From f4a65387fa07ab87027a8b6e250a4f05481257f4 Mon Sep 17 00:00:00 2001 From: Robert Millan Date: Mon, 2 Nov 2009 13:55:25 +0000 Subject: [PATCH] 2009-11-02 Samuel Thibault * util/grub.d/10_hurd.in: Call prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} before loading /boot kernel. git-svn-id: svn://svn.savannah.gnu.org/grub/trunk/grub2@2677 d0de0278-0dc1-4c01-8a07-af38b3205e46 --- ChangeLog | 5 +++++ util/grub.d/10_hurd.in | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 5a3f80e0..24dbdbf3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-11-02 Samuel Thibault + + * util/grub.d/10_hurd.in: Call prepare_grub_to_access_device + ${GRUB_DEVICE_BOOT} before loading /boot kernel. + 2009-11-01 Robert Millan Based on patch from BVK Chaitanya diff --git a/util/grub.d/10_hurd.in b/util/grub.d/10_hurd.in index b52f3749..fdfb7acb 100644 --- a/util/grub.d/10_hurd.in +++ b/util/grub.d/10_hurd.in @@ -71,9 +71,12 @@ fi cat << EOF menuentry "${OS}" { EOF -prepare_grub_to_access_device ${GRUB_DEVICE} | sed -e "s/^/\t/" +prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/" cat << EOF multiboot ${kernel} root=device:${GRUB_DEVICE} +EOF +prepare_grub_to_access_device ${GRUB_DEVICE} | sed -e "s/^/\t/" +cat << EOF module /hurd/${hurd_fs}.static ${hurd_fs} --readonly \\ --multiboot-command-line='\${kernel-command-line}' \\ --host-priv-port='\${host-port}' \\ -- 2.11.4.GIT