Bug#552409: grub-installer: Fix grub2 boot of gnumach
Package: grub-installer
Version: 1.47
Severity: normal
Tags: patch
Hello,
The attached patch fixes the grub2 menuentry generated for GNU/Hurd:
since 1.97 grub2 does not pass the module path to multiboot kernels, and
has thus to be repeated in the module command.
Samuel
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--
Samuel Thibault <samuel.thibault@fnac.net>
Progress (n.): The process through which the Internet has evolved from
smart people in front of dumb terminals to dumb people in front of smart
terminals.
diff -ur grub-installer-1.47/otheros.sh grub-installer-1.47-mine/otheros.sh
--- grub-installer-1.47/otheros.sh 2009-09-14 13:52:41.000000000 +0200
+++ grub-installer-1.47-mine/otheros.sh 2009-10-26 02:44:16.000000000 +0100
@@ -173,13 +173,13 @@
fi
cat >> $tmpfile <<EOF
multiboot /boot/gnumach.gz root=device:$hurddrive
- 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)
}
EOF
Reply to: