Guest User

Untitled

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