From 1d7a1483a8fa713b809a87473af0a3fceb219146 Mon Sep 17 00:00:00 2001 From: Grant Bowman Date: Tue, 1 Oct 2002 15:29:32 +0000 Subject: none --- Hurd/GrubNotes.mdwn | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'Hurd') diff --git a/Hurd/GrubNotes.mdwn b/Hurd/GrubNotes.mdwn index ca90d7f4..62a0904a 100644 --- a/Hurd/GrubNotes.mdwn +++ b/Hurd/GrubNotes.mdwn @@ -1,12 +1,28 @@ While [Neal's install guide](http://web.walfield.org/papers/hurd-installation-guide/english/hurd-install-guide.html) is very good it does not have complete information regarding the GRUB boot loader. The syntax is also different from Lilo's and so to scratch my own itch I'm creating this quick reference. The [Grub manual](http://www.gnu.org/manual/grub/html_mono/grub.html) is another good reference. * update-grub is **Debian specific** and very nice. It will automatically create a /boot/grub/menu.lst file for the kernels in /boot/. It will also append a manually configured set for other partitions like the GNU/Hurd. -* grub disk syntax - * -* essential Grub commands +* essential Grub commands & disk syntax * root * kernel * module * boot +* sample file + + title GNU/Linux + root (hd0,11) + kernel /boot/vmlinuz-2.4.18 root=/dev/hda12 ro + initrd /boot/initrd.img-2.4.18 + savedefault + + title GNU/Hurd + root (hd0,15) + kernel /boot/oskit-mach root=device:hd0s16 -- + module /hurd/ext2fs.static --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) + savedefault + + title DOS + rootnoverify (hd0,0) + chainloader +1 -- [[Main/GrantBow]] - 01 Oct 2002 -- cgit v1.2.3