NoPaste

menu.lst

von mymain

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-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/hda7 ro vga=791
  63.  
  64. ## default grub root device
  65. ## e.g. groot=(hd0,0)
  66. # groot=(hd0,6)
  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. ## altoption boot targets option
  84. ## multiple altoptions lines are allowed
  85. ## e.g. altoptions=(extra menu suffix) extra boot options
  86. ##      altoptions=(recovery mode) single
  87. # altoptions=(recovery mode) single
  88.  
  89. ## controls how many kernels should be put into the menu.lst
  90. ## only counts the first occurence of a kernel, not the
  91. ## alternative kernel options
  92. ## e.g. howmany=all
  93. ##      howmany=7
  94. # howmany=all
  95.  
  96. ## should update-grub create memtest86 boot option
  97. ## e.g. memtest86=true
  98. ##      memtest86=false
  99. # memtest86=true
  100.  
  101. ## should update-grub adjust the value of the default booted system
  102. ## can be true or false
  103. # updatedefaultentry=false
  104.  
  105. ## ## End Default Options ##
  106.  
  107. title           Debian GNU/Linux, kernel 2.6.17-k7-work
  108. root            (hd0,6)
  109. kernel          /boot/vmlinuz-2.6.17-k7-work root=/dev/hda7 ro vga=791 splash=silent  
  110. initrd          /boot/initrd.img-2.6.17-k7-work
  111. savedefault
  112. boot
  113.  
  114. title           Debian GNU/Linux, kernel 2.6.17-k7-work (recovery mode)
  115. root            (hd0,6)
  116. kernel          /boot/vmlinuz-2.6.17-k7-work root=/dev/hda7 ro vga=791 single
  117. initrd          /boot/initrd.img-2.6.17-k7-work
  118. savedefault
  119. boot
  120.  
  121. title           Debian GNU/Linux, kernel 2.6.16-k7
  122. root            (hd0,6)
  123. kernel          /boot/vmlinuz-2.6.16-k7 root=/dev/hda7 ro vga=791
  124. initrd          /boot/initrd.img-2.6.16-k7
  125. savedefault
  126. boot
  127.  
  128. title           Debian GNU/Linux, kernel 2.6.16-k7 (recovery mode)
  129. root            (hd0,6)
  130. kernel          /boot/vmlinuz-2.6.16-k7 root=/dev/hda7 ro vga=791 single
  131. initrd          /boot/initrd.img-2.6.16-k7
  132. savedefault
  133. boot
  134.  
  135. ### END DEBIAN AUTOMAGIC KERNELS LIST
  136.  
  137. # This is a divider, added to separate the menu items below from the Debian
  138. # ones.
  139. title           Other operating systems:
  140. root
  141.  
  142.  
  143. # This entry automatically added by the Debian installer for an existing
  144. # linux installation on /dev/hda8.
  145.  
  146. # This entry automatically added by the Debian installer for a non-linux OS
  147. # on /dev/hda1
  148. title           Windows 95/98/Me
  149. root            (hd0,0)
  150. savedefault
  151. makeactive
  152. chainloader     +1

Quellcode

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