Ticket #103: menu.lst

File menu.lst, 5.1 KB (added by (none), 17 years ago)
Line 
1# menu.lst - See: grub(8), info grub, update-grub(8)
2# grub-install(8), grub-floppy(8),
3# grub-md5-crypt, /usr/share/doc/grub
4# and /usr/share/doc/grub-doc/.
5
6## default num
7# Set the default entry to the entry number NUM. Numbering starts from 0, and
8# the entry number 0 is the default if the command is not used.
9#
10# You can specify 'saved' instead of a number. In this case, the default entry
11# is the entry saved with the command 'savedefault'.
12# WARNING: If you are using dmraid do not change this entry to 'saved' or your
13# array will desync and will not let you boot your system.
14default 0
15
16## timeout sec
17# Set a timeout, in SEC seconds, before automatically booting the default entry
18# (normally the first entry defined).
19timeout 3
20
21## hiddenmenu
22# Hides the menu by default (press ESC to see the menu)
23hiddenmenu
24
25# Pretty colours
26#color cyan/blue white/blue
27
28## password ['--md5'] passwd
29# If used in the first section of a menu file, disable all interactive editing
30# control (menu entry editor and command-line) and entries protected by the
31# command 'lock'
32# e.g. password topsecret
33# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
34# password topsecret
35
36#
37# examples
38#
39# title Windows 95/98/NT/2000
40# root (hd0,0)
41# makeactive
42# chainloader +1
43#
44# title Linux
45# root (hd0,1)
46# kernel /vmlinuz root=/dev/hda2 ro
47#
48
49#
50# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
51
52### BEGIN AUTOMAGIC KERNELS LIST
53## lines between the AUTOMAGIC KERNELS LIST markers will be modified
54## by the debian update-grub script except for the default options below
55
56## DO NOT UNCOMMENT THEM, Just edit them to your needs
57
58## ## Start Default Options ##
59## default kernel options
60## default kernel options for automagic boot options
61## If you want special options for specific kernels use kopt_x_y_z
62## where x.y.z is kernel version. Minor versions can be omitted.
63## e.g. kopt=root=/dev/hda1 ro
64## kopt_2_6_8=root=/dev/hdc1 ro
65## kopt_2_6_8_2_686=root=/dev/hdc2 ro
66# kopt=root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro
67
68## default grub root device
69## e.g. groot=(hd0,0)
70# groot=(hd0,0)
71
72## should update-grub create alternative automagic boot options
73## e.g. alternative=true
74## alternative=false
75# alternative=true
76
77## should update-grub lock alternative automagic boot options
78## e.g. lockalternative=true
79## lockalternative=false
80# lockalternative=false
81
82## additional options to use with the default boot option, but not with the
83## alternatives
84## e.g. defoptions=vga=791 resume=/dev/hda5
85# defoptions=quiet splash
86
87## should update-grub lock old automagic boot options
88## e.g. lockold=false
89## lockold=true
90# lockold=false
91
92## altoption boot targets option
93## multiple altoptions lines are allowed
94## e.g. altoptions=(extra menu suffix) extra boot options
95## altoptions=(recovery) single
96# altoptions=(recovery mode) single
97
98## controls how many kernels should be put into the menu.lst
99## only counts the first occurence of a kernel, not the
100## alternative kernel options
101## e.g. howmany=all
102## howmany=7
103# howmany=all
104
105## should update-grub create memtest86 boot option
106## e.g. memtest86=true
107## memtest86=false
108# memtest86=true
109
110## should update-grub adjust the value of the default booted system
111## can be true or false
112# updatedefaultentry=false
113
114## ## End Default Options ##
115
116title Ubuntu, kernel 2.6.17-10-generic
117root (hd0,0)
118kernel /boot/vmlinuz-2.6.17-10-generic root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro quiet splash
119initrd /boot/initrd.img-2.6.17-10-generic
120quiet
121savedefault
122boot
123
124title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
125root (hd0,0)
126kernel /boot/vmlinuz-2.6.17-10-generic root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro single
127initrd /boot/initrd.img-2.6.17-10-generic
128boot
129
130title Ubuntu, kernel 2.6.15-27-686
131root (hd0,0)
132kernel /boot/vmlinuz-2.6.15-27-686 root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro quiet splash
133initrd /boot/initrd.img-2.6.15-27-686
134quiet
135savedefault
136boot
137
138title Ubuntu, kernel 2.6.15-27-686 (recovery mode)
139root (hd0,0)
140kernel /boot/vmlinuz-2.6.15-27-686 root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro single
141initrd /boot/initrd.img-2.6.15-27-686
142boot
143
144title Ubuntu, kernel 2.6.15-26-686
145root (hd0,0)
146kernel /boot/vmlinuz-2.6.15-26-686 root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro quiet splash
147initrd /boot/initrd.img-2.6.15-26-686
148quiet
149savedefault
150boot
151
152title Ubuntu, kernel 2.6.15-26-686 (recovery mode)
153root (hd0,0)
154kernel /boot/vmlinuz-2.6.15-26-686 root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro single
155initrd /boot/initrd.img-2.6.15-26-686
156boot
157
158title Ubuntu, kernel 2.6.15-23-686
159root (hd0,0)
160kernel /boot/vmlinuz-2.6.15-23-686 root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro quiet splash
161initrd /boot/initrd.img-2.6.15-23-686
162quiet
163savedefault
164boot
165
166title Ubuntu, kernel 2.6.15-23-686 (recovery mode)
167root (hd0,0)
168kernel /boot/vmlinuz-2.6.15-23-686 root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro single
169initrd /boot/initrd.img-2.6.15-23-686
170boot
171
172title Ubuntu, memtest86+
173root (hd0,0)
174kernel /boot/memtest86+.bin
175quiet
176boot
177
178### END DEBIAN AUTOMAGIC KERNELS LIST