Advertisement
Guest User

Untitled

a guest
Sep 11th, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.76 KB | None | 0 0
  1.  
  2. #
  3. # DO NOT EDIT THIS FILE
  4. #
  5. # It is automatically generated by grub-mkconfig using templates
  6. # from /etc/grub.d and settings from /etc/default/grub
  7. #
  8.  
  9. ### BEGIN /etc/grub.d/00_header ###
  10. if [ -s $prefix/grubenv ]; then
  11. set have_grubenv=true
  12. load_env
  13. fi
  14. if [ "${next_entry}" ] ; then
  15. set default="${next_entry}"
  16. set next_entry=
  17. save_env next_entry
  18. set boot_once=true
  19. else
  20. set default="0"
  21. fi
  22.  
  23. if [ x"${feature_menuentry_id}" = xy ]; then
  24. menuentry_id_option="--id"
  25. else
  26. menuentry_id_option=""
  27. fi
  28.  
  29. export menuentry_id_option
  30.  
  31. if [ "${prev_saved_entry}" ]; then
  32. set saved_entry="${prev_saved_entry}"
  33. save_env saved_entry
  34. set prev_saved_entry=
  35. save_env prev_saved_entry
  36. set boot_once=true
  37. fi
  38.  
  39. function savedefault {
  40. if [ -z "${boot_once}" ]; then
  41. saved_entry="${chosen}"
  42. save_env saved_entry
  43. fi
  44. }
  45. function recordfail {
  46. set recordfail=1
  47. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  48. }
  49. function load_video {
  50. if [ x$feature_all_video_module = xy ]; then
  51. insmod all_video
  52. else
  53. insmod efi_gop
  54. insmod efi_uga
  55. insmod ieee1275_fb
  56. insmod vbe
  57. insmod vga
  58. insmod video_bochs
  59. insmod video_cirrus
  60. fi
  61. }
  62.  
  63. if [ x$feature_default_font_path = xy ] ; then
  64. font=unicode
  65. else
  66. insmod part_msdos
  67. insmod ext2
  68. set root='hd0,msdos5'
  69. if [ x$feature_platform_search_hint = xy ]; then
  70. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 50b90162-537b-4202-b0e5-8457e0191c30
  71. else
  72. search --no-floppy --fs-uuid --set=root 50b90162-537b-4202-b0e5-8457e0191c30
  73. fi
  74. font="/usr/share/grub/unicode.pf2"
  75. fi
  76.  
  77. if loadfont $font ; then
  78. set gfxmode=auto
  79. load_video
  80. insmod gfxterm
  81. set locale_dir=$prefix/locale
  82. set lang=en_US
  83. insmod gettext
  84. fi
  85. terminal_output gfxterm
  86. if [ "${recordfail}" = 1 ] ; then
  87. set timeout=-1
  88. else
  89. Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
  90. if [ x$feature_timeout_style = xy ] ; then
  91. set timeout_style=hidden
  92. set timeout=0
  93. # Fallback hidden-timeout code in case the timeout_style feature is
  94. # unavailable.
  95. elif sleep --interruptible 0 ; then
  96. set timeout=0
  97. fi
  98. fi
  99. ### END /etc/grub.d/00_header ###
  100.  
  101. ### BEGIN /etc/grub.d/05_debian_theme ###
  102. set menu_color_normal=white/black
  103. set menu_color_highlight=black/light-gray
  104. ### END /etc/grub.d/05_debian_theme ###
  105.  
  106. ### BEGIN /etc/grub.d/06_mint_theme ###
  107. set menu_color_normal=white/black
  108. set menu_color_highlight=white/light-gray
  109. ### END /etc/grub.d/06_mint_theme ###
  110.  
  111. ### BEGIN /etc/grub.d/10_linux ###
  112. function gfxmode {
  113. set gfxpayload="$1"
  114. if [ "$1" = "keep" ]; then
  115. set vt_handoff=vt.handoff=7
  116. else
  117. set vt_handoff=
  118. fi
  119. }
  120. if [ ${recordfail} != 1 ]; then
  121. if [ -e ${prefix}/gfxblacklist.txt ]; then
  122. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  123. if [ ${match} = 0 ]; then
  124. set linux_gfx_mode=keep
  125. else
  126. set linux_gfx_mode=text
  127. fi
  128. else
  129. set linux_gfx_mode=text
  130. fi
  131. else
  132. set linux_gfx_mode=keep
  133. fi
  134. else
  135. set linux_gfx_mode=text
  136. fi
  137. export linux_gfx_mode
  138. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  139. Found linux image: /boot/vmlinuz-3.13.0-24-generic
  140. Found initrd image: /boot/initrd.img-3.13.0-24-generic
  141. menuentry 'Linux Mint 17 Cinnamon 64-bit, 3.13.0-24-generic (/dev/sda5)' --class ubuntu --class gnu-linux --class gnu --class os {
  142. recordfail
  143. gfxmode $linux_gfx_mode
  144. insmod gzio
  145. insmod part_msdos
  146. insmod ext2
  147. set root='hd0,msdos5'
  148. if [ x$feature_platform_search_hint = xy ]; then
  149. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 50b90162-537b-4202-b0e5-8457e0191c30
  150. else
  151. search --no-floppy --fs-uuid --set=root 50b90162-537b-4202-b0e5-8457e0191c30
  152. fi
  153. linux /boot/vmlinuz-3.13.0-24-generic root=UUID=50b90162-537b-4202-b0e5-8457e0191c30 ro quiet splash $vt_handoff
  154. initrd /boot/initrd.img-3.13.0-24-generic
  155. }
  156. menuentry 'Linux Mint 17 Cinnamon 64-bit, 3.13.0-24-generic (/dev/sda5) -- recovery mode' --class ubuntu --class gnu-linux --class gnu --class os {
  157. recordfail
  158. insmod gzio
  159. insmod part_msdos
  160. insmod ext2
  161. set root='hd0,msdos5'
  162. if [ x$feature_platform_search_hint = xy ]; then
  163. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 50b90162-537b-4202-b0e5-8457e0191c30
  164. else
  165. search --no-floppy --fs-uuid --set=root 50b90162-537b-4202-b0e5-8457e0191c30
  166. fi
  167. echo 'Loading Linux 3.13.0-24-generic ...'
  168. linux /boot/vmlinuz-3.13.0-24-generic root=UUID=50b90162-537b-4202-b0e5-8457e0191c30 ro recovery nomodeset
  169. echo 'Loading initial ramdisk ...'
  170. initrd /boot/initrd.img-3.13.0-24-generic
  171. }
  172. ### END /etc/grub.d/10_linux ###
  173.  
  174. ### BEGIN /etc/grub.d/10_lupin ###
  175. ### END /etc/grub.d/10_lupin ###
  176.  
  177. ### BEGIN /etc/grub.d/20_linux_xen ###
  178.  
  179. ### END /etc/grub.d/20_linux_xen ###
  180.  
  181. ### BEGIN /etc/grub.d/20_memtest86+ ###
  182. Found memtest86+ image: /boot/memtest86+.elf
  183. menuentry 'Memory test (memtest86+)' {
  184. insmod part_msdos
  185. insmod ext2
  186. set root='hd0,msdos5'
  187. if [ x$feature_platform_search_hint = xy ]; then
  188. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 50b90162-537b-4202-b0e5-8457e0191c30
  189. else
  190. search --no-floppy --fs-uuid --set=root 50b90162-537b-4202-b0e5-8457e0191c30
  191. fi
  192. knetbsd /boot/memtest86+.elf
  193. }
  194. Found memtest86+ image: /boot/memtest86+.bin
  195. menuentry 'Memory test (memtest86+, serial console 115200)' {
  196. insmod part_msdos
  197. insmod ext2
  198. set root='hd0,msdos5'
  199. if [ x$feature_platform_search_hint = xy ]; then
  200. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 50b90162-537b-4202-b0e5-8457e0191c30
  201. else
  202. search --no-floppy --fs-uuid --set=root 50b90162-537b-4202-b0e5-8457e0191c30
  203. fi
  204. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  205. }
  206. ### END /etc/grub.d/20_memtest86+ ###
  207.  
  208. ### BEGIN /etc/grub.d/30_os-prober ###
  209. No volume groups found
  210. ### END /etc/grub.d/30_os-prober ###
  211.  
  212. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  213. ### END /etc/grub.d/30_uefi-firmware ###
  214.  
  215. ### BEGIN /etc/grub.d/40_custom ###
  216. # This file provides an easy way to add custom menu entries. Simply type the
  217. # menu entries you want to add after this comment. Be careful not to change
  218. # the 'exec tail' line above.
  219. ### END /etc/grub.d/40_custom ###
  220.  
  221. ### BEGIN /etc/grub.d/41_custom ###
  222. if [ -f ${config_directory}/custom.cfg ]; then
  223. source ${config_directory}/custom.cfg
  224. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  225. source $prefix/custom.cfg;
  226. fi
  227. ### END /etc/grub.d/41_custom ###
  228. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement