2010-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
* docs/grub.texi (GNU/Hurd): Document booting GNU/Hurd.
This commit is contained in:
parent
dee5057594
commit
b40ea81bc7
2 changed files with 26 additions and 3 deletions
|
@ -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>
|
2010-08-21 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* loader/multiboot.c (grub_cmd_module): Don't unzip module if
|
* loader/multiboot.c (grub_cmd_module): Don't unzip module if
|
||||||
|
|
|
@ -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
|
nothing special about it. But do not forget that you have to specify a
|
||||||
root partition to the kernel.
|
root partition to the kernel.
|
||||||
|
|
||||||
FIXME: this section is incomplete.
|
|
||||||
|
|
||||||
@enumerate
|
@enumerate
|
||||||
@item
|
@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
|
@end enumerate
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue