Advertisement
Guest User

Untitled

a guest
Feb 25th, 2022
22
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. insmod part_gpt
  10. insmod part_msdos
  11. if [ -s $prefix/grubenv ]; then
  12. load_env
  13. fi
  14. if [ "${next_entry}" ] ; then
  15. set default="${next_entry}"
  16. set next_entry=
  17. save_env next_entry
  18. set boot_once=true
  19. else
  20. set default="0"
  21. fi
  22.  
  23. if [ x"${feature_menuentry_id}" = xy ]; then
  24. menuentry_id_option="--id"
  25. else
  26. menuentry_id_option=""
  27. fi
  28.  
  29. export menuentry_id_option
  30.  
  31. if [ "${prev_saved_entry}" ]; then
  32. set saved_entry="${prev_saved_entry}"
  33. save_env saved_entry
  34. set prev_saved_entry=
  35. save_env prev_saved_entry
  36. set boot_once=true
  37. fi
  38.  
  39. function savedefault {
  40. if [ -z "${boot_once}" ]; then
  41. saved_entry="${chosen}"
  42. save_env saved_entry
  43. fi
  44. }
  45.  
  46. function load_video {
  47. if [ x$feature_all_video_module = xy ]; then
  48. insmod all_video
  49. else
  50. insmod efi_gop
  51. insmod efi_uga
  52. insmod ieee1275_fb
  53. insmod vbe
  54. insmod vga
  55. insmod video_bochs
  56. insmod video_cirrus
  57. fi
  58. }
  59.  
  60. if [ x$feature_default_font_path = xy ] ; then
  61. font=unicode
  62. else
  63. insmod part_msdos
  64. insmod part_msdos
  65. insmod diskfilter
  66. insmod mdraid1x
  67. insmod ext2
  68. set root='mduuid/77d2dae2f7a913cd55ae61442e1a2d49'
  69. if [ x$feature_platform_search_hint = xy ]; then
  70. search --no-floppy --fs-uuid --set=root --hint='mduuid/77d2dae2f7a913cd55ae61442e1a2d49' d349ca31-9a04-4bed-ab8c-f36fc6de6f85
  71. else
  72. search --no-floppy --fs-uuid --set=root d349ca31-9a04-4bed-ab8c-f36fc6de6f85
  73. fi
  74. font="/usr/share/grub/unicode.pf2"
  75. fi
  76.  
  77. if loadfont $font ; then
  78. set gfxmode=auto
  79. load_video
  80. insmod gfxterm
  81. set locale_dir=$prefix/locale
  82. set lang=en_US
  83. insmod gettext
  84. fi
  85. terminal_input console
  86. terminal_output gfxterm
  87. if [ x$feature_timeout_style = xy ] ; then
  88. set timeout_style=menu
  89. set timeout=5
  90. # Fallback normal timeout code in case the timeout_style feature is
  91. # unavailable.
  92. else
  93. set timeout=5
  94. fi
  95. ### END /etc/grub.d/00_header ###
  96.  
  97. ### BEGIN /etc/grub.d/10_linux ###
  98. menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d349ca31-9a04-4bed-ab8c-f36fc6de6f85' {
  99. load_video
  100. set gfxpayload=keep
  101. insmod gzio
  102. insmod part_msdos
  103. insmod part_msdos
  104. insmod diskfilter
  105. insmod mdraid1x
  106. insmod ext2
  107. set root='mduuid/e15a4e748398b4ee823dae0f99bc73fc'
  108. if [ x$feature_platform_search_hint = xy ]; then
  109. search --no-floppy --fs-uuid --set=root --hint='mduuid/e15a4e748398b4ee823dae0f99bc73fc' 1776544d-733f-4ccd-81fc-3b5d142c7d7a
  110. else
  111. search --no-floppy --fs-uuid --set=root 1776544d-733f-4ccd-81fc-3b5d142c7d7a
  112. fi
  113. echo 'Loading Linux linux ...'
  114. linux /vmlinuz-linux root=UUID=d349ca31-9a04-4bed-ab8c-f36fc6de6f85 rw loglevel=3 quiet
  115. echo 'Loading initial ramdisk ...'
  116. initrd /initramfs-linux.img
  117. }
  118. submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-d349ca31-9a04-4bed-ab8c-f36fc6de6f85' {
  119. menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-d349ca31-9a04-4bed-ab8c-f36fc6de6f85' {
  120. load_video
  121. set gfxpayload=keep
  122. insmod gzio
  123. insmod part_msdos
  124. insmod part_msdos
  125. insmod diskfilter
  126. insmod mdraid1x
  127. insmod ext2
  128. set root='mduuid/e15a4e748398b4ee823dae0f99bc73fc'
  129. if [ x$feature_platform_search_hint = xy ]; then
  130. search --no-floppy --fs-uuid --set=root --hint='mduuid/e15a4e748398b4ee823dae0f99bc73fc' 1776544d-733f-4ccd-81fc-3b5d142c7d7a
  131. else
  132. search --no-floppy --fs-uuid --set=root 1776544d-733f-4ccd-81fc-3b5d142c7d7a
  133. fi
  134. echo 'Loading Linux linux ...'
  135. linux /vmlinuz-linux root=UUID=d349ca31-9a04-4bed-ab8c-f36fc6de6f85 rw loglevel=3 quiet
  136. echo 'Loading initial ramdisk ...'
  137. initrd /initramfs-linux.img
  138. }
  139. menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-d349ca31-9a04-4bed-ab8c-f36fc6de6f85' {
  140. load_video
  141. set gfxpayload=keep
  142. insmod gzio
  143. insmod part_msdos
  144. insmod part_msdos
  145. insmod diskfilter
  146. insmod mdraid1x
  147. insmod ext2
  148. set root='mduuid/e15a4e748398b4ee823dae0f99bc73fc'
  149. if [ x$feature_platform_search_hint = xy ]; then
  150. search --no-floppy --fs-uuid --set=root --hint='mduuid/e15a4e748398b4ee823dae0f99bc73fc' 1776544d-733f-4ccd-81fc-3b5d142c7d7a
  151. else
  152. search --no-floppy --fs-uuid --set=root 1776544d-733f-4ccd-81fc-3b5d142c7d7a
  153. fi
  154. echo 'Loading Linux linux ...'
  155. linux /vmlinuz-linux root=UUID=d349ca31-9a04-4bed-ab8c-f36fc6de6f85 rw loglevel=3 quiet
  156. echo 'Loading initial ramdisk ...'
  157. initrd /initramfs-linux-fallback.img
  158. }
  159. }
  160.  
  161. ### END /etc/grub.d/10_linux ###
  162.  
  163. ### BEGIN /etc/grub.d/20_linux_xen ###
  164. ### END /etc/grub.d/20_linux_xen ###
  165.  
  166. ### BEGIN /etc/grub.d/30_os-prober ###
  167. ### END /etc/grub.d/30_os-prober ###
  168.  
  169. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  170. ### END /etc/grub.d/30_uefi-firmware ###
  171.  
  172. ### BEGIN /etc/grub.d/40_custom ###
  173. # This file provides an easy way to add custom menu entries. Simply type the
  174. # menu entries you want to add after this comment. Be careful not to change
  175. # the 'exec tail' line above.
  176. ### END /etc/grub.d/40_custom ###
  177.  
  178. ### BEGIN /etc/grub.d/41_custom ###
  179. if [ -f ${config_directory}/custom.cfg ]; then
  180. source ${config_directory}/custom.cfg
  181. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  182. source $prefix/custom.cfg
  183. fi
  184. ### END /etc/grub.d/41_custom ###
  185.  
Advertisement
RAW Paste Data Copied
Advertisement