Advertisement
lp__08

Untitled

Nov 10th, 2023
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.56 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. set root='hd0,gpt5'
  64. if [ x$feature_platform_search_hint = xy ]; then
  65. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 7d57c834-c5ad-405b-8855-786fba8196e5
  66. else
  67. search --no-floppy --fs-uuid --set=root 7d57c834-c5ad-405b-8855-786fba8196e5
  68. fi
  69. font="/usr/share/grub/unicode.pf2"
  70. fi
  71.  
  72. if loadfont $font ; then
  73. set gfxmode=auto
  74. load_video
  75. insmod gfxterm
  76. set locale_dir=$prefix/locale
  77. set lang=en_US
  78. insmod gettext
  79. fi
  80. terminal_output gfxterm
  81. if [ x$feature_timeout_style = xy ] ; then
  82. set timeout_style=menu
  83. set timeout=5
  84. # Fallback normal timeout code in case the timeout_style feature is
  85. # unavailable.
  86. else
  87. set timeout=5
  88. fi
  89. ### END /etc/grub.d/00_header ###
  90.  
  91. ### BEGIN /etc/grub.d/10_linux ###
  92. menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7d57c834-c5ad-405b-8855-786fba8196e5' {
  93. load_video
  94. insmod gzio
  95. insmod part_gpt
  96. insmod ext2
  97. set root='hd0,gpt5'
  98. if [ x$feature_platform_search_hint = xy ]; then
  99. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 7d57c834-c5ad-405b-8855-786fba8196e5
  100. else
  101. search --no-floppy --fs-uuid --set=root 7d57c834-c5ad-405b-8855-786fba8196e5
  102. fi
  103. echo 'Loading Linux 6.1.57-gentoo ...'
  104. linux /boot/vmlinuz-6.1.57-gentoo root=PARTUUID=f572b265-3c04-144c-a59a-c03c2fc6ca64 ro
  105. }
  106. submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-7d57c834-c5ad-405b-8855-786fba8196e5' {
  107. menuentry 'Gentoo GNU/Linux, with Linux 6.1.57-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.57-gentoo-advanced-7d57c834-c5ad-405b-8855-786fba8196e5' {
  108. load_video
  109. insmod gzio
  110. insmod part_gpt
  111. insmod ext2
  112. set root='hd0,gpt5'
  113. if [ x$feature_platform_search_hint = xy ]; then
  114. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 7d57c834-c5ad-405b-8855-786fba8196e5
  115. else
  116. search --no-floppy --fs-uuid --set=root 7d57c834-c5ad-405b-8855-786fba8196e5
  117. fi
  118. echo 'Loading Linux 6.1.57-gentoo ...'
  119. linux /boot/vmlinuz-6.1.57-gentoo root=PARTUUID=f572b265-3c04-144c-a59a-c03c2fc6ca64 ro
  120. }
  121. menuentry 'Gentoo GNU/Linux, with Linux 6.1.57-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.57-gentoo-recovery-7d57c834-c5ad-405b-8855-786fba8196e5' {
  122. load_video
  123. insmod gzio
  124. insmod part_gpt
  125. insmod ext2
  126. set root='hd0,gpt5'
  127. if [ x$feature_platform_search_hint = xy ]; then
  128. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 7d57c834-c5ad-405b-8855-786fba8196e5
  129. else
  130. search --no-floppy --fs-uuid --set=root 7d57c834-c5ad-405b-8855-786fba8196e5
  131. fi
  132. echo 'Loading Linux 6.1.57-gentoo ...'
  133. linux /boot/vmlinuz-6.1.57-gentoo root=PARTUUID=f572b265-3c04-144c-a59a-c03c2fc6ca64 ro single
  134. }
  135. menuentry 'Gentoo GNU/Linux, with Linux 6.1.57-gentoo.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.57-gentoo.old-advanced-7d57c834-c5ad-405b-8855-786fba8196e5' {
  136. load_video
  137. insmod gzio
  138. insmod part_gpt
  139. insmod ext2
  140. set root='hd0,gpt5'
  141. if [ x$feature_platform_search_hint = xy ]; then
  142. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 7d57c834-c5ad-405b-8855-786fba8196e5
  143. else
  144. search --no-floppy --fs-uuid --set=root 7d57c834-c5ad-405b-8855-786fba8196e5
  145. fi
  146. echo 'Loading Linux 6.1.57-gentoo.old ...'
  147. linux /boot/vmlinuz-6.1.57-gentoo.old root=PARTUUID=f572b265-3c04-144c-a59a-c03c2fc6ca64 ro
  148. }
  149. menuentry 'Gentoo GNU/Linux, with Linux 6.1.57-gentoo.old (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.57-gentoo.old-recovery-7d57c834-c5ad-405b-8855-786fba8196e5' {
  150. load_video
  151. insmod gzio
  152. insmod part_gpt
  153. insmod ext2
  154. set root='hd0,gpt5'
  155. if [ x$feature_platform_search_hint = xy ]; then
  156. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 7d57c834-c5ad-405b-8855-786fba8196e5
  157. else
  158. search --no-floppy --fs-uuid --set=root 7d57c834-c5ad-405b-8855-786fba8196e5
  159. fi
  160. echo 'Loading Linux 6.1.57-gentoo.old ...'
  161. linux /boot/vmlinuz-6.1.57-gentoo.old root=PARTUUID=f572b265-3c04-144c-a59a-c03c2fc6ca64 ro single
  162. }
  163. }
  164.  
  165. ### END /etc/grub.d/10_linux ###
  166.  
  167. ### BEGIN /etc/grub.d/20_linux_xen ###
  168. ### END /etc/grub.d/20_linux_xen ###
  169.  
  170. ### BEGIN /etc/grub.d/30_os-prober ###
  171. ### END /etc/grub.d/30_os-prober ###
  172.  
  173. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  174. menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
  175. fwsetup
  176. }
  177. ### END /etc/grub.d/30_uefi-firmware ###
  178.  
  179. ### BEGIN /etc/grub.d/40_custom ###
  180. # This file provides an easy way to add custom menu entries. Simply type the
  181. # menu entries you want to add after this comment. Be careful not to change
  182. # the 'exec tail' line above.
  183. ### END /etc/grub.d/40_custom ###
  184.  
  185. ### BEGIN /etc/grub.d/41_custom ###
  186. if [ -f ${config_directory}/custom.cfg ]; then
  187. source ${config_directory}/custom.cfg
  188. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  189. source $prefix/custom.cfg
  190. fi
  191. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement