grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH,HURD] Fix GNU/Hurd boot


From: Samuel Thibault
Subject: [PATCH,HURD] Fix GNU/Hurd boot
Date: Wed, 21 Oct 2009 20:13:02 +0200
User-agent: Mutt/1.5.12-2006-07-14

Hello,

The patch compensates the behavior change in the module command: it
repeats the module name since GNU Mach expects it in the command line.

Samuel

Index: docs/grub.cfg
===================================================================
--- docs/grub.cfg       (révision 2643)
+++ docs/grub.cfg       (copie de travail)
@@ -15,13 +15,13 @@
 menuentry "GNU (aka GNU/Hurd)" {
        set root=(hd0,1)
        multiboot /boot/gnumach.gz root=device:hd0s1
-       module /hurd/ext2fs.static --readonly \
+       module /hurd/ext2fs.static ext2fs --readonly \
                        --multiboot-command-line='${kernel-command-line}' \
                        --host-priv-port='${host-port}' \
                        --device-master-port='${device-port}' \
                        --exec-server-task='${exec-task}' -T typed '${root}' \
                        '$(task-create)' '$(task-resume)'
-       module /lib/ld.so.1 /hurd/exec '$(exec-task=task-create)'
+       module /lib/ld.so.1 exec /hurd/exec '$(exec-task=task-create)'
 }
 
 # For booting GNU/Linux
Index: util/grub.d/10_hurd.in
===================================================================
--- util/grub.d/10_hurd.in      (révision 2643)
+++ util/grub.d/10_hurd.in      (copie de travail)
@@ -74,12 +74,12 @@
 prepare_grub_to_access_device ${GRUB_DEVICE} | sed -e "s/^/\t/"
 cat << EOF
        multiboot ${kernel} root=device:${GRUB_DEVICE}
-       module /hurd/${hurd_fs}.static --readonly \\
+       module /hurd/${hurd_fs}.static ${hurd_fs} --readonly \\
                        --multiboot-command-line='\${kernel-command-line}' \\
                        --host-priv-port='\${host-port}' \\
                        --device-master-port='\${device-port}' \\
                        --exec-server-task='\${exec-task}' -T typed '\${root}' 
\\
                        '\$(task-create)' '\$(task-resume)'
-       module /lib/ld.so.1 /hurd/exec '\$(exec-task=task-create)'
+       module /lib/ld.so.1 exec /hurd/exec '\$(exec-task=task-create)'
 }
 EOF




reply via email to

[Prev in Thread] Current Thread [Next in Thread]