Guest User

Untitled

a guest
Jul 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.27 KB | None | 0 0
  1. ubuntu@ubuntu:/media/disk/boot/grub$ cat 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 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=UUID=/dev/sda1 ro
  68.  
  69. ## Setup crashdump menu entries
  70. ## e.g. crashdump=1
  71. # crashdump=0
  72.  
  73. ## default grub root device
  74. ## e.g. groot=(hd0,0)
  75. # groot=(hd0,0)
  76.  
  77. ## should update-grub create alternative automagic boot options
  78. ## e.g. alternative=true
  79. ## alternative=false
  80. # alternative=true
  81.  
  82. ## should update-grub lock alternative automagic boot options
  83. ## e.g. lockalternative=true
  84. ## lockalternative=false
  85. # lockalternative=false
  86.  
  87. ## additional options to use with the default boot option, but not with the
  88. ## alternatives
  89. ## e.g. defoptions=vga=791 resume=/dev/hda5
  90. # defoptions=quiet splash
  91.  
  92. ## should update-grub lock old automagic boot options
  93. ## e.g. lockold=false
  94. ## lockold=true
  95. # lockold=false
  96.  
  97. ## Xen hypervisor options to use with the default Xen boot option
  98. # xenhopt=
  99.  
  100. ## Xen Linux kernel options to use with the default Xen boot option
  101. # xenkopt=console=tty0
  102.  
  103. ## altoption boot targets option
  104. ## multiple altoptions lines are allowed
  105. ## e.g. altoptions=(extra menu suffix) extra boot options
  106. ## altoptions=(recovery) single
  107. # altoptions=(recovery mode) single
  108.  
  109. ## controls how many kernels should be put into the menu.lst
  110. ## only counts the first occurence of a kernel, not the
  111. ## alternative kernel options
  112. ## e.g. howmany=all
  113. ## howmany=7
  114. # howmany=all
  115.  
  116. ## should update-grub create memtest86 boot option
  117. ## e.g. memtest86=true
  118. ## memtest86=false
  119. # memtest86=true
  120.  
  121. ## should update-grub adjust the value of the default booted system
  122. ## can be true or false
  123. # updatedefaultentry=false
  124.  
  125. ## should update-grub add savedefault to the default options
  126. ## can be true or false
  127. # savedefault=false
  128.  
  129. ## ## End Default Options ##
  130.  
  131. title Ubuntu 9.04, kernel 2.6.24-19-server
  132. root (hd0,0)
  133. kernel /boot/vmlinuz-2.6.24-19-server root=/dev/sda1 ro quiet splash
  134. initrd /boot/initrd.img-2.6.24-19-server
  135. quiet
  136.  
  137. title Ubuntu 9.04, kernel 2.6.24-19-server (recovery mode)
  138. root (hd0,0)
  139. kernel /boot/vmlinuz-2.6.24-19-server root=UUID=/dev/sda1 ro single
  140. initrd /boot/initrd.img-2.6.24-19-server
  141.  
  142. title Ubuntu 9.04, memtest86+
  143. root (hd0,0)
  144. kernel /boot/memtest86+.bin
  145. quiet
  146.  
  147. ### END DEBIAN AUTOMAGIC KERNELS LIST
Add Comment
Please, Sign In to add comment