xref: /illumos-gate/usr/src/grub/grub-0.97/docs/menu.lst (revision edb348833aaacfa1176e502ad38875fd0b2717ab)
1#
2# Sample boot menu configuration file
3#
4
5# Boot automatically after 30 secs.
6timeout 30
7
8# By default, boot the first entry.
9default 0
10
11# Fallback to the second entry.
12fallback 1
13
14# For booting GNU/Hurd
15title  GNU/Hurd
16root   (hd0,0)
17kernel /boot/gnumach.gz root=hd0s1
18module /boot/serverboot.gz
19
20# For booting GNU/Linux
21title  GNU/Linux
22root (hd1,0)
23kernel /vmlinuz root=/dev/hdb1
24#initrd /initrd.img
25
26# For booting GNU/kFreeBSD
27title  GNU/kFreeBSD
28root   (hd0,2,a)
29kernel /boot/loader.gz
30
31# For booting GNU/kNetBSD
32title  GNU/kNetBSD
33root   (hd0,2,a)
34kernel --type=netbsd /boot/knetbsd.gz
35
36# For booting Mach (getting kernel from floppy)
37title  Utah Mach4 multiboot
38root   (hd0,2)
39pause  Insert the diskette now!!
40kernel (fd0)/boot/kernel root=hd0s3
41module (fd0)/boot/bootstrap
42
43# For booting FreeBSD
44title  FreeBSD
45root   (hd0,2,a)
46kernel /boot/loader
47
48# For booting NetBSD
49title  NetBSD
50root   (hd0,2,a)
51kernel --type=netbsd /netbsd
52
53# For booting OpenBSD
54title  OpenBSD
55root   (hd0,2,a)
56kernel --type=netbsd /bsd
57
58# For booting OS/2
59title OS/2
60root  (hd0,1)
61makeactive
62# chainload OS/2 bootloader from the first sector
63chainloader +1
64# This is similar to "chainload", but loads a specific file
65#chainloader /boot/chain.os2
66
67# For booting Windows NT or Windows95
68title Windows NT / Windows 95 boot menu
69rootnoverify (hd0,0)
70makeactive
71chainloader  +1
72# For loading DOS if Windows NT is installed
73# chainload /bootsect.dos
74
75# For installing GRUB into the hard disk
76title Install GRUB into the hard disk
77root    (hd0,0)
78setup   (hd0)
79
80# Change the colors.
81title Change the colors
82color light-green/brown blink-red/blue
83