]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2010-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 20 Aug 2010 23:36:02 +0000 (01:36 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 20 Aug 2010 23:36:02 +0000 (01:36 +0200)
* docs/grub.texi (GNU/Hurd): Document booting GNU/Hurd.

ChangeLog
docs/grub.texi

index 71a62267ba6b0017d8059b2204f5873ea2f768ac..89ebcce1a72914e5a6892f215c9e4cfd36cc40b0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       * docs/grub.texi (GNU/Hurd): Document booting GNU/Hurd.
+
 2010-08-21  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * loader/multiboot.c (grub_cmd_module): Don't unzip module if
index 9845c7a6f85c818f69a68fabf8b262027bf7237b..f533a029c8f94c814ca7622c1c772afa5da99218 100644 (file)
@@ -828,11 +828,30 @@ Since GNU/Hurd is Multiboot-compliant, it is easy to boot it; there is
 nothing special about it. But do not forget that you have to specify a
 root partition to the kernel.
 
-FIXME: this section is incomplete.
-
 @enumerate
 @item
-Run the command @command{boot} (@pxref{boot}).
+Set GRUB's root device to the same drive as GNU/Hurd's.  The command
+@code{search --file --set /boot/gnumach.gz} or similar may help you
+(@pxref{search}).
+
+@item 
+Load the kernel and the modules, like this:
+
+@example
+@group
+grub> @kbd{multiboot /boot/gnumach.gz root=device:hd0s1}
+grub> @kbd{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)'}
+grub> @kbd{module /lib/ld.so.1 exec /hurd/exec '$(exec-task=task-create)'}
+@end group
+@end example
+
+@item
+Finally, run the command @command{boot} (@pxref{boot}).
 @end enumerate