Guest User

Untitled

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