Advertisement
Guest User

andy

a guest
Jul 23rd, 2009
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.53 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 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=209df587-a795-4126-a5f1-e307e39939a0 ro
  67.  
  68. ## default grub root device
  69. ## e.g. groot=(hd0,0)
  70. # groot=209df587-a795-4126-a5f1-e307e39939a0
  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 rootflags=data=writeback
  86.  
  87. ## should update-grub lock old automagic boot options
  88. ## e.g. lockold=false
  89. ## lockold=true
  90. # lockold=false
  91.  
  92. ## Xen hypervisor options to use with the default Xen boot option
  93. # xenhopt=
  94.  
  95. ## Xen Linux kernel options to use with the default Xen boot option
  96. # xenkopt=console=tty0
  97.  
  98. ## altoption boot targets option
  99. ## multiple altoptions lines are allowed
  100. ## e.g. altoptions=(extra menu suffix) extra boot options
  101. ## altoptions=(recovery) single
  102. # altoptions=(recovery mode) single rootflags=data=writeback
  103.  
  104. ## controls how many kernels should be put into the menu.lst
  105. ## only counts the first occurence of a kernel, not the
  106. ## alternative kernel options
  107. ## e.g. howmany=all
  108. ## howmany=7
  109. # howmany=4
  110.  
  111. ## specify if running in Xen domU or have grub detect automatically
  112. ## update-grub will ignore non-xen kernels when running in domU and vice versa
  113. ## e.g. indomU=detect
  114. ## indomU=true
  115. ## indomU=false
  116. # indomU=detect
  117.  
  118. ## should update-grub create memtest86 boot option
  119. ## e.g. memtest86=true
  120. ## memtest86=false
  121. # memtest86=true
  122.  
  123. ## should update-grub adjust the value of the default booted system
  124. ## can be true or false
  125. # updatedefaultentry=false
  126.  
  127. ## should update-grub add savedefault to the default options
  128. ## can be true or false
  129. # savedefault=false
  130.  
  131. ## ## End Default Options ##
  132.  
  133. title Ubuntu 9.04, kernel 2.6.28-13-generic
  134. uuid 209df587-a795-4126-a5f1-e307e39939a0
  135. kernel /boot/vmlinuz-2.6.28-13-generic root=UUID=209df587-a795-4126-a5f1-e307e39939a0 ro quiet splash rootflags=data=writeback
  136. initrd /boot/initrd.img-2.6.28-13-generic
  137. quiet
  138.  
  139. title Ubuntu 9.04, kernel 2.6.28-13-generic (recovery mode)
  140. uuid 209df587-a795-4126-a5f1-e307e39939a0
  141. kernel /boot/vmlinuz-2.6.28-13-generic root=UUID=209df587-a795-4126-a5f1-e307e39939a0 ro single rootflags=data=writeback
  142. initrd /boot/initrd.img-2.6.28-13-generic
  143.  
  144. title Ubuntu 9.04, memtest86+
  145. uuid 209df587-a795-4126-a5f1-e307e39939a0
  146. kernel /boot/memtest86+.bin
  147. quiet
  148.  
  149. ### END DEBIAN AUTOMAGIC KERNELS LIST
  150.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement