Advertisement
Guest User

Untitled

a guest
Oct 25th, 2013
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.57 KB | None | 0 0
  1. root@ubuntu:/tmp# cat boot/grub/menu.lst
  2. # menu.lst - See: grub(8), info grub, update-grub(8)
  3. # grub-install(8), grub-floppy(8),
  4. # grub-md5-crypt, /usr/share/doc/grub
  5. # and /usr/share/doc/grub-legacy-doc/.
  6.  
  7. ## default num
  8. # Set the default entry to the entry number NUM. Numbering starts from 0, and
  9. # the entry number 0 is the default if the command is not used.
  10. #
  11. # You can specify 'saved' instead of a number. In this case, the default entry
  12. # is the entry saved with the command 'savedefault'.
  13. # WARNING: If you are using dmraid do not use 'savedefault' or your
  14. # array will desync and will not let you boot your system.
  15. default 0
  16.  
  17. ## timeout sec
  18. # Set a timeout, in SEC seconds, before automatically booting the default entry
  19. # (normally the first entry defined).
  20. timeout 3
  21.  
  22. ## hiddenmenu
  23. # Hides the menu by default (press ESC to see the menu)
  24. hiddenmenu
  25.  
  26. # Pretty colours
  27. #color cyan/blue white/blue
  28.  
  29. ## password ['--md5'] passwd
  30. # If used in the first section of a menu file, disable all interactive editing
  31. # control (menu entry editor and command-line) and entries protected by the
  32. # command 'lock'
  33. # e.g. password topsecret
  34. # password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
  35. # password topsecret
  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=/dev/md0 ro
  68.  
  69. ## default grub root device
  70. ## e.g. groot=(hd0,0)
  71. # groot=a53855b1-024c-43f8-8374-96fb62896969
  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. ## specify if running in Xen domU or have grub detect automatically
  113. ## update-grub will ignore non-xen kernels when running in domU and vice versa
  114. ## e.g. indomU=detect
  115. ## indomU=true
  116. ## indomU=false
  117. # indomU=detect
  118.  
  119. ## should update-grub create memtest86 boot option
  120. ## e.g. memtest86=true
  121. ## memtest86=false
  122. # memtest86=true
  123.  
  124. ## should update-grub adjust the value of the default booted system
  125. ## can be true or false
  126. # updatedefaultentry=false
  127.  
  128. ## should update-grub add savedefault to the default options
  129. ## can be true or false
  130. # savedefault=false
  131.  
  132. ## ## End Default Options ##
  133.  
  134. title Ubuntu 10.04.4 LTS, kernel 2.6.32-50-generic
  135. uuid a53855b1-024c-43f8-8374-96fb62896969
  136. kernel /vmlinuz-2.6.32-50-generic root=/dev/md0 ro quiet splash crashkernel=384M-2G:64M,2G-:128M
  137. initrd /initrd.img-2.6.32-50-generic
  138.  
  139. title Ubuntu 10.04.4 LTS, kernel 2.6.32-50-generic (recovery mode)
  140. uuid a53855b1-024c-43f8-8374-96fb62896969
  141. kernel /vmlinuz-2.6.32-50-generic root=/dev/md0 ro crashkernel=384M-2G:64M,2G-:128M single
  142. initrd /initrd.img-2.6.32-50-generic
  143.  
  144. title Chainload into GRUB 2
  145. root a53855b1-024c-43f8-8374-96fb62896969
  146. kernel /boot/grub/core.img
  147.  
  148. ### END DEBIAN AUTOMAGIC KERNELS LIST
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement