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 xfs
  57. set root='hd0,msdos4'
  58. if [ x$feature_platform_search_hint = xy ]; then
  59. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos4 --hint-efi=hd0,msdos4 --hint-baremetal=ahci0,msdos4 df3ffa31-5e29-4b0e-85c7-f0f8cabee3af
  60. else
  61. search --no-floppy --fs-uuid --set=root df3ffa31-5e29-4b0e-85c7-f0f8cabee3af
  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_US
  71. insmod gettext
  72. fi
  73. terminal_output gfxterm
  74. if [ x$feature_timeout_style = xy ] ; then
  75. set timeout_style=menu
  76. set timeout=5
  77. # Fallback normal timeout code in case the timeout_style feature is
  78. # unavailable.
  79. else
  80. set timeout=5
  81. fi
  82. ### END /etc/grub.d/00_header ###
  83. ### BEGIN /etc/grub.d/10_linux ###
  84. menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-df3ffa31-5e29-4b0e-85c7-f0f8cabee3af' {
  85. load_video
  86. if [ "x$grub_platform" = xefi ]; then
  87. set gfxpayload=keep
  88. fi
  89. insmod gzio
  90. insmod part_msdos
  91. insmod ext2
  92. set root='hd0,msdos3'
  93. if [ x$feature_platform_search_hint = xy ]; then
  94. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 8f19e2ef-735b-4984-abf8-e069a1e9375e
  95. else
  96. search --no-floppy --fs-uuid --set=root 8f19e2ef-735b-4984-abf8-e069a1e9375e
  97. fi
  98. echo 'Loading Linux x86_64-4.9.16-gentoo ...'
  99. linux /kernel-genkernel-x86_64-4.9.16-gentoo root=UUID=df3ffa31-5e29-4b0e-85c7-f0f8cabee3af ro
  100. echo 'Loading initial ramdisk ...'
  101. initrd /initramfs-genkernel-x86_64-4.9.16-gentoo
  102. }
  103. submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-df3ffa31-5e29-4b0e-85c7-f0f8cabee3af' {
  104. menuentry 'Gentoo GNU/Linux, with Linux x86_64-4.9.16-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.9.16-gentoo-advanced-df3ffa31-5e29-4b0e-85c7-f0f8cabee3af' {
  105. load_video
  106. if [ "x$grub_platform" = xefi ]; then
  107. set gfxpayload=keep
  108. fi
  109. insmod gzio
  110. insmod part_msdos
  111. insmod ext2
  112. set root='hd0,msdos3'
  113. if [ x$feature_platform_search_hint = xy ]; then
  114. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 8f19e2ef-735b-4984-abf8-e069a1e9375e
  115. else
  116. search --no-floppy --fs-uuid --set=root 8f19e2ef-735b-4984-abf8-e069a1e9375e
  117. fi
  118. echo 'Loading Linux x86_64-4.9.16-gentoo ...'
  119. linux /kernel-genkernel-x86_64-4.9.16-gentoo root=UUID=df3ffa31-5e29-4b0e-85c7-f0f8cabee3af ro
  120. echo 'Loading initial ramdisk ...'
  121. initrd /initramfs-genkernel-x86_64-4.9.16-gentoo
  122. }
  123. menuentry 'Gentoo GNU/Linux, with Linux x86_64-4.9.16-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.9.16-gentoo-recovery-df3ffa31-5e29-4b0e-85c7-f0f8cabee3af' {
  124. load_video
  125. if [ "x$grub_platform" = xefi ]; then
  126. set gfxpayload=keep
  127. fi
  128. insmod gzio
  129. insmod part_msdos
  130. insmod ext2
  131. set root='hd0,msdos3'
  132. if [ x$feature_platform_search_hint = xy ]; then
  133. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 8f19e2ef-735b-4984-abf8-e069a1e9375e
  134. else
  135. search --no-floppy --fs-uuid --set=root 8f19e2ef-735b-4984-abf8-e069a1e9375e
  136. fi
  137. echo 'Loading Linux x86_64-4.9.16-gentoo ...'
  138. linux /kernel-genkernel-x86_64-4.9.16-gentoo root=UUID=df3ffa31-5e29-4b0e-85c7-f0f8cabee3af ro single
  139. echo 'Loading initial ramdisk ...'
  140. initrd /initramfs-genkernel-x86_64-4.9.16-gentoo
  141. }
  142. menuentry 'Gentoo GNU/Linux, with Linux 4.11.3-ck-r1' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.11.3-ck-r1-advanced-df3ffa31-5e29-4b0e-85c7-f0f8cabee3af' {
  143. load_video
  144. insmod gzio
  145. insmod part_msdos
  146. insmod ext2
  147. set root='hd0,msdos3'
  148. if [ x$feature_platform_search_hint = xy ]; then
  149. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 8f19e2ef-735b-4984-abf8-e069a1e9375e
  150. else
  151. search --no-floppy --fs-uuid --set=root 8f19e2ef-735b-4984-abf8-e069a1e9375e
  152. fi
  153. echo 'Loading Linux 4.11.3-ck-r1 ...'
  154. linux /vmlinuz-4.11.3-ck-r1 root=UUID=df3ffa31-5e29-4b0e-85c7-f0f8cabee3af ro
  155. echo 'Loading initial ramdisk ...'
  156. initrd /initramfs-genkernel-x86_64-4.11.3-ck-r1
  157. }
  158. menuentry 'Gentoo GNU/Linux, with Linux 4.11.3-ck-r1 (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.11.3-ck-r1-recovery-df3ffa31-5e29-4b0e-85c7-f0f8cabee3af' {
  159. load_video
  160. insmod gzio
  161. insmod part_msdos
  162. insmod ext2
  163. set root='hd0,msdos3'
  164. if [ x$feature_platform_search_hint = xy ]; then
  165. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 8f19e2ef-735b-4984-abf8-e069a1e9375e
  166. else
  167. search --no-floppy --fs-uuid --set=root 8f19e2ef-735b-4984-abf8-e069a1e9375e
  168. fi
  169. echo 'Loading Linux 4.11.3-ck-r1 ...'
  170. linux /vmlinuz-4.11.3-ck-r1 root=UUID=df3ffa31-5e29-4b0e-85c7-f0f8cabee3af ro single
  171. echo 'Loading initial ramdisk ...'
  172. initrd /initramfs-genkernel-x86_64-4.11.3-ck-r1
  173. }
  174. menuentry 'Gentoo GNU/Linux, with Linux 4.11.3-ck-r1.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.11.3-ck-r1.old-advanced-df3ffa31-5e29-4b0e-85c7-f0f8cabee3af' {
  175. load_video
  176. insmod gzio
  177. insmod part_msdos
  178. insmod ext2
  179. set root='hd0,msdos3'
  180. if [ x$feature_platform_search_hint = xy ]; then
  181. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 8f19e2ef-735b-4984-abf8-e069a1e9375e
  182. else
  183. search --no-floppy --fs-uuid --set=root 8f19e2ef-735b-4984-abf8-e069a1e9375e
  184. fi
  185. echo 'Loading Linux 4.11.3-ck-r1.old ...'
  186. linux /vmlinuz-4.11.3-ck-r1.old root=UUID=df3ffa31-5e29-4b0e-85c7-f0f8cabee3af ro
  187. echo 'Loading initial ramdisk ...'
  188. initrd /initramfs-genkernel-x86_64-4.11.3-ck-r1
  189. }
  190. menuentry 'Gentoo GNU/Linux, with Linux 4.11.3-ck-r1.old (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.11.3-ck-r1.old-recovery-df3ffa31-5e29-4b0e-85c7-f0f8cabee3af' {
  191. load_video
  192. insmod gzio
  193. insmod part_msdos
  194. insmod ext2
  195. set root='hd0,msdos3'
  196. if [ x$feature_platform_search_hint = xy ]; then
  197. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 8f19e2ef-735b-4984-abf8-e069a1e9375e
  198. else
  199. search --no-floppy --fs-uuid --set=root 8f19e2ef-735b-4984-abf8-e069a1e9375e
  200. fi
  201. echo 'Loading Linux 4.11.3-ck-r1.old ...'
  202. linux /vmlinuz-4.11.3-ck-r1.old root=UUID=df3ffa31-5e29-4b0e-85c7-f0f8cabee3af ro single
  203. echo 'Loading initial ramdisk ...'
  204. initrd /initramfs-genkernel-x86_64-4.11.3-ck-r1
  205. }
  206. menuentry 'Gentoo GNU/Linux, with Linux 4.9.16-gentoo-safe' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.16-gentoo-safe-advanced-df3ffa31-5e29-4b0e-85c7-f0f8cabee3af' {
  207. load_video
  208. insmod gzio
  209. insmod part_msdos
  210. insmod ext2
  211. set root='hd0,msdos3'
  212. if [ x$feature_platform_search_hint = xy ]; then
  213. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 8f19e2ef-735b-4984-abf8-e069a1e9375e
  214. else
  215. search --no-floppy --fs-uuid --set=root 8f19e2ef-735b-4984-abf8-e069a1e9375e
  216. fi
  217. echo 'Loading Linux 4.9.16-gentoo-safe ...'
  218. linux /vmlinuz-4.9.16-gentoo-safe root=/dev/sda4 ro
  219. }
  220. menuentry 'Gentoo GNU/Linux, with Linux 4.9.16-gentoo-safe (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.16-gentoo-safe-recovery-df3ffa31-5e29-4b0e-85c7-f0f8cabee3af' {
  221. load_video
  222. insmod gzio
  223. insmod part_msdos
  224. insmod ext2
  225. set root='hd0,msdos3'
  226. if [ x$feature_platform_search_hint = xy ]; then
  227. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 8f19e2ef-735b-4984-abf8-e069a1e9375e
  228. else
  229. search --no-floppy --fs-uuid --set=root 8f19e2ef-735b-4984-abf8-e069a1e9375e
  230. fi
  231. echo 'Loading Linux 4.9.16-gentoo-safe ...'
  232. linux /vmlinuz-4.9.16-gentoo-safe root=/dev/sda4 ro single
  233. }
  234. menuentry 'Gentoo GNU/Linux, with Linux 4.9.16-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.16-gentoo-advanced-df3ffa31-5e29-4b0e-85c7-f0f8cabee3af' {
  235. load_video
  236. insmod gzio
  237. insmod part_msdos
  238. insmod ext2
  239. set root='hd0,msdos3'
  240. if [ x$feature_platform_search_hint = xy ]; then
  241. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 8f19e2ef-735b-4984-abf8-e069a1e9375e
  242. else
  243. search --no-floppy --fs-uuid --set=root 8f19e2ef-735b-4984-abf8-e069a1e9375e
  244. fi
  245. echo 'Loading Linux 4.9.16-gentoo ...'
  246. linux /vmlinuz-4.9.16-gentoo root=UUID=df3ffa31-5e29-4b0e-85c7-f0f8cabee3af ro
  247. echo 'Loading initial ramdisk ...'
  248. initrd /initramfs-genkernel-x86_64-4.9.16-gentoo
  249. }
  250. menuentry 'Gentoo GNU/Linux, with Linux 4.9.16-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.16-gentoo-recovery-df3ffa31-5e29-4b0e-85c7-f0f8cabee3af' {
  251. load_video
  252. insmod gzio
  253. insmod part_msdos
  254. insmod ext2
  255. set root='hd0,msdos3'
  256. if [ x$feature_platform_search_hint = xy ]; then
  257. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 8f19e2ef-735b-4984-abf8-e069a1e9375e
  258. else
  259. search --no-floppy --fs-uuid --set=root 8f19e2ef-735b-4984-abf8-e069a1e9375e
  260. fi
  261. echo 'Loading Linux 4.9.16-gentoo ...'
  262. linux /vmlinuz-4.9.16-gentoo root=UUID=df3ffa31-5e29-4b0e-85c7-f0f8cabee3af ro single
  263. echo 'Loading initial ramdisk ...'
  264. initrd /initramfs-genkernel-x86_64-4.9.16-gentoo
  265. }
  266. menuentry 'Gentoo GNU/Linux, with Linux 4.9.16-gentoo.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.16-gentoo.old-advanced-df3ffa31-5e29-4b0e-85c7-f0f8cabee3af' {
  267. load_video
  268. insmod gzio
  269. insmod part_msdos
  270. insmod ext2
  271. set root='hd0,msdos3'
  272. if [ x$feature_platform_search_hint = xy ]; then
  273. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 8f19e2ef-735b-4984-abf8-e069a1e9375e
  274. else
  275. search --no-floppy --fs-uuid --set=root 8f19e2ef-735b-4984-abf8-e069a1e9375e
  276. fi
  277. echo 'Loading Linux 4.9.16-gentoo.old ...'
  278. linux /vmlinuz-4.9.16-gentoo.old root=UUID=df3ffa31-5e29-4b0e-85c7-f0f8cabee3af ro
  279. echo 'Loading initial ramdisk ...'
  280. initrd /initramfs-genkernel-x86_64-4.9.16-gentoo
  281. }
  282. menuentry 'Gentoo GNU/Linux, with Linux 4.9.16-gentoo.old (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.9.16-gentoo.old-recovery-df3ffa31-5e29-4b0e-85c7-f0f8cabee3af' {
  283. load_video
  284. insmod gzio
  285. insmod part_msdos
  286. insmod ext2
  287. set root='hd0,msdos3'
  288. if [ x$feature_platform_search_hint = xy ]; then
  289. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 8f19e2ef-735b-4984-abf8-e069a1e9375e
  290. else
  291. search --no-floppy --fs-uuid --set=root 8f19e2ef-735b-4984-abf8-e069a1e9375e
  292. fi
  293. echo 'Loading Linux 4.9.16-gentoo.old ...'
  294. linux /vmlinuz-4.9.16-gentoo.old root=UUID=df3ffa31-5e29-4b0e-85c7-f0f8cabee3af ro single
  295. echo 'Loading initial ramdisk ...'
  296. initrd /initramfs-genkernel-x86_64-4.9.16-gentoo
  297. }
  298. }
  299. ### END /etc/grub.d/10_linux ###
  300. ### BEGIN /etc/grub.d/20_linux_xen ###
  301. ### END /etc/grub.d/20_linux_xen ###
  302. ### BEGIN /etc/grub.d/30_os-prober ###
  303. ### END /etc/grub.d/30_os-prober ###
  304. ### BEGIN /etc/grub.d/40_custom ###
  305. # This file provides an easy way to add custom menu entries. Simply type the
  306. # menu entries you want to add after this comment. Be careful not to change
  307. # the 'exec tail' line above.
  308. menuentry "Windows 10 BootLoader" {
  309. insmod ntfs
  310. insmod ntldr
  311. insmod part_msdos
  312. insmod search_fs_uuid
  313. search --no-floppy --fs-uuid --set=root BA7CB32F7CB2E4F3
  314. ntldr /bootmgr
  315. }
  316. ### END /etc/grub.d/40_custom ###
  317. ### BEGIN /etc/grub.d/41_custom ###
  318. if [ -f ${config_directory}/custom.cfg ]; then
  319. source ${config_directory}/custom.cfg
  320. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  321. source $prefix/custom.cfg;
  322. fi
  323. ### END /etc/grub.d/41_custom ###
  324.