| 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.
|
|---|
| 14 | default 0
|
|---|
| 15 |
|
|---|
| 16 | ## timeout sec
|
|---|
| 17 | # Set a timeout, in SEC seconds, before automatically booting the default entry
|
|---|
| 18 | # (normally the first entry defined).
|
|---|
| 19 | timeout 3
|
|---|
| 20 |
|
|---|
| 21 | ## hiddenmenu
|
|---|
| 22 | # Hides the menu by default (press ESC to see the menu)
|
|---|
| 23 | hiddenmenu
|
|---|
| 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 |
|
|---|
| 116 | title Ubuntu, kernel 2.6.17-10-generic
|
|---|
| 117 | root (hd0,0)
|
|---|
| 118 | kernel /boot/vmlinuz-2.6.17-10-generic root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro quiet splash
|
|---|
| 119 | initrd /boot/initrd.img-2.6.17-10-generic
|
|---|
| 120 | quiet
|
|---|
| 121 | savedefault
|
|---|
| 122 | boot
|
|---|
| 123 |
|
|---|
| 124 | title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
|
|---|
| 125 | root (hd0,0)
|
|---|
| 126 | kernel /boot/vmlinuz-2.6.17-10-generic root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro single
|
|---|
| 127 | initrd /boot/initrd.img-2.6.17-10-generic
|
|---|
| 128 | boot
|
|---|
| 129 |
|
|---|
| 130 | title Ubuntu, kernel 2.6.15-27-686
|
|---|
| 131 | root (hd0,0)
|
|---|
| 132 | kernel /boot/vmlinuz-2.6.15-27-686 root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro quiet splash
|
|---|
| 133 | initrd /boot/initrd.img-2.6.15-27-686
|
|---|
| 134 | quiet
|
|---|
| 135 | savedefault
|
|---|
| 136 | boot
|
|---|
| 137 |
|
|---|
| 138 | title Ubuntu, kernel 2.6.15-27-686 (recovery mode)
|
|---|
| 139 | root (hd0,0)
|
|---|
| 140 | kernel /boot/vmlinuz-2.6.15-27-686 root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro single
|
|---|
| 141 | initrd /boot/initrd.img-2.6.15-27-686
|
|---|
| 142 | boot
|
|---|
| 143 |
|
|---|
| 144 | title Ubuntu, kernel 2.6.15-26-686
|
|---|
| 145 | root (hd0,0)
|
|---|
| 146 | kernel /boot/vmlinuz-2.6.15-26-686 root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro quiet splash
|
|---|
| 147 | initrd /boot/initrd.img-2.6.15-26-686
|
|---|
| 148 | quiet
|
|---|
| 149 | savedefault
|
|---|
| 150 | boot
|
|---|
| 151 |
|
|---|
| 152 | title Ubuntu, kernel 2.6.15-26-686 (recovery mode)
|
|---|
| 153 | root (hd0,0)
|
|---|
| 154 | kernel /boot/vmlinuz-2.6.15-26-686 root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro single
|
|---|
| 155 | initrd /boot/initrd.img-2.6.15-26-686
|
|---|
| 156 | boot
|
|---|
| 157 |
|
|---|
| 158 | title Ubuntu, kernel 2.6.15-23-686
|
|---|
| 159 | root (hd0,0)
|
|---|
| 160 | kernel /boot/vmlinuz-2.6.15-23-686 root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro quiet splash
|
|---|
| 161 | initrd /boot/initrd.img-2.6.15-23-686
|
|---|
| 162 | quiet
|
|---|
| 163 | savedefault
|
|---|
| 164 | boot
|
|---|
| 165 |
|
|---|
| 166 | title Ubuntu, kernel 2.6.15-23-686 (recovery mode)
|
|---|
| 167 | root (hd0,0)
|
|---|
| 168 | kernel /boot/vmlinuz-2.6.15-23-686 root=UUID=9e63d70a-dcf0-4d46-a6e8-bf40ca3a96ef ro single
|
|---|
| 169 | initrd /boot/initrd.img-2.6.15-23-686
|
|---|
| 170 | boot
|
|---|
| 171 |
|
|---|
| 172 | title Ubuntu, memtest86+
|
|---|
| 173 | root (hd0,0)
|
|---|
| 174 | kernel /boot/memtest86+.bin
|
|---|
| 175 | quiet
|
|---|
| 176 | boot
|
|---|
| 177 |
|
|---|
| 178 | ### END DEBIAN AUTOMAGIC KERNELS LIST
|
|---|