spacepaste

  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. ### BEGIN /etc/grub.d/00_header ###
  9. if [ -s $prefix/grubenv ]; then
  10. load_env
  11. fi
  12. if [ "${next_entry}" ] ; then
  13. set default="${next_entry}"
  14. set next_entry=
  15. save_env next_entry
  16. set boot_once=true
  17. else
  18. set default="0"
  19. fi
  20. if [ x"${feature_menuentry_id}" = xy ]; then
  21. menuentry_id_option="--id"
  22. else
  23. menuentry_id_option=""
  24. fi
  25. export menuentry_id_option
  26. if [ "${prev_saved_entry}" ]; then
  27. set saved_entry="${prev_saved_entry}"
  28. save_env saved_entry
  29. set prev_saved_entry=
  30. save_env prev_saved_entry
  31. set boot_once=true
  32. fi
  33. function savedefault {
  34. if [ -z "${boot_once}" ]; then
  35. saved_entry="${chosen}"
  36. save_env saved_entry
  37. fi
  38. }
  39. function load_video {
  40. if [ x$feature_all_video_module = xy ]; then
  41. insmod all_video
  42. else
  43. insmod efi_gop
  44. insmod efi_uga
  45. insmod ieee1275_fb
  46. insmod vbe
  47. insmod vga
  48. insmod video_bochs
  49. insmod video_cirrus
  50. fi
  51. }
  52. if [ x$feature_default_font_path = xy ] ; then
  53. font=unicode
  54. else
  55. insmod part_msdos
  56. insmod ext2
  57. set root='hd0,msdos2'
  58. if [ x$feature_platform_search_hint = xy ]; then
  59. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 8a791177-b004-4719-a29a-9f0d9da28b36
  60. else
  61. search --no-floppy --fs-uuid --set=root 8a791177-b004-4719-a29a-9f0d9da28b36
  62. fi
  63. font="/usr/share/grub/unicode.pf2"
  64. fi
  65. if loadfont $font ; then
  66. set gfxmode=auto
  67. load_video
  68. insmod gfxterm
  69. set locale_dir=$prefix/locale
  70. set lang=en_AU
  71. insmod gettext
  72. fi
  73. terminal_output gfxterm
  74. insmod part_msdos
  75. insmod ext2
  76. set root='hd0,msdos2'
  77. if [ x$feature_platform_search_hint = xy ]; then
  78. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 8a791177-b004-4719-a29a-9f0d9da28b36
  79. else
  80. search --no-floppy --fs-uuid --set=root 8a791177-b004-4719-a29a-9f0d9da28b36
  81. fi
  82. insmod gfxmenu
  83. loadfont ($root)/usr/share/grub/themes/ask-larry/dejavu_20.pf2
  84. loadfont ($root)/usr/share/grub/themes/ask-larry/dejavu_24.pf2
  85. loadfont ($root)/usr/share/grub/themes/ask-larry/dejavu_bold_24.pf2
  86. loadfont ($root)/usr/share/grub/themes/ask-larry/dejavu_bold_26.pf2
  87. insmod png
  88. set theme=($root)/usr/share/grub/themes/ask-larry/theme_normal.txt
  89. export theme
  90. if [ x$feature_timeout_style = xy ] ; then
  91. set timeout_style=menu
  92. set timeout=5
  93. # Fallback normal timeout code in case the timeout_style feature is
  94. # unavailable.
  95. else
  96. set timeout=5
  97. fi
  98. ### END /etc/grub.d/00_header ###
  99. ### BEGIN /etc/grub.d/10_linux ###
  100. menuentry 'Gentoo GNU/Linux, with Linux 4.11.6-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.11.6-gentoo-advanced-8a791177-b004-4719-a29a-9f0d9da28b36' {
  101. load_video
  102. if [ "x$grub_platform" = xefi ]; then
  103. set gfxpayload=keep
  104. fi
  105. insmod gzio
  106. insmod part_msdos
  107. insmod fat
  108. set root='hd0,msdos1'
  109. if [ x$feature_platform_search_hint = xy ]; then
  110. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 F2ED-6243
  111. else
  112. search --no-floppy --fs-uuid --set=root F2ED-6243
  113. fi
  114. echo 'Loading Linux 4.11.6-gentoo ...'
  115. linux /vmlinuz-4.11.6-gentoo root=UUID=8a791177-b004-4719-a29a-9f0d9da28b36 ro init=/usr/lib/systemd/systemd
  116. echo 'Loading initial ramdisk ...'
  117. initrd /initramfs-4.11.6-gentoo.img
  118. }
  119. menuentry 'Gentoo GNU/Linux, with Linux 4.11.6-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.11.6-gentoo-recovery-8a791177-b004-4719-a29a-9f0d9da28b36' {
  120. load_video
  121. if [ "x$grub_platform" = xefi ]; then
  122. set gfxpayload=keep
  123. fi
  124. insmod gzio
  125. insmod part_msdos
  126. insmod fat
  127. set root='hd0,msdos1'
  128. if [ x$feature_platform_search_hint = xy ]; then
  129. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 F2ED-6243
  130. else
  131. search --no-floppy --fs-uuid --set=root F2ED-6243
  132. fi
  133. echo 'Loading Linux 4.11.6-gentoo ...'
  134. linux /vmlinuz-4.11.6-gentoo root=UUID=8a791177-b004-4719-a29a-9f0d9da28b36 ro single init=/usr/lib/systemd/systemd
  135. echo 'Loading initial ramdisk ...'
  136. initrd /initramfs-4.11.6-gentoo.img
  137. }
  138. menuentry 'Gentoo GNU/Linux, with Linux 4.11.6-ck' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.11.6-ck-advanced-8a791177-b004-4719-a29a-9f0d9da28b36' {
  139. load_video
  140. if [ "x$grub_platform" = xefi ]; then
  141. set gfxpayload=keep
  142. fi
  143. insmod gzio
  144. insmod part_msdos
  145. insmod fat
  146. set root='hd0,msdos1'
  147. if [ x$feature_platform_search_hint = xy ]; then
  148. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 F2ED-6243
  149. else
  150. search --no-floppy --fs-uuid --set=root F2ED-6243
  151. fi
  152. echo 'Loading Linux 4.11.6-ck ...'
  153. linux /vmlinuz-4.11.6-ck root=UUID=8a791177-b004-4719-a29a-9f0d9da28b36 ro init=/usr/lib/systemd/systemd
  154. echo 'Loading initial ramdisk ...'
  155. initrd /initramfs-4.11.6-ck.img
  156. }
  157. menuentry 'Gentoo GNU/Linux, with Linux 4.11.6-ck (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.11.6-ck-recovery-8a791177-b004-4719-a29a-9f0d9da28b36' {
  158. load_video
  159. if [ "x$grub_platform" = xefi ]; then
  160. set gfxpayload=keep
  161. fi
  162. insmod gzio
  163. insmod part_msdos
  164. insmod fat
  165. set root='hd0,msdos1'
  166. if [ x$feature_platform_search_hint = xy ]; then
  167. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 F2ED-6243
  168. else
  169. search --no-floppy --fs-uuid --set=root F2ED-6243
  170. fi
  171. echo 'Loading Linux 4.11.6-ck ...'
  172. linux /vmlinuz-4.11.6-ck root=UUID=8a791177-b004-4719-a29a-9f0d9da28b36 ro single init=/usr/lib/systemd/systemd
  173. echo 'Loading initial ramdisk ...'
  174. initrd /initramfs-4.11.6-ck.img
  175. }
  176. menuentry 'Gentoo GNU/Linux, with Linux 4.11.5-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.11.5-gentoo-advanced-8a791177-b004-4719-a29a-9f0d9da28b36' {
  177. load_video
  178. if [ "x$grub_platform" = xefi ]; then
  179. set gfxpayload=keep
  180. fi
  181. insmod gzio
  182. insmod part_msdos
  183. insmod fat
  184. set root='hd0,msdos1'
  185. if [ x$feature_platform_search_hint = xy ]; then
  186. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 F2ED-6243
  187. else
  188. search --no-floppy --fs-uuid --set=root F2ED-6243
  189. fi
  190. echo 'Loading Linux 4.11.5-gentoo ...'
  191. linux /vmlinuz-4.11.5-gentoo root=UUID=8a791177-b004-4719-a29a-9f0d9da28b36 ro init=/usr/lib/systemd/systemd
  192. echo 'Loading initial ramdisk ...'
  193. initrd /initramfs-4.11.5-gentoo.img
  194. }
  195. menuentry 'Gentoo GNU/Linux, with Linux 4.11.5-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.11.5-gentoo-recovery-8a791177-b004-4719-a29a-9f0d9da28b36' {
  196. load_video
  197. if [ "x$grub_platform" = xefi ]; then
  198. set gfxpayload=keep
  199. fi
  200. insmod gzio
  201. insmod part_msdos
  202. insmod fat
  203. set root='hd0,msdos1'
  204. if [ x$feature_platform_search_hint = xy ]; then
  205. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 F2ED-6243
  206. else
  207. search --no-floppy --fs-uuid --set=root F2ED-6243
  208. fi
  209. echo 'Loading Linux 4.11.5-gentoo ...'
  210. linux /vmlinuz-4.11.5-gentoo root=UUID=8a791177-b004-4719-a29a-9f0d9da28b36 ro single init=/usr/lib/systemd/systemd
  211. echo 'Loading initial ramdisk ...'
  212. initrd /initramfs-4.11.5-gentoo.img
  213. }
  214. menuentry 'Gentoo GNU/Linux, with Linux 4.11.5-ck' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.11.5-ck-advanced-8a791177-b004-4719-a29a-9f0d9da28b36' {
  215. load_video
  216. if [ "x$grub_platform" = xefi ]; then
  217. set gfxpayload=keep
  218. fi
  219. insmod gzio
  220. insmod part_msdos
  221. insmod fat
  222. set root='hd0,msdos1'
  223. if [ x$feature_platform_search_hint = xy ]; then
  224. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 F2ED-6243
  225. else
  226. search --no-floppy --fs-uuid --set=root F2ED-6243
  227. fi
  228. echo 'Loading Linux 4.11.5-ck ...'
  229. linux /vmlinuz-4.11.5-ck root=UUID=8a791177-b004-4719-a29a-9f0d9da28b36 ro init=/usr/lib/systemd/systemd
  230. echo 'Loading initial ramdisk ...'
  231. initrd /initramfs-4.11.5-ck.img
  232. }
  233. menuentry 'Gentoo GNU/Linux, with Linux 4.11.5-ck (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.11.5-ck-recovery-8a791177-b004-4719-a29a-9f0d9da28b36' {
  234. load_video
  235. if [ "x$grub_platform" = xefi ]; then
  236. set gfxpayload=keep
  237. fi
  238. insmod gzio
  239. insmod part_msdos
  240. insmod fat
  241. set root='hd0,msdos1'
  242. if [ x$feature_platform_search_hint = xy ]; then
  243. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 F2ED-6243
  244. else
  245. search --no-floppy --fs-uuid --set=root F2ED-6243
  246. fi
  247. echo 'Loading Linux 4.11.5-ck ...'
  248. linux /vmlinuz-4.11.5-ck root=UUID=8a791177-b004-4719-a29a-9f0d9da28b36 ro single init=/usr/lib/systemd/systemd
  249. echo 'Loading initial ramdisk ...'
  250. initrd /initramfs-4.11.5-ck.img
  251. }
  252. ### END /etc/grub.d/10_linux ###
  253. ### BEGIN /etc/grub.d/20_linux_xen ###
  254. ### END /etc/grub.d/20_linux_xen ###
  255. ### BEGIN /etc/grub.d/30_os-prober ###
  256. menuentry 'Arch Linux (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--1db96616-a88a-42a6-9283-a57016bba4c9' {
  257. insmod part_gpt
  258. insmod ext2
  259. set root='hd1,gpt2'
  260. if [ x$feature_platform_search_hint = xy ]; then
  261. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 1db96616-a88a-42a6-9283-a57016bba4c9
  262. else
  263. search --no-floppy --fs-uuid --set=root 1db96616-a88a-42a6-9283-a57016bba4c9
  264. fi
  265. linux /boot/vmlinuz-linux root=UUID=1db96616-a88a-42a6-9283-a57016bba4c9 rw quiet
  266. initrd /boot/initramfs-linux.img
  267. }
  268. menuentry 'Arch Linux, with Linux linux (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--1db96616-a88a-42a6-9283-a57016bba4c9' {
  269. insmod part_gpt
  270. insmod ext2
  271. set root='hd1,gpt2'
  272. if [ x$feature_platform_search_hint = xy ]; then
  273. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 1db96616-a88a-42a6-9283-a57016bba4c9
  274. else
  275. search --no-floppy --fs-uuid --set=root 1db96616-a88a-42a6-9283-a57016bba4c9
  276. fi
  277. linux /boot/vmlinuz-linux root=UUID=1db96616-a88a-42a6-9283-a57016bba4c9 rw quiet
  278. initrd /boot/initramfs-linux.img
  279. }
  280. menuentry 'Arch Linux, with Linux linux (fallback initramfs) (on /dev/sdb2)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-linux--1db96616-a88a-42a6-9283-a57016bba4c9' {
  281. insmod part_gpt
  282. insmod ext2
  283. set root='hd1,gpt2'
  284. if [ x$feature_platform_search_hint = xy ]; then
  285. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 1db96616-a88a-42a6-9283-a57016bba4c9
  286. else
  287. search --no-floppy --fs-uuid --set=root 1db96616-a88a-42a6-9283-a57016bba4c9
  288. fi
  289. linux /boot/vmlinuz-linux root=UUID=1db96616-a88a-42a6-9283-a57016bba4c9 rw quiet
  290. initrd /boot/initramfs-linux-fallback.img
  291. }
  292. ### END /etc/grub.d/30_os-prober ###
  293. ### BEGIN /etc/grub.d/40_custom ###
  294. # This file provides an easy way to add custom menu entries. Simply type the
  295. # menu entries you want to add after this comment. Be careful not to change
  296. # the 'exec tail' line above.
  297. ### END /etc/grub.d/40_custom ###
  298. ### BEGIN /etc/grub.d/41_custom ###
  299. if [ -f ${config_directory}/custom.cfg ]; then
  300. source ${config_directory}/custom.cfg
  301. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  302. source $prefix/custom.cfg;
  303. fi
  304. ### END /etc/grub.d/41_custom ###
  305.