summaryrefslogtreecommitdiff
path: root/Hurd/GrubNotes.mdwn
blob: 4b991d885be6d3cb85ce9a0dbb678f8b251ff50a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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-floppy is a **Debian specific** boot floppy creation script.
* mkbimage is a **Debian specific** boot disk image creation script.
* <http://khazad.dyndns.org/packages/grub-disk/> contains a Debian packaged makefile for creating CD &amp; floppy images.
* essential Grub commands &amp; 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