Advertisement
Guest User

Untitled

a guest
Jun 9th, 2012
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.07 KB | None | 0 0
  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 use 'savedefault' 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 10
  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. #A splash image for the menu
  29. splashimage=(hd0,5)/boot/grub/splashimages/Flaming-Dell.xpm.gz
  30.  
  31. ## password ['--md5'] passwd
  32. # If used in the first section of a menu file, disable all interactive editing
  33. # control (menu entry editor and command-line) and entries protected by the
  34. # command 'lock'
  35. # e.g. password topsecret
  36. ## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
  37. # password topsecret
  38.  
  39. #
  40. # examples
  41. #
  42. # title Windows 95/98/NT/2000
  43. # root (hd0,0)
  44. # makeactive
  45. # chainloader +1
  46. #
  47. # title Linux
  48. # root (hd0,1)
  49. # kernel /vmlinuz root=/dev/hda2 ro
  50. #
  51.  
  52. #
  53. # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
  54.  
  55. ### BEGIN AUTOMAGIC KERNELS LIST
  56. ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
  57. ## by the debian update-grub script except for the default options below
  58.  
  59. ## DO NOT UNCOMMENT THEM, Just edit them to your needs
  60.  
  61. ## ## Start Default Options ##
  62. ## default kernel options
  63. ## default kernel options for automagic boot options
  64. ## If you want special options for specific kernels use kopt_x_y_z
  65. ## where x.y.z is kernel version. Minor versions can be omitted.
  66. ## e.g. kopt=root=/dev/hda1 ro
  67. ## kopt_2_6_8=root=/dev/hdc1 ro
  68. ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
  69. # kopt=root=UUID=7fbc4c61-1eb1-4b49-9612-fee9ec872748 ro
  70.  
  71. ## default grub root device
  72. ## e.g. groot=(hd0,0)
  73. # groot=(hd0,5)
  74.  
  75. ## should update-grub create alternative automagic boot options
  76. ## e.g. alternative=true
  77. ## alternative=false
  78. # alternative=true
  79.  
  80. ## should update-grub lock alternative automagic boot options
  81. ## e.g. lockalternative=true
  82. ## lockalternative=false
  83. # lockalternative=false
  84.  
  85. ## additional options to use with the default boot option, but not with the
  86. ## alternatives
  87. ## e.g. defoptions=vga=791 resume=/dev/hda5
  88. # defoptions=splash quiet
  89.  
  90. ## should update-grub lock old automagic boot options
  91. ## e.g. lockold=false
  92. ## lockold=true
  93. # lockold=false
  94.  
  95. ## Xen hypervisor options to use with the default Xen boot option
  96. # xenhopt=
  97.  
  98. ## Xen Linux kernel options to use with the default Xen boot option
  99. # xenkopt=console=tty0
  100.  
  101. ## altoption boot targets option
  102. ## multiple altoptions lines are allowed
  103. ## e.g. altoptions=(extra menu suffix) extra boot options
  104. ## altoptions=(recovery) single
  105. # altoptions=(recovery mode) single
  106.  
  107. ## controls how many kernels should be put into the menu.lst
  108. ## only counts the first occurence of a kernel, not the
  109. ## alternative kernel options
  110. ## e.g. howmany=all
  111. ## howmany=7
  112. # howmany=all
  113.  
  114. ## specify if running in Xen domU or have grub detect automatically
  115. ## update-grub will ignore non-xen kernels when running in domU and vice versa
  116. ## e.g. indomU=detect
  117. ## indomU=true
  118. ## indomU=false
  119. # indomU=detect
  120.  
  121. ## should update-grub create memtest86 boot option
  122. ## e.g. memtest86=true
  123. ## memtest86=false
  124. # memtest86=true
  125.  
  126. ## should update-grub adjust the value of the default booted system
  127. ## can be true or false
  128. # updatedefaultentry=false
  129.  
  130. ## should update-grub add savedefault to the default options
  131. ## can be true or false
  132. # savedefault=false
  133.  
  134. ## ## End Default Options ##
  135.  
  136. title Ubuntu 10.04.3 LTS, kernel 2.6.32-34-generic
  137. root (hd0,5)
  138. kernel /boot/vmlinuz-2.6.32-34-generic root=UUID=7fbc4c61-1eb1-4b49-9612-fee9ec872748 ro splash quiet
  139. initrd /boot/initrd.img-2.6.32-34-generic
  140. quiet
  141.  
  142. title Ubuntu 10.04.3 LTS, kernel 2.6.32-34-generic (recovery mode)
  143. root (hd0,5)
  144. kernel /boot/vmlinuz-2.6.32-34-generic root=UUID=7fbc4c61-1eb1-4b49-9612-fee9ec872748 ro single
  145. initrd /boot/initrd.img-2.6.32-34-generic
  146.  
  147. title Ubuntu 10.04.3 LTS, memtest86+
  148. root (hd0,5)
  149. kernel /boot/memtest86+.bin
  150. quiet
  151.  
  152. ### END DEBIAN AUTOMAGIC KERNELS LIST
  153.  
  154. # This is a divider, added to separate the menu items below from the Debian
  155. # ones.
  156. title Other operating systems:
  157. root
  158.  
  159.  
  160. # This entry automatically added by the Debian installer for a non-linux OS
  161. # on /dev/sda3
  162. title Windows Vista
  163. root (hd0,2)
  164. savedefault
  165. makeactive
  166. chainloader +1
  167.  
  168.  
  169. # This entry automatically added by the Debian installer for a non-linux OS
  170. # on /dev/sda5
  171. #title Microsoft Windows XP Embedded
  172. #root (hd0,4)
  173. #savedefault
  174. #makeactive
  175. #chainloader +1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement