Guest User

Untitled

a guest
Dec 30th, 2021
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.59 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. 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_gpt
  64. insmod lvm
  65. insmod ext2
  66. set root='lvmid/nCvThd-5wdO-CdoU-eSfP-G7TQ-S9gw-pdcdhB/78m81G-SykV-TIud-hUWy-jZjX-G8BC-hh4OsL'
  67. if [ x$feature_platform_search_hint = xy ]; then
  68. search --no-floppy --fs-uuid --set=root --hint='lvmid/nCvThd-5wdO-CdoU-eSfP-G7TQ-S9gw-pdcdhB/78m81G-SykV-TIud-hUWy-jZjX-G8BC-hh4OsL' 7e645fba-0fac-4fda-a6b4-391204510eed
  69. else
  70. search --no-floppy --fs-uuid --set=root 7e645fba-0fac-4fda-a6b4-391204510eed
  71. fi
  72. font="/usr/share/grub/unicode.pf2"
  73. fi
  74.  
  75. if loadfont $font ; then
  76. set gfxmode=auto
  77. load_video
  78. insmod gfxterm
  79. set locale_dir=$prefix/locale
  80. set lang=en_US
  81. insmod gettext
  82. fi
  83. terminal_input console
  84. terminal_output gfxterm
  85. if [ x$feature_timeout_style = xy ] ; then
  86. set timeout_style=menu
  87. set timeout=1
  88. # Fallback normal timeout code in case the timeout_style feature is
  89. # unavailable.
  90. else
  91. set timeout=1
  92. fi
  93. ### END /etc/grub.d/00_header ###
  94.  
  95. ### BEGIN /etc/grub.d/10_linux ###
  96. menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7e645fba-0fac-4fda-a6b4-391204510eed' {
  97. load_video
  98. set gfxpayload=keep
  99. insmod gzio
  100. insmod part_gpt
  101. insmod lvm
  102. insmod ext2
  103. set root='lvmid/nCvThd-5wdO-CdoU-eSfP-G7TQ-S9gw-pdcdhB/78m81G-SykV-TIud-hUWy-jZjX-G8BC-hh4OsL'
  104. if [ x$feature_platform_search_hint = xy ]; then
  105. search --no-floppy --fs-uuid --set=root --hint='lvmid/nCvThd-5wdO-CdoU-eSfP-G7TQ-S9gw-pdcdhB/78m81G-SykV-TIud-hUWy-jZjX-G8BC-hh4OsL' 7e645fba-0fac-4fda-a6b4-391204510eed
  106. else
  107. search --no-floppy --fs-uuid --set=root 7e645fba-0fac-4fda-a6b4-391204510eed
  108. fi
  109. echo 'Loading Linux linux ...'
  110. linux /boot/vmlinuz-linux root=/dev/mapper/volgroup0-lv_root rw loglevel=3 quiet acpi_backlight=native cpufreq.default_governor=powersave
  111. echo 'Loading initial ramdisk ...'
  112. initrd /boot/amd-ucode.img /boot/initramfs-linux.img
  113. }
  114. submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-7e645fba-0fac-4fda-a6b4-391204510eed' {
  115. menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-7e645fba-0fac-4fda-a6b4-391204510eed' {
  116. load_video
  117. set gfxpayload=keep
  118. insmod gzio
  119. insmod part_gpt
  120. insmod lvm
  121. insmod ext2
  122. set root='lvmid/nCvThd-5wdO-CdoU-eSfP-G7TQ-S9gw-pdcdhB/78m81G-SykV-TIud-hUWy-jZjX-G8BC-hh4OsL'
  123. if [ x$feature_platform_search_hint = xy ]; then
  124. search --no-floppy --fs-uuid --set=root --hint='lvmid/nCvThd-5wdO-CdoU-eSfP-G7TQ-S9gw-pdcdhB/78m81G-SykV-TIud-hUWy-jZjX-G8BC-hh4OsL' 7e645fba-0fac-4fda-a6b4-391204510eed
  125. else
  126. search --no-floppy --fs-uuid --set=root 7e645fba-0fac-4fda-a6b4-391204510eed
  127. fi
  128. echo 'Loading Linux linux ...'
  129. linux /boot/vmlinuz-linux root=/dev/mapper/volgroup0-lv_root rw loglevel=3 quiet acpi_backlight=native cpufreq.default_governor=powersave
  130. echo 'Loading initial ramdisk ...'
  131. initrd /boot/amd-ucode.img /boot/initramfs-linux.img
  132. }
  133. menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-7e645fba-0fac-4fda-a6b4-391204510eed' {
  134. load_video
  135. set gfxpayload=keep
  136. insmod gzio
  137. insmod part_gpt
  138. insmod lvm
  139. insmod ext2
  140. set root='lvmid/nCvThd-5wdO-CdoU-eSfP-G7TQ-S9gw-pdcdhB/78m81G-SykV-TIud-hUWy-jZjX-G8BC-hh4OsL'
  141. if [ x$feature_platform_search_hint = xy ]; then
  142. search --no-floppy --fs-uuid --set=root --hint='lvmid/nCvThd-5wdO-CdoU-eSfP-G7TQ-S9gw-pdcdhB/78m81G-SykV-TIud-hUWy-jZjX-G8BC-hh4OsL' 7e645fba-0fac-4fda-a6b4-391204510eed
  143. else
  144. search --no-floppy --fs-uuid --set=root 7e645fba-0fac-4fda-a6b4-391204510eed
  145. fi
  146. echo 'Loading Linux linux ...'
  147. linux /boot/vmlinuz-linux root=/dev/mapper/volgroup0-lv_root rw loglevel=3 quiet acpi_backlight=native cpufreq.default_governor=powersave
  148. echo 'Loading initial ramdisk ...'
  149. initrd /boot/amd-ucode.img /boot/initramfs-linux-fallback.img
  150. }
  151. }
  152. ### END /etc/grub.d/10_linux ###
  153.  
  154. ### BEGIN /etc/grub.d/20_linux_xen ###
  155. ### END /etc/grub.d/20_linux_xen ###
  156.  
  157. ### BEGIN /etc/grub.d/30_os-prober ###
  158. ### END /etc/grub.d/30_os-prober ###
  159.  
  160. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  161. menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
  162. fwsetup
  163. }
  164. ### END /etc/grub.d/30_uefi-firmware ###
  165.  
  166. ### BEGIN /etc/grub.d/40_custom ###
  167. # This file provides an easy way to add custom menu entries. Simply type the
  168. # menu entries you want to add after this comment. Be careful not to change
  169. # the 'exec tail' line above.
  170. ### END /etc/grub.d/40_custom ###
  171.  
  172. ### BEGIN /etc/grub.d/41_custom ###
  173. if [ -f ${config_directory}/custom.cfg ]; then
  174. source ${config_directory}/custom.cfg
  175. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  176. source $prefix/custom.cfg
  177. fi
  178. ### END /etc/grub.d/41_custom ###
  179.  
Advertisement
Add Comment
Please, Sign In to add comment