Advertisement
Guest User

Untitled

a guest
Feb 14th, 2012
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.33 KB | None | 0 0
  1. #
  2. # DO NOT EDIT THIS FILE
  3. #
  4. # It is automatically generated by grub-mkconfig using templates
  5. # from /etc/grub.d and settings from /etc/default/grub
  6. #
  7.  
  8. ### BEGIN /etc/grub.d/00_header ###
  9. if [ -s $prefix/grubenv ]; then
  10. set have_grubenv=true
  11. load_env
  12. fi
  13. set default="8"
  14. if [ "${prev_saved_entry}" ]; then
  15. set saved_entry="${prev_saved_entry}"
  16. save_env saved_entry
  17. set prev_saved_entry=
  18. save_env prev_saved_entry
  19. set boot_once=true
  20. fi
  21.  
  22. function savedefault {
  23. if [ -z "${boot_once}" ]; then
  24. saved_entry="${chosen}"
  25. save_env saved_entry
  26. fi
  27. }
  28.  
  29. function recordfail {
  30. set recordfail=1
  31. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  32. }
  33.  
  34. function load_video {
  35. insmod vbe
  36. insmod vga
  37. insmod video_bochs
  38. insmod video_cirrus
  39. }
  40.  
  41. insmod part_msdos
  42. insmod ext2
  43. set root='(hd0,msdos7)'
  44. search --no-floppy --fs-uuid --set=root 4edb2da2-1956-42ef-9f0f-851d289c8734
  45. if loadfont /usr/share/grub/unicode.pf2 ; then
  46. set gfxmode=auto
  47. load_video
  48. insmod gfxterm
  49. insmod part_msdos
  50. insmod ext2
  51. set root='(hd0,msdos7)'
  52. search --no-floppy --fs-uuid --set=root 4edb2da2-1956-42ef-9f0f-851d289c8734
  53. set locale_dir=($root)/boot/grub/locale
  54. set lang=en_US
  55. insmod gettext
  56. fi
  57. terminal_output gfxterm
  58. if [ "${recordfail}" = 1 ]; then
  59. set timeout=-1
  60. else
  61. set timeout=3
  62. fi
  63. ### END /etc/grub.d/00_header ###
  64.  
  65. ### BEGIN /etc/grub.d/05_debian_theme ###
  66. set menu_color_normal=white/black
  67. set menu_color_highlight=black/light-gray
  68. ### END /etc/grub.d/05_debian_theme ###
  69.  
  70. ### BEGIN /etc/grub.d/10_linux ###
  71. if [ ${recordfail} != 1 ]; then
  72. if [ -e ${prefix}/gfxblacklist.txt ]; then
  73. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  74. if [ ${match} = 0 ]; then
  75. set linux_gfx_mode=keep
  76. else
  77. set linux_gfx_mode=text
  78. fi
  79. else
  80. set linux_gfx_mode=text
  81. fi
  82. else
  83. set linux_gfx_mode=keep
  84. fi
  85. else
  86. set linux_gfx_mode=text
  87. fi
  88. export linux_gfx_mode
  89. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  90. menuentry 'Ubuntu, with Linux 3.0.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  91. recordfail
  92. set gfxpayload=$linux_gfx_mode
  93. insmod gzio
  94. insmod part_msdos
  95. insmod ext2
  96. set root='(hd0,msdos7)'
  97. search --no-floppy --fs-uuid --set=root 4edb2da2-1956-42ef-9f0f-851d289c8734
  98. linux /boot/vmlinuz-3.0.0-15-generic root=UUID=4edb2da2-1956-42ef-9f0f-851d289c8734 ro quiet splash vt.handoff=7
  99. initrd /boot/initrd.img-3.0.0-15-generic
  100. }
  101. menuentry 'Ubuntu, with Linux 3.0.0-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  102. recordfail
  103. insmod gzio
  104. insmod part_msdos
  105. insmod ext2
  106. set root='(hd0,msdos7)'
  107. search --no-floppy --fs-uuid --set=root 4edb2da2-1956-42ef-9f0f-851d289c8734
  108. echo 'Loading Linux 3.0.0-15-generic ...'
  109. linux /boot/vmlinuz-3.0.0-15-generic root=UUID=4edb2da2-1956-42ef-9f0f-851d289c8734 ro recovery nomodeset
  110. echo 'Loading initial ramdisk ...'
  111. initrd /boot/initrd.img-3.0.0-15-generic
  112. }
  113. submenu "Previous Linux versions" {
  114. menuentry 'Ubuntu, with Linux 3.0.0-14-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  115. recordfail
  116. set gfxpayload=$linux_gfx_mode
  117. insmod gzio
  118. insmod part_msdos
  119. insmod ext2
  120. set root='(hd0,msdos7)'
  121. search --no-floppy --fs-uuid --set=root 4edb2da2-1956-42ef-9f0f-851d289c8734
  122. linux /boot/vmlinuz-3.0.0-14-generic root=UUID=4edb2da2-1956-42ef-9f0f-851d289c8734 ro quiet splash vt.handoff=7
  123. initrd /boot/initrd.img-3.0.0-14-generic
  124. }
  125. menuentry 'Ubuntu, with Linux 3.0.0-14-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  126. recordfail
  127. insmod gzio
  128. insmod part_msdos
  129. insmod ext2
  130. set root='(hd0,msdos7)'
  131. search --no-floppy --fs-uuid --set=root 4edb2da2-1956-42ef-9f0f-851d289c8734
  132. echo 'Loading Linux 3.0.0-14-generic ...'
  133. linux /boot/vmlinuz-3.0.0-14-generic root=UUID=4edb2da2-1956-42ef-9f0f-851d289c8734 ro recovery nomodeset
  134. echo 'Loading initial ramdisk ...'
  135. initrd /boot/initrd.img-3.0.0-14-generic
  136. }
  137. menuentry 'Ubuntu, with Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  138. recordfail
  139. set gfxpayload=$linux_gfx_mode
  140. insmod gzio
  141. insmod part_msdos
  142. insmod ext2
  143. set root='(hd0,msdos7)'
  144. search --no-floppy --fs-uuid --set=root 4edb2da2-1956-42ef-9f0f-851d289c8734
  145. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=4edb2da2-1956-42ef-9f0f-851d289c8734 ro quiet splash vt.handoff=7
  146. initrd /boot/initrd.img-3.0.0-12-generic
  147. }
  148. menuentry 'Ubuntu, with Linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  149. recordfail
  150. insmod gzio
  151. insmod part_msdos
  152. insmod ext2
  153. set root='(hd0,msdos7)'
  154. search --no-floppy --fs-uuid --set=root 4edb2da2-1956-42ef-9f0f-851d289c8734
  155. echo 'Loading Linux 3.0.0-12-generic ...'
  156. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=4edb2da2-1956-42ef-9f0f-851d289c8734 ro recovery nomodeset
  157. echo 'Loading initial ramdisk ...'
  158. initrd /boot/initrd.img-3.0.0-12-generic
  159. }
  160. }
  161. ### END /etc/grub.d/10_linux ###
  162.  
  163. ### BEGIN /etc/grub.d/20_linux_xen ###
  164. ### END /etc/grub.d/20_linux_xen ###
  165.  
  166. ### BEGIN /etc/grub.d/20_memtest86+ ###
  167. menuentry "Memory test (memtest86+)" {
  168. insmod part_msdos
  169. insmod ext2
  170. set root='(hd0,msdos7)'
  171. search --no-floppy --fs-uuid --set=root 4edb2da2-1956-42ef-9f0f-851d289c8734
  172. linux16 /boot/memtest86+.bin
  173. }
  174. menuentry "Memory test (memtest86+, serial console 115200)" {
  175. insmod part_msdos
  176. insmod ext2
  177. set root='(hd0,msdos7)'
  178. search --no-floppy --fs-uuid --set=root 4edb2da2-1956-42ef-9f0f-851d289c8734
  179. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  180. }
  181. ### END /etc/grub.d/20_memtest86+ ###
  182.  
  183. ### BEGIN /etc/grub.d/30_os-prober ###
  184. menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
  185. insmod part_msdos
  186. insmod fat
  187. set root='(hd0,msdos1)'
  188. search --no-floppy --fs-uuid --set=root 12f6-1a01
  189. chainloader +1
  190. }
  191. ### END /etc/grub.d/30_os-prober ###
  192.  
  193. ### BEGIN /etc/grub.d/40_custom ###
  194. # This file provides an easy way to add custom menu entries. Simply type the
  195. # menu entries you want to add after this comment. Be careful not to change
  196. # the 'exec tail' line above.
  197. ### END /etc/grub.d/40_custom ###
  198.  
  199. ### BEGIN /etc/grub.d/41_custom ###
  200. if [ -f $prefix/custom.cfg ]; then
  201. source $prefix/custom.cfg;
  202. fi
  203. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement