Advertisement
Guest User

Untitled

a guest
Aug 16th, 2013
45
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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_gpt
  61. insmod ext2
  62. set root='hd0,gpt2'
  63. if [ x$feature_platform_search_hint = xy ]; then
  64. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 b6edcad0-c9f4-488f-80a6-9bffc1364154
  65. else
  66. search --no-floppy --fs-uuid --set=root b6edcad0-c9f4-488f-80a6-9bffc1364154
  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. #set_background_image "images/tile.png";
  91.  
  92. set menu_color_normal=white/black
  93. set menu_color_highlight=black/light-gray
  94. if background_color 0,0,0; then
  95. clear
  96. fi
  97. ### END /etc/grub.d/05_debian_theme ###
  98.  
  99. ### BEGIN /etc/grub.d/10_linux ###
  100. function gfxmode {
  101. set gfxpayload="${1}"
  102. if [ "${1}" = "keep" ]; then
  103. set vt_handoff=vt.handoff=7
  104. else
  105. set vt_handoff=
  106. fi
  107. }
  108. if [ "${recordfail}" != 1 ]; then
  109. if [ -e ${prefix}/gfxblacklist.txt ]; then
  110. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  111. if [ ${match} = 0 ]; then
  112. set linux_gfx_mode=keep
  113. else
  114. set linux_gfx_mode=text
  115. fi
  116. else
  117. set linux_gfx_mode=text
  118. fi
  119. else
  120. set linux_gfx_mode=keep
  121. fi
  122. else
  123. set linux_gfx_mode=text
  124. fi
  125. export linux_gfx_mode
  126. menuentry 'Kubuntu GNU/Linux' --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-b6edcad0-c9f4-488f-80a6-9bffc1364154' {
  127. recordfail
  128. load_video
  129. gfxmode $linux_gfx_mode
  130. insmod gzio
  131. insmod part_gpt
  132. insmod ext2
  133. set root='hd0,gpt1'
  134. if [ x$feature_platform_search_hint = xy ]; then
  135. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 cb3f0434-2a68-4f38-8b96-791d7b972636
  136. else
  137. search --no-floppy --fs-uuid --set=root cb3f0434-2a68-4f38-8b96-791d7b972636
  138. fi
  139. linux /vmlinuz-3.8.0-19-generic root=UUID=b6edcad0-c9f4-488f-80a6-9bffc1364154 ro
  140. initrd /initrd.img-3.8.0-19-generic
  141. }
  142. submenu 'Advanced options for Kubuntu GNU/Linux' $menuentry_id_option 'gnulinux-advanced-b6edcad0-c9f4-488f-80a6-9bffc1364154' {
  143. menuentry 'Kubuntu GNU/Linux, with Linux 3.8.0-19-generic' --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-19-generic-advanced-b6edcad0-c9f4-488f-80a6-9bffc1364154' {
  144. recordfail
  145. load_video
  146. gfxmode $linux_gfx_mode
  147. insmod gzio
  148. insmod part_gpt
  149. insmod ext2
  150. set root='hd0,gpt1'
  151. if [ x$feature_platform_search_hint = xy ]; then
  152. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 cb3f0434-2a68-4f38-8b96-791d7b972636
  153. else
  154. search --no-floppy --fs-uuid --set=root cb3f0434-2a68-4f38-8b96-791d7b972636
  155. fi
  156. echo 'Loading Linux 3.8.0-19-generic ...'
  157. linux /vmlinuz-3.8.0-19-generic root=UUID=b6edcad0-c9f4-488f-80a6-9bffc1364154 ro
  158. echo 'Loading initial ramdisk ...'
  159. initrd /initrd.img-3.8.0-19-generic
  160. }
  161. menuentry 'Kubuntu GNU/Linux, with Linux 3.8.0-19-generic (recovery mode)' --class kubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.8.0-19-generic-recovery-b6edcad0-c9f4-488f-80a6-9bffc1364154' {
  162. recordfail
  163. load_video
  164. insmod gzio
  165. insmod part_gpt
  166. insmod ext2
  167. set root='hd0,gpt1'
  168. if [ x$feature_platform_search_hint = xy ]; then
  169. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 cb3f0434-2a68-4f38-8b96-791d7b972636
  170. else
  171. search --no-floppy --fs-uuid --set=root cb3f0434-2a68-4f38-8b96-791d7b972636
  172. fi
  173. echo 'Loading Linux 3.8.0-19-generic ...'
  174. linux /vmlinuz-3.8.0-19-generic root=UUID=b6edcad0-c9f4-488f-80a6-9bffc1364154 ro recovery nomodeset
  175. echo 'Loading initial ramdisk ...'
  176. initrd /initrd.img-3.8.0-19-generic
  177. }
  178. }
  179.  
  180. ### END /etc/grub.d/10_linux ###
  181.  
  182. ### BEGIN /etc/grub.d/20_linux_xen ###
  183.  
  184. ### END /etc/grub.d/20_linux_xen ###
  185.  
  186. ### BEGIN /etc/grub.d/20_memtest86+ ###
  187. ### END /etc/grub.d/20_memtest86+ ###
  188.  
  189. ### BEGIN /etc/grub.d/25_custom ###
  190.  
  191. menuentry "Windows UEFI bkpbootmgfw.efi" {
  192. search --fs-uuid --no-floppy --set=root EB79-9890
  193. chainloader (${root})/EFI/Microsoft/Boot/bkpbootmgfw.efi
  194. }
  195.  
  196. menuentry "Windows Boot UEFI loader" {
  197. search --fs-uuid --no-floppy --set=root EB79-9890
  198. chainloader (${root})/EFI/Boot/bkpbootx64.efi
  199. }
  200.  
  201. menuentry "EFI/refind/refind_x64.efi" {
  202. search --fs-uuid --no-floppy --set=root EB79-9890
  203. chainloader (${root})/EFI/refind/refind_x64.efi
  204. }
  205.  
  206. menuentry "EFI/refind/drivers_x64/ext2_x64.efi" {
  207. search --fs-uuid --no-floppy --set=root EB79-9890
  208. chainloader (${root})/EFI/refind/drivers_x64/ext2_x64.efi
  209. }
  210.  
  211. menuentry "EFI/refind/drivers_x64/hfs_x64.efi" {
  212. search --fs-uuid --no-floppy --set=root EB79-9890
  213. chainloader (${root})/EFI/refind/drivers_x64/hfs_x64.efi
  214. }
  215.  
  216. menuentry "EFI/refind/drivers_x64/iso9660_x64.efi" {
  217. search --fs-uuid --no-floppy --set=root EB79-9890
  218. chainloader (${root})/EFI/refind/drivers_x64/iso9660_x64.efi
  219. }
  220.  
  221. menuentry "EFI/refind/drivers_x64/reiserfs_x64.efi" {
  222. search --fs-uuid --no-floppy --set=root EB79-9890
  223. chainloader (${root})/EFI/refind/drivers_x64/reiserfs_x64.efi
  224. }
  225. ### END /etc/grub.d/25_custom ###
  226.  
  227. ### BEGIN /etc/grub.d/30_os-prober ###
  228. ### END /etc/grub.d/30_os-prober ###
  229.  
  230. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  231. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  232. fwsetup
  233. }
  234. ### END /etc/grub.d/30_uefi-firmware ###
  235.  
  236. ### BEGIN /etc/grub.d/40_custom ###
  237. # This file provides an easy way to add custom menu entries. Simply type the
  238. # menu entries you want to add after this comment. Be careful not to change
  239. # the 'exec tail' line above.
  240. ### END /etc/grub.d/40_custom ###
  241.  
  242. ### BEGIN /etc/grub.d/41_custom ###
  243. if [ -f ${config_directory}/custom.cfg ]; then
  244. source ${config_directory}/custom.cfg
  245. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  246. source $prefix/custom.cfg;
  247. fi
  248. ### END /etc/grub.d/41_custom ###
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement