作者 klauszuo [actionscript] 2007-04-25 09:37 (点击下载)

  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 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. ## 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=0ebd31e7-d942-465e-ba0b-6bd6e4e5bf24 ro
  67.  
  68. ## Setup crashdump menu entries
  69. ## e.g. crashdump=1
  70. # crashdump=0
  71.  
  72. ## default grub root device
  73. ## e.g. groot=(hd0,0)
  74. # groot=(hd0,4)
  75.  
  76. ## should update-grub create alternative automagic boot options
  77. ## e.g. alternative=true
  78. ## alternative=false
  79. # alternative=true
  80.  
  81. ## should update-grub lock alternative automagic boot options
  82. ## e.g. lockalternative=true
  83. ## lockalternative=false
  84. # lockalternative=false
  85.  
  86. ## additional options to use with the default boot option, but not with the
  87. ## alternatives
  88. ## e.g. defoptions=vga=791 resume=/dev/hda5
  89. # defoptions=quiet splash locale=zh_CN
  90.  
  91. ## should update-grub lock old automagic boot options
  92. ## e.g. lockold=false
  93. ## lockold=true
  94. # lockold=false
  95.  
  96. ## Xen hypervisor options to use with the default Xen boot option
  97. # xenhopt=
  98.  
  99. ## Xen Linux kernel options to use with the default Xen boot option
  100. # xenkopt=console=tty0
  101.  
  102. ## altoption boot targets option
  103. ## multiple altoptions lines are allowed
  104. ## e.g. altoptions=(extra menu suffix) extra boot options
  105. ## altoptions=(recovery) single
  106. # altoptions=(recovery mode) single
  107.  
  108. ## controls how many kernels should be put into the menu.lst
  109. ## only counts the first occurence of a kernel, not the
  110. ## alternative kernel options
  111. ## e.g. howmany=all
  112. ## howmany=7
  113. # howmany=all
  114.  
  115. ## should update-grub create memtest86 boot option
  116. ## e.g. memtest86=true
  117. ## memtest86=false
  118. # memtest86=true
  119.  
  120. ## should update-grub adjust the value of the default booted system
  121. ## can be true or false
  122. # updatedefaultentry=false
  123.  
  124. ## ## End Default Options ##
  125.  
  126. title Mac OSX, Apple Inc.
  127. rootnoverify (hd0,1)
  128. savedefault
  129. chainloader +1
  130.  
  131.  
  132. title Ubuntu, kernel 2.6.20-15-generic
  133. root (hd0,4)
  134. kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=0ebd31e7-d942-465e-ba0b-6bd6e4e5bf24 ro quiet splash locale=zh_CN
  135. initrd /boot/initrd.img-2.6.20-15-generic
  136. quiet
  137. savedefault
  138.  
  139. title Windows XP
  140. root (hd0,0)
  141. savedefault
  142. makeactive
  143. chainloader +1
  144.  
  145. title Ubuntu, kernel 2.6.20-15-generic (recovery mode)
  146. root (hd0,4)
  147. kernel /boot/vmlinuz-2.6.20-15-generic root=UUID=0ebd31e7-d942-465e-ba0b-6bd6e4e5bf24 ro single
  148. initrd /boot/initrd.img-2.6.20-15-generic
  149.  
  150. title Ubuntu, memtest86+
  151. root (hd0,4)
  152. kernel /boot/memtest86+.bin
  153. quiet

提交下面的校正或者修改. (点击这里开始一个新的帖子)
姓名: 在 cookie 中记住我的名字

屏幕抓图:(jpeg 或 png)