Advertisement
Guest User

Untitled

a guest
Jun 11th, 2019
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.13 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. 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.  
  21. if [ x"${feature_menuentry_id}" = xy ]; then
  22. menuentry_id_option="--id"
  23. else
  24. menuentry_id_option=""
  25. fi
  26.  
  27. export menuentry_id_option
  28.  
  29. if [ "${prev_saved_entry}" ]; then
  30. set saved_entry="${prev_saved_entry}"
  31. save_env saved_entry
  32. set prev_saved_entry=
  33. save_env prev_saved_entry
  34. set boot_once=true
  35. fi
  36.  
  37. function savedefault {
  38. if [ -z "${boot_once}" ]; then
  39. saved_entry="${chosen}"
  40. save_env saved_entry
  41. fi
  42. }
  43.  
  44. function load_video {
  45. if [ x$feature_all_video_module = xy ]; then
  46. insmod all_video
  47. else
  48. insmod efi_gop
  49. insmod efi_uga
  50. insmod ieee1275_fb
  51. insmod vbe
  52. insmod vga
  53. insmod video_bochs
  54. insmod video_cirrus
  55. fi
  56. }
  57.  
  58. if [ x$feature_default_font_path = xy ] ; then
  59. font=unicode
  60. else
  61. insmod part_gpt
  62. insmod ext2
  63. if [ x$feature_platform_search_hint = xy ]; then
  64. search --no-floppy --fs-uuid --set=root c826e4b1-f95c-42eb-8d5a-151c0fe0f205
  65. else
  66. search --no-floppy --fs-uuid --set=root c826e4b1-f95c-42eb-8d5a-151c0fe0f205
  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 [ x$feature_timeout_style = xy ] ; then
  81. set timeout_style=menu
  82. set timeout=5
  83. # Fallback normal timeout code in case the timeout_style feature is
  84. # unavailable.
  85. else
  86. set timeout=5
  87. fi
  88. ### END /etc/grub.d/00_header ###
  89.  
  90. ### BEGIN /etc/grub.d/10_linux ###
  91. menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c826e4b1-f95c-42eb-8d5a-151c0fe0f205' {
  92. load_video
  93. if [ "x$grub_platform" = xefi ]; then
  94. set gfxpayload=keep
  95. fi
  96. insmod gzio
  97. insmod part_gpt
  98. insmod fat
  99. if [ x$feature_platform_search_hint = xy ]; then
  100. search --no-floppy --fs-uuid --set=root 2B42-DE79
  101. else
  102. search --no-floppy --fs-uuid --set=root 2B42-DE79
  103. fi
  104. echo 'Loading Linux x86_64-4.19.44-gentoo ...'
  105. linux /kernel-genkernel-x86_64-4.19.44-gentoo root=UUID=c826e4b1-f95c-42eb-8d5a-151c0fe0f205 ro
  106. echo 'Loading initial ramdisk ...'
  107. initrd /initramfs-genkernel-x86_64-4.19.44-gentoo
  108. }
  109. submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-c826e4b1-f95c-42eb-8d5a-151c0fe0f205' {
  110. menuentry 'Gentoo GNU/Linux, with Linux x86_64-4.19.44-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.19.44-gentoo-advanced-c826e4b1-f95c-42eb-8d5a-151c0fe0f205' {
  111. load_video
  112. if [ "x$grub_platform" = xefi ]; then
  113. set gfxpayload=keep
  114. fi
  115. insmod gzio
  116. insmod part_gpt
  117. insmod fat
  118. if [ x$feature_platform_search_hint = xy ]; then
  119. search --no-floppy --fs-uuid --set=root 2B42-DE79
  120. else
  121. search --no-floppy --fs-uuid --set=root 2B42-DE79
  122. fi
  123. echo 'Loading Linux x86_64-4.19.44-gentoo ...'
  124. linux /kernel-genkernel-x86_64-4.19.44-gentoo root=UUID=c826e4b1-f95c-42eb-8d5a-151c0fe0f205 ro
  125. echo 'Loading initial ramdisk ...'
  126. initrd /initramfs-genkernel-x86_64-4.19.44-gentoo
  127. }
  128. menuentry 'Gentoo GNU/Linux, with Linux x86_64-4.19.44-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-4.19.44-gentoo-recovery-c826e4b1-f95c-42eb-8d5a-151c0fe0f205' {
  129. load_video
  130. if [ "x$grub_platform" = xefi ]; then
  131. set gfxpayload=keep
  132. fi
  133. insmod gzio
  134. insmod part_gpt
  135. insmod fat
  136. if [ x$feature_platform_search_hint = xy ]; then
  137. search --no-floppy --fs-uuid --set=root 2B42-DE79
  138. else
  139. search --no-floppy --fs-uuid --set=root 2B42-DE79
  140. fi
  141. echo 'Loading Linux x86_64-4.19.44-gentoo ...'
  142. linux /kernel-genkernel-x86_64-4.19.44-gentoo root=UUID=c826e4b1-f95c-42eb-8d5a-151c0fe0f205 ro single
  143. echo 'Loading initial ramdisk ...'
  144. initrd /initramfs-genkernel-x86_64-4.19.44-gentoo
  145. }
  146. menuentry 'Gentoo GNU/Linux, with Linux 4.19.44-gentoo-surface' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.44-gentoo-surface-advanced-c826e4b1-f95c-42eb-8d5a-151c0fe0f205' {
  147. load_video
  148. if [ "x$grub_platform" = xefi ]; then
  149. set gfxpayload=keep
  150. fi
  151. insmod gzio
  152. insmod part_gpt
  153. insmod fat
  154. if [ x$feature_platform_search_hint = xy ]; then
  155. search --no-floppy --fs-uuid --set=root 2B42-DE79
  156. else
  157. search --no-floppy --fs-uuid --set=root 2B42-DE79
  158. fi
  159. echo 'Loading Linux 4.19.44-gentoo-surface ...'
  160. linux /vmlinuz-4.19.44-gentoo-surface root=UUID=c826e4b1-f95c-42eb-8d5a-151c0fe0f205 ro
  161. echo 'Loading initial ramdisk ...'
  162. initrd /initramfs-genkernel-x86_64-4.19.44-gentoo-surface
  163. }
  164. menuentry 'Gentoo GNU/Linux, with Linux 4.19.44-gentoo-surface (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.44-gentoo-surface-recovery-c826e4b1-f95c-42eb-8d5a-151c0fe0f205' {
  165. load_video
  166. if [ "x$grub_platform" = xefi ]; then
  167. set gfxpayload=keep
  168. fi
  169. insmod gzio
  170. insmod part_gpt
  171. insmod fat
  172. if [ x$feature_platform_search_hint = xy ]; then
  173. search --no-floppy --fs-uuid --set=root 2B42-DE79
  174. else
  175. search --no-floppy --fs-uuid --set=root 2B42-DE79
  176. fi
  177. echo 'Loading Linux 4.19.44-gentoo-surface ...'
  178. linux /vmlinuz-4.19.44-gentoo-surface root=UUID=c826e4b1-f95c-42eb-8d5a-151c0fe0f205 ro single
  179. echo 'Loading initial ramdisk ...'
  180. initrd /initramfs-genkernel-x86_64-4.19.44-gentoo-surface
  181. }
  182. menuentry 'Gentoo GNU/Linux, with Linux 4.19.44-gentoo-surface.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.44-gentoo-surface.old-advanced-c826e4b1-f95c-42eb-8d5a-151c0fe0f205' {
  183. load_video
  184. if [ "x$grub_platform" = xefi ]; then
  185. set gfxpayload=keep
  186. fi
  187. insmod gzio
  188. insmod part_gpt
  189. insmod fat
  190. if [ x$feature_platform_search_hint = xy ]; then
  191. search --no-floppy --fs-uuid --set=root 2B42-DE79
  192. else
  193. search --no-floppy --fs-uuid --set=root 2B42-DE79
  194. fi
  195. echo 'Loading Linux 4.19.44-gentoo-surface.old ...'
  196. linux /vmlinuz-4.19.44-gentoo-surface.old root=UUID=c826e4b1-f95c-42eb-8d5a-151c0fe0f205 ro
  197. echo 'Loading initial ramdisk ...'
  198. initrd /initramfs-genkernel-x86_64-4.19.44-gentoo-surface
  199. }
  200. menuentry 'Gentoo GNU/Linux, with Linux 4.19.44-gentoo-surface.old (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.44-gentoo-surface.old-recovery-c826e4b1-f95c-42eb-8d5a-151c0fe0f205' {
  201. load_video
  202. if [ "x$grub_platform" = xefi ]; then
  203. set gfxpayload=keep
  204. fi
  205. insmod gzio
  206. insmod part_gpt
  207. insmod fat
  208. if [ x$feature_platform_search_hint = xy ]; then
  209. search --no-floppy --fs-uuid --set=root 2B42-DE79
  210. else
  211. search --no-floppy --fs-uuid --set=root 2B42-DE79
  212. fi
  213. echo 'Loading Linux 4.19.44-gentoo-surface.old ...'
  214. linux /vmlinuz-4.19.44-gentoo-surface.old root=UUID=c826e4b1-f95c-42eb-8d5a-151c0fe0f205 ro single
  215. echo 'Loading initial ramdisk ...'
  216. initrd /initramfs-genkernel-x86_64-4.19.44-gentoo-surface
  217. }
  218. menuentry 'Gentoo GNU/Linux, with Linux 4.19.44-gentoo-lts' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.44-gentoo-lts-advanced-c826e4b1-f95c-42eb-8d5a-151c0fe0f205' {
  219. load_video
  220. if [ "x$grub_platform" = xefi ]; then
  221. set gfxpayload=keep
  222. fi
  223. insmod gzio
  224. insmod part_gpt
  225. insmod fat
  226. if [ x$feature_platform_search_hint = xy ]; then
  227. search --no-floppy --fs-uuid --set=root 2B42-DE79
  228. else
  229. search --no-floppy --fs-uuid --set=root 2B42-DE79
  230. fi
  231. echo 'Loading Linux 4.19.44-gentoo-lts ...'
  232. linux /vmlinuz-4.19.44-gentoo-lts root=UUID=c826e4b1-f95c-42eb-8d5a-151c0fe0f205 ro
  233. echo 'Loading initial ramdisk ...'
  234. initrd /initramfs-genkernel-x86_64-4.19.44-gentoo-lts
  235. }
  236. menuentry 'Gentoo GNU/Linux, with Linux 4.19.44-gentoo-lts (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.44-gentoo-lts-recovery-c826e4b1-f95c-42eb-8d5a-151c0fe0f205' {
  237. load_video
  238. if [ "x$grub_platform" = xefi ]; then
  239. set gfxpayload=keep
  240. fi
  241. insmod gzio
  242. insmod part_gpt
  243. insmod fat
  244. if [ x$feature_platform_search_hint = xy ]; then
  245. search --no-floppy --fs-uuid --set=root 2B42-DE79
  246. else
  247. search --no-floppy --fs-uuid --set=root 2B42-DE79
  248. fi
  249. echo 'Loading Linux 4.19.44-gentoo-lts ...'
  250. linux /vmlinuz-4.19.44-gentoo-lts root=UUID=c826e4b1-f95c-42eb-8d5a-151c0fe0f205 ro single
  251. echo 'Loading initial ramdisk ...'
  252. initrd /initramfs-genkernel-x86_64-4.19.44-gentoo-lts
  253. }
  254. menuentry 'Gentoo GNU/Linux, with Linux 4.19.44-gentoo-lts.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.44-gentoo-lts.old-advanced-c826e4b1-f95c-42eb-8d5a-151c0fe0f205' {
  255. load_video
  256. if [ "x$grub_platform" = xefi ]; then
  257. set gfxpayload=keep
  258. fi
  259. insmod gzio
  260. insmod part_gpt
  261. insmod fat
  262. if [ x$feature_platform_search_hint = xy ]; then
  263. search --no-floppy --fs-uuid --set=root 2B42-DE79
  264. else
  265. search --no-floppy --fs-uuid --set=root 2B42-DE79
  266. fi
  267. echo 'Loading Linux 4.19.44-gentoo-lts.old ...'
  268. linux /vmlinuz-4.19.44-gentoo-lts.old root=UUID=c826e4b1-f95c-42eb-8d5a-151c0fe0f205 ro
  269. echo 'Loading initial ramdisk ...'
  270. initrd /initramfs-genkernel-x86_64-4.19.44-gentoo-lts
  271. }
  272. menuentry 'Gentoo GNU/Linux, with Linux 4.19.44-gentoo-lts.old (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.44-gentoo-lts.old-recovery-c826e4b1-f95c-42eb-8d5a-151c0fe0f205' {
  273. load_video
  274. if [ "x$grub_platform" = xefi ]; then
  275. set gfxpayload=keep
  276. fi
  277. insmod gzio
  278. insmod part_gpt
  279. insmod fat
  280. if [ x$feature_platform_search_hint = xy ]; then
  281. search --no-floppy --fs-uuid --set=root 2B42-DE79
  282. else
  283. search --no-floppy --fs-uuid --set=root 2B42-DE79
  284. fi
  285. echo 'Loading Linux 4.19.44-gentoo-lts.old ...'
  286. linux /vmlinuz-4.19.44-gentoo-lts.old root=UUID=c826e4b1-f95c-42eb-8d5a-151c0fe0f205 ro single
  287. echo 'Loading initial ramdisk ...'
  288. initrd /initramfs-genkernel-x86_64-4.19.44-gentoo-lts
  289. }
  290. }
  291.  
  292. ### END /etc/grub.d/10_linux ###
  293.  
  294. ### BEGIN /etc/grub.d/20_linux_xen ###
  295.  
  296. ### END /etc/grub.d/20_linux_xen ###
  297.  
  298. ### BEGIN /etc/grub.d/30_os-prober ###
  299. ### END /etc/grub.d/30_os-prober ###
  300.  
  301. ### BEGIN /etc/grub.d/40_custom ###
  302. # This file provides an easy way to add custom menu entries. Simply type the
  303. # menu entries you want to add after this comment. Be careful not to change
  304. # the 'exec tail' line above.
  305. ### END /etc/grub.d/40_custom ###
  306.  
  307. ### BEGIN /etc/grub.d/41_custom ###
  308. if [ -f ${config_directory}/custom.cfg ]; then
  309. source ${config_directory}/custom.cfg
  310. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  311. source $prefix/custom.cfg;
  312. fi
  313. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement