Advertisement
Guest User

root

a guest
Feb 14th, 2009
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.57 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. ## 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. password --md5 $1$LIsJu$xBi011pt1WRZtSXsJRosU0
  36.  
  37. #
  38. # examples
  39. #
  40. # title Windows 95/98/NT/2000
  41. # root (hd0,0)
  42. # makeactive
  43. # chainloader +1
  44. #
  45. # title Linux
  46. # root (hd0,1)
  47. # kernel /vmlinuz root=/dev/hda2 ro
  48. #
  49.  
  50. #
  51. # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
  52.  
  53. ### BEGIN AUTOMAGIC KERNELS LIST
  54. ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
  55. ## by the debian update-grub script except for the default options below
  56.  
  57. ## DO NOT UNCOMMENT THEM, Just edit them to your needs
  58.  
  59. ## ## Start Default Options ##
  60. ## default kernel options
  61. ## default kernel options for automagic boot options
  62. ## If you want special options for specific kernels use kopt_x_y_z
  63. ## where x.y.z is kernel version. Minor versions can be omitted.
  64. ## e.g. kopt=root=/dev/hda1 ro
  65. ## kopt_2_6_8=root=/dev/hdc1 ro
  66. ## kopt_2_6_8_2_686=root=/dev/hdc2 ro
  67. # kopt=root=UUID=0a15d899-faf1-474c-933a-377c3b646955 ro
  68.  
  69. ## default grub root device
  70. ## e.g. groot=(hd0,0)
  71. # groot=3c1a7154-aa4b-4c78-91bc-b218e9b42f59
  72.  
  73. ## should update-grub create alternative automagic boot options
  74. ## e.g. alternative=true
  75. ## alternative=false
  76. # alternative=true
  77.  
  78. ## should update-grub lock alternative automagic boot options
  79. ## e.g. lockalternative=true
  80. ## lockalternative=false
  81. # lockalternative=false
  82.  
  83. ## additional options to use with the default boot option, but not with the
  84. ## alternatives
  85. ## e.g. defoptions=vga=791 resume=/dev/hda5
  86. # defoptions=quiet splash
  87.  
  88. ## should update-grub lock old automagic boot options
  89. ## e.g. lockold=false
  90. ## lockold=true
  91. # lockold=false
  92.  
  93. ## Xen hypervisor options to use with the default Xen boot option
  94. # xenhopt=
  95.  
  96. ## Xen Linux kernel options to use with the default Xen boot option
  97. # xenkopt=console=tty0
  98.  
  99. ## altoption boot targets option
  100. ## multiple altoptions lines are allowed
  101. ## e.g. altoptions=(extra menu suffix) extra boot options
  102. ## altoptions=(recovery) single
  103. # altoptions=(recovery mode) single
  104.  
  105. ## controls how many kernels should be put into the menu.lst
  106. ## only counts the first occurence of a kernel, not the
  107. ## alternative kernel options
  108. ## e.g. howmany=all
  109. ## howmany=7
  110. # howmany=all
  111.  
  112. ## should update-grub create memtest86 boot option
  113. ## e.g. memtest86=true
  114. ## memtest86=false
  115. # memtest86=true
  116.  
  117. ## should update-grub adjust the value of the default booted system
  118. ## can be true or false
  119. # updatedefaultentry=false
  120.  
  121. ## should update-grub add savedefault to the default options
  122. ## can be true or false
  123. # savedefault=false
  124.  
  125. ## ## End Default Options ##
  126.  
  127. title Ubuntu 8.10, kernel 2.6.27-11-generic
  128. uuid 3c1a7154-aa4b-4c78-91bc-b218e9b42f59
  129. kernel /vmlinuz-2.6.27-11-generic root=UUID=0a15d899-faf1-474c-933a-377c3b646955 ro quiet splash
  130. initrd /initrd.img-2.6.27-11-generic
  131. quiet
  132.  
  133. title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
  134. uuid 3c1a7154-aa4b-4c78-91bc-b218e9b42f59
  135. kernel /vmlinuz-2.6.27-11-generic root=UUID=0a15d899-faf1-474c-933a-377c3b646955 ro single
  136. initrd /initrd.img-2.6.27-11-generic
  137.  
  138. title Ubuntu 8.10, memtest86+
  139. uuid 3c1a7154-aa4b-4c78-91bc-b218e9b42f59
  140. kernel /memtest86+.bin
  141. quiet
  142.  
  143. ### END DEBIAN AUTOMAGIC KERNELS LIST
  144.  
  145. # This is a divider, added to separate the menu items below from the Debian
  146. # ones.
  147. title Other operating systems:
  148. root
  149.  
  150.  
  151. # This entry automatically added by the Debian installer for a non-linux OS
  152. # on /dev/sdb1
  153. title Microsoft Windows XP Professional
  154. root (hd0,0)
  155. savedefault
  156. makeactive
  157. map (hd0) (hd1)
  158. map (hd1) (hd0)
  159. chainloader +1
  160.  
  161.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement