Guest User

Untitled

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