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_gpt
  56. insmod ext2
  57. if [ x$feature_platform_search_hint = xy ]; then
  58. search --no-floppy --fs-uuid --set=root 090ede1b-ced9-4200-b926-364d47956e6a
  59. else
  60. search --no-floppy --fs-uuid --set=root 090ede1b-ced9-4200-b926-364d47956e6a
  61. fi
  62. font="/share/grub/unicode.pf2"
  63. fi
  64. if loadfont $font ; then
  65. set gfxmode=auto
  66. load_video
  67. insmod gfxterm
  68. fi
  69. terminal_output gfxterm
  70. if [ x$feature_timeout_style = xy ] ; then
  71. set timeout_style=menu
  72. set timeout=5
  73. # Fallback normal timeout code in case the timeout_style feature is
  74. # unavailable.
  75. else
  76. set timeout=5
  77. fi
  78. ### END /etc/grub.d/00_header ###
  79. ### BEGIN /etc/grub.d/10_linux ###
  80. menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-5645bde7-efbe-4adf-a741-bce9a8b86044' {
  81. load_video
  82. if [ "x$grub_platform" = xefi ]; then
  83. set gfxpayload=keep
  84. fi
  85. insmod gzio
  86. insmod part_gpt
  87. insmod fat
  88. insmod mdraid09
  89. insmod ext2
  90. insmod diskfilter
  91. set root='mduuid/61969c5e02611c0e0ad696096b20b8dc '
  92. if [ x$feature_platform_search_hint = xy ]; then
  93. search --no-floppy --fs-uuid --set=root --hint='mduuid/61969c5e02611c0e0ad696096b20b8dc '
  94. else
  95. search --no-floppy --fs-uuid --set=root 1AD7-F7D7
  96. fi
  97. echo 'Loading Linux 4.14.65-gentoo ...'
  98. linux /vmlinuz-4.14.65-gentoo domdadm root=UUID=5645bde7-efbe-4adf-a741-bce9a8b86044 rootfstype=ext4 ro
  99. echo 'Loading initial ramdisk ...'
  100. initrd /initramfs-genkernel-x86_64-4.14.65-gentoo
  101. }
  102. submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-5645bde7-efbe-4adf-a741-bce9a8b86044' {
  103. menuentry 'Gentoo GNU/Linux, with Linux 4.14.65-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.65-gentoo-advanced-5645bde7-efbe-4adf-a741-bce9a8b86044' {
  104. load_video
  105. if [ "x$grub_platform" = xefi ]; then
  106. set gfxpayload=keep
  107. fi
  108. insmod gzio
  109. insmod part_gpt
  110. insmod fat
  111. if [ x$feature_platform_search_hint = xy ]; then
  112. search --no-floppy --fs-uuid --set=root 1AD7-F7D7
  113. else
  114. search --no-floppy --fs-uuid --set=root 1AD7-F7D7
  115. fi
  116. echo 'Loading Linux 4.14.65-gentoo ...'
  117. linux /vmlinuz-4.14.65-gentoo root=UUID=5645bde7-efbe-4adf-a741-bce9a8b86044 ro
  118. echo 'Loading initial ramdisk ...'
  119. initrd /initramfs-genkernel-x86_64-4.14.65-gentoo
  120. }
  121. menuentry 'Gentoo GNU/Linux, with Linux 4.14.65-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.65-gentoo-recovery-5645bde7-efbe-4adf-a741-bce9a8b86044' {
  122. load_video
  123. if [ "x$grub_platform" = xefi ]; then
  124. set gfxpayload=keep
  125. fi
  126. insmod gzio
  127. insmod part_gpt
  128. insmod fat
  129. if [ x$feature_platform_search_hint = xy ]; then
  130. search --no-floppy --fs-uuid --set=root 1AD7-F7D7
  131. else
  132. search --no-floppy --fs-uuid --set=root 1AD7-F7D7
  133. fi
  134. echo 'Loading Linux 4.14.65-gentoo ...'
  135. linux /vmlinuz-4.14.65-gentoo root=UUID=5645bde7-efbe-4adf-a741-bce9a8b86044 ro single
  136. echo 'Loading initial ramdisk ...'
  137. initrd /initramfs-genkernel-x86_64-4.14.65-gentoo
  138. }
  139. menuentry 'Gentoo GNU/Linux, with Linux 4.14.65-gentoo.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.65-gentoo.old-advanced-5645bde7-efbe-4adf-a741-bce9a8b86044' {
  140. load_video
  141. if [ "x$grub_platform" = xefi ]; then
  142. set gfxpayload=keep
  143. fi
  144. insmod gzio
  145. insmod part_gpt
  146. insmod fat
  147. if [ x$feature_platform_search_hint = xy ]; then
  148. search --no-floppy --fs-uuid --set=root 1AD7-F7D7
  149. else
  150. search --no-floppy --fs-uuid --set=root 1AD7-F7D7
  151. fi
  152. echo 'Loading Linux 4.14.65-gentoo.old ...'
  153. linux /vmlinuz-4.14.65-gentoo.old root=UUID=5645bde7-efbe-4adf-a741-bce9a8b86044 ro
  154. echo 'Loading initial ramdisk ...'
  155. initrd /initramfs-genkernel-x86_64-4.14.65-gentoo
  156. }
  157. menuentry 'Gentoo GNU/Linux, with Linux 4.14.65-gentoo.old (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.65-gentoo.old-recovery-5645bde7-efbe-4adf-a741-bce9a8b86044' {
  158. load_video
  159. if [ "x$grub_platform" = xefi ]; then
  160. set gfxpayload=keep
  161. fi
  162. insmod gzio
  163. insmod part_gpt
  164. insmod fat
  165. if [ x$feature_platform_search_hint = xy ]; then
  166. search --no-floppy --fs-uuid --set=root 1AD7-F7D7
  167. else
  168. search --no-floppy --fs-uuid --set=root 1AD7-F7D7
  169. fi
  170. echo 'Loading Linux 4.14.65-gentoo.old ...'
  171. linux /vmlinuz-4.14.65-gentoo.old root=UUID=5645bde7-efbe-4adf-a741-bce9a8b86044 ro single
  172. echo 'Loading initial ramdisk ...'
  173. initrd /initramfs-genkernel-x86_64-4.14.65-gentoo
  174. }
  175. }
  176. ### END /etc/grub.d/10_linux ###
  177. ### BEGIN /etc/grub.d/20_linux_xen ###
  178. ### END /etc/grub.d/20_linux_xen ###
  179. ### BEGIN /etc/grub.d/30_os-prober ###
  180. ### END /etc/grub.d/30_os-prober ###
  181. ### BEGIN /etc/grub.d/40_custom ###
  182. # This file provides an easy way to add custom menu entries. Simply type the
  183. # menu entries you want to add after this comment. Be careful not to change
  184. # the 'exec tail' line above.
  185. ### END /etc/grub.d/40_custom ###
  186. ### BEGIN /etc/grub.d/41_custom ###
  187. if [ -f ${config_directory}/custom.cfg ]; then
  188. source ${config_directory}/custom.cfg
  189. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  190. source $prefix/custom.cfg;
  191. fi
  192. ### END /etc/grub.d/41_custom ###
  193.