NoPaste

menu.lst

von Anonymous

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

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN