Advertisement
Guest User

X250301-grub.cfg

a guest
Mar 1st, 2025
10
0
28 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.25 KB | Software | 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 xfs
  63. search --no-floppy --fs-uuid --set=root 4643c03f-299a-4e28-b975-5c95b56244f0
  64. font="/usr/share/grub/unicode.pf2"
  65. fi
  66.  
  67. if loadfont $font ; then
  68. set gfxmode=auto
  69. load_video
  70. insmod gfxterm
  71. fi
  72. terminal_output gfxterm
  73. if [ x$feature_timeout_style = xy ] ; then
  74. set timeout_style=menu
  75. set timeout=5
  76. # Fallback normal timeout code in case the timeout_style feature is
  77. # unavailable.
  78. else
  79. set timeout=5
  80. fi
  81. ### END /etc/grub.d/00_header ###
  82.  
  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-4643c03f-299a-4e28-b975-5c95b56244f0' {
  85. load_video
  86. if [ "x$grub_platform" = xefi ]; then
  87. set gfxpayload=keep
  88. fi
  89. insmod gzio
  90. insmod part_gpt
  91. insmod xfs
  92. search --no-floppy --fs-uuid --set=root 4643c03f-299a-4e28-b975-5c95b56244f0
  93. echo 'Loading Linux 6.13.4-gentoo-dist ...'
  94. linux /boot/vmlinuz-6.13.4-gentoo-dist root=UUID=4643c03f-299a-4e28-b975-5c95b56244f0 ro net.ifnames=0
  95. echo 'Loading initial ramdisk ...'
  96. initrd /boot/amd-uc.img /boot/initramfs-6.13.4-gentoo-dist.img
  97. }
  98. submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-4643c03f-299a-4e28-b975-5c95b56244f0' {
  99. menuentry 'Gentoo GNU/Linux, with Linux 6.13.4-gentoo-dist' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.13.4-gentoo-dist-advanced-4643c03f-299a-4e28-b975-5c95b56244f0' {
  100. load_video
  101. if [ "x$grub_platform" = xefi ]; then
  102. set gfxpayload=keep
  103. fi
  104. insmod gzio
  105. insmod part_gpt
  106. insmod xfs
  107. search --no-floppy --fs-uuid --set=root 4643c03f-299a-4e28-b975-5c95b56244f0
  108. echo 'Loading Linux 6.13.4-gentoo-dist ...'
  109. linux /boot/vmlinuz-6.13.4-gentoo-dist root=UUID=4643c03f-299a-4e28-b975-5c95b56244f0 ro net.ifnames=0
  110. echo 'Loading initial ramdisk ...'
  111. initrd /boot/amd-uc.img /boot/initramfs-6.13.4-gentoo-dist.img
  112. }
  113. menuentry 'Gentoo GNU/Linux, with Linux 6.13.4-gentoo-dist (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.13.4-gentoo-dist-recovery-4643c03f-299a-4e28-b975-5c95b56244f0' {
  114. load_video
  115. if [ "x$grub_platform" = xefi ]; then
  116. set gfxpayload=keep
  117. fi
  118. insmod gzio
  119. insmod part_gpt
  120. insmod xfs
  121. search --no-floppy --fs-uuid --set=root 4643c03f-299a-4e28-b975-5c95b56244f0
  122. echo 'Loading Linux 6.13.4-gentoo-dist ...'
  123. linux /boot/vmlinuz-6.13.4-gentoo-dist root=UUID=4643c03f-299a-4e28-b975-5c95b56244f0 ro single net.ifnames=0
  124. echo 'Loading initial ramdisk ...'
  125. initrd /boot/amd-uc.img /boot/initramfs-6.13.4-gentoo-dist.img
  126. }
  127. menuentry 'Gentoo GNU/Linux, with Linux 6.13.4-gentoo-dist.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.13.4-gentoo-dist.old-advanced-4643c03f-299a-4e28-b975-5c95b56244f0' {
  128. load_video
  129. if [ "x$grub_platform" = xefi ]; then
  130. set gfxpayload=keep
  131. fi
  132. insmod gzio
  133. insmod part_gpt
  134. insmod xfs
  135. search --no-floppy --fs-uuid --set=root 4643c03f-299a-4e28-b975-5c95b56244f0
  136. echo 'Loading Linux 6.13.4-gentoo-dist.old ...'
  137. linux /boot/vmlinuz-6.13.4-gentoo-dist.old root=UUID=4643c03f-299a-4e28-b975-5c95b56244f0 ro net.ifnames=0
  138. echo 'Loading initial ramdisk ...'
  139. initrd /boot/amd-uc.img /boot/initramfs-6.13.4-gentoo-dist.img.old
  140. }
  141. menuentry 'Gentoo GNU/Linux, with Linux 6.13.4-gentoo-dist.old (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.13.4-gentoo-dist.old-recovery-4643c03f-299a-4e28-b975-5c95b56244f0' {
  142. load_video
  143. if [ "x$grub_platform" = xefi ]; then
  144. set gfxpayload=keep
  145. fi
  146. insmod gzio
  147. insmod part_gpt
  148. insmod xfs
  149. search --no-floppy --fs-uuid --set=root 4643c03f-299a-4e28-b975-5c95b56244f0
  150. echo 'Loading Linux 6.13.4-gentoo-dist.old ...'
  151. linux /boot/vmlinuz-6.13.4-gentoo-dist.old root=UUID=4643c03f-299a-4e28-b975-5c95b56244f0 ro single net.ifnames=0
  152. echo 'Loading initial ramdisk ...'
  153. initrd /boot/amd-uc.img /boot/initramfs-6.13.4-gentoo-dist.img.old
  154. }
  155. }
  156.  
  157. ### END /etc/grub.d/10_linux ###
  158.  
  159. ### BEGIN /etc/grub.d/20_linux_xen ###
  160.  
  161. ### END /etc/grub.d/20_linux_xen ###
  162.  
  163. ### BEGIN /etc/grub.d/25_bli ###
  164. if [ "$grub_platform" = "efi" ]; then
  165. insmod bli
  166. fi
  167. ### END /etc/grub.d/25_bli ###
  168.  
  169. ### BEGIN /etc/grub.d/30_os-prober ###
  170. ### END /etc/grub.d/30_os-prober ###
  171.  
  172. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  173. if [ "$grub_platform" = "efi" ]; then
  174. menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
  175. fwsetup
  176. }
  177. fi
  178. ### END /etc/grub.d/30_uefi-firmware ###
  179.  
  180. ### BEGIN /etc/grub.d/40_custom ###
  181. # This file provides an easy way to add custom menu entries. Simply type the
  182. # menu entries you want to add after this comment. Be careful not to change
  183. # the 'exec tail' line above.
  184. ### END /etc/grub.d/40_custom ###
  185.  
  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.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement