Advertisement
Guest User

Untitled

a guest
Aug 26th, 2011
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.21 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-legacy-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 5
  20.  
  21. # Pretty colours
  22. color cyan/blue white/blue
  23.  
  24. ## password ['--md5'] passwd
  25. # If used in the first section of a menu file, disable all interactive editing
  26. # control (menu entry editor and command-line) and entries protected by the
  27. # command 'lock'
  28. # e.g. password topsecret
  29. # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
  30. # password topsecret
  31.  
  32. #
  33. # examples
  34. #
  35. # title Windows 95/98/NT/2000
  36. # root (hd0,0)
  37. # makeactive
  38. # chainloader +1
  39. #
  40. # title Linux
  41. # root (hd0,1)
  42. # kernel /vmlinuz root=/dev/hda2 ro
  43. #
  44.  
  45. #
  46. # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
  47.  
  48. ### BEGIN AUTOMAGIC KERNELS LIST
  49. ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
  50. ## by the debian update-grub script except for the default options below
  51.  
  52. ## DO NOT UNCOMMENT THEM, Just edit them to your needs
  53.  
  54. ## ## Start Default Options ##
  55. ## default kernel options
  56. ## default kernel options for automagic boot options
  57. ## If you want special options for specific kernels use kopt_x_y_z
  58. ## where x.y.z is kernel version. Minor versions can be omitted.
  59. ## e.g. kopt=root=/dev/hda1 ro
  60. ## kopt_2_6_8=root=/dev/hdc1 ro
  61. ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
  62. # kopt=root=UUID=af8e143f-fa65-450d-8ccd-bd0144cc6b8c ro
  63.  
  64. ## default grub root device
  65. ## e.g. groot=(hd0,0)
  66. # groot=(hd0,2)
  67.  
  68. ## should update-grub create alternative automagic boot options
  69. ## e.g. alternative=true
  70. ## alternative=false
  71. # alternative=true
  72.  
  73. ## should update-grub lock alternative automagic boot options
  74. ## e.g. lockalternative=true
  75. ## lockalternative=false
  76. # lockalternative=false
  77.  
  78. ## additional options to use with the default boot option, but not with the
  79. ## alternatives
  80. ## e.g. defoptions=vga=791 resume=/dev/hda5
  81. # defoptions=quiet
  82.  
  83. ## should update-grub lock old automagic boot options
  84. ## e.g. lockold=false
  85. ## lockold=true
  86. # lockold=false
  87.  
  88. ## Xen hypervisor options to use with the default Xen boot option
  89. # xenhopt=
  90.  
  91. ## Xen Linux kernel options to use with the default Xen boot option
  92. # xenkopt=console=tty0
  93.  
  94. ## altoption boot targets option
  95. ## multiple altoptions lines are allowed
  96. ## e.g. altoptions=(extra menu suffix) extra boot options
  97. ## altoptions=(single-user) single
  98. # altoptions=(single-user mode) single
  99.  
  100. ## controls how many kernels should be put into the menu.lst
  101. ## only counts the first occurence of a kernel, not the
  102. ## alternative kernel options
  103. ## e.g. howmany=all
  104. ## howmany=7
  105. # howmany=all
  106.  
  107. ## should update-grub create memtest86 boot option
  108. ## e.g. memtest86=true
  109. ## memtest86=false
  110. # memtest86=true
  111.  
  112. ## should update-grub adjust the value of the default booted system
  113. ## can be true or false
  114. # updatedefaultentry=false
  115.  
  116. ## should update-grub add savedefault to the default options
  117. ## can be true or false
  118. # savedefault=false
  119.  
  120. ## ## End Default Options ##
  121.  
  122. title Chainload into GRUB 2
  123. root (hd0,2)
  124. kernel /boot/grub/core.img
  125.  
  126. title ���������������������������������������������������������������������
  127. root
  128.  
  129. title When you have verified GRUB 2 works, you can use this command to
  130. root
  131.  
  132. title complete the upgrade: upgrade-from-grub-legacy
  133. root
  134.  
  135. title ���������������������������������������������������������������������
  136. root
  137.  
  138. title Debian GNU/Linux, kernel 2.6.37-2.1
  139. root (hd0,2)
  140. kernel /boot/vmlinuz-2.6.37-2.1 root=UUID=af8e143f-fa65-450d-8ccd-bd0144cc6b8c ro quiet
  141. initrd /boot/initrd.img-2.6.37-2.1
  142.  
  143. title Debian GNU/Linux, kernel 2.6.37-2.1 (single-user mode)
  144. root (hd0,2)
  145. kernel /boot/vmlinuz-2.6.37-2.1 root=UUID=af8e143f-fa65-450d-8ccd-bd0144cc6b8c ro single
  146. initrd /boot/initrd.img-2.6.37-2.1
  147.  
  148. title Debian GNU/Linux, kernel 2.6.37-1.3
  149. root (hd0,2)
  150. kernel /boot/vmlinuz-2.6.37-1.3 root=UUID=af8e143f-fa65-450d-8ccd-bd0144cc6b8c ro quiet
  151. initrd /boot/initrd.img-2.6.37-1.3
  152.  
  153. title Debian GNU/Linux, kernel 2.6.37-1.3 (single-user mode)
  154. root (hd0,2)
  155. kernel /boot/vmlinuz-2.6.37-1.3 root=UUID=af8e143f-fa65-450d-8ccd-bd0144cc6b8c ro single
  156. initrd /boot/initrd.img-2.6.37-1.3
  157.  
  158. title Debian GNU/Linux, kernel 2.6.32-5-686
  159. root (hd0,2)
  160. kernel /boot/vmlinuz-2.6.32-5-686 root=UUID=af8e143f-fa65-450d-8ccd-bd0144cc6b8c ro quiet
  161. initrd /boot/initrd.img-2.6.32-5-686
  162.  
  163. title Debian GNU/Linux, kernel 2.6.32-5-686 (single-user mode)
  164. root (hd0,2)
  165. kernel /boot/vmlinuz-2.6.32-5-686 root=UUID=af8e143f-fa65-450d-8ccd-bd0144cc6b8c ro single
  166. initrd /boot/initrd.img-2.6.32-5-686
  167.  
  168. title Debian GNU/Linux, kernel 2.6.26-2-686
  169. root (hd0,2)
  170. kernel /boot/vmlinuz-2.6.26-2-686 root=UUID=af8e143f-fa65-450d-8ccd-bd0144cc6b8c ro quiet
  171. initrd /boot/initrd.img-2.6.26-2-686
  172.  
  173. title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
  174. root (hd0,2)
  175. kernel /boot/vmlinuz-2.6.26-2-686 root=UUID=af8e143f-fa65-450d-8ccd-bd0144cc6b8c ro single
  176. initrd /boot/initrd.img-2.6.26-2-686
  177.  
  178. ### END DEBIAN AUTOMAGIC KERNELS LIST
  179.  
  180. # This is a divider, added to separate the menu items below from the Debian
  181. # ones.
  182. title Other operating systems:
  183. root
  184.  
  185.  
  186. # This entry automatically added by the Debian installer for a non-linux OS
  187. # on /dev/sda1
  188. title Windows XP Professional x64 Edition
  189. root (hd0,0)
  190. savedefault
  191. makeactive
  192. chainloader +1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement