Advertisement
Guest User

Untitled

a guest
Sep 14th, 2023
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.58 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 loadfont unicode ; then
  61. set gfxmode=auto
  62. load_video
  63. insmod gfxterm
  64. fi
  65. terminal_input console
  66. terminal_output gfxterm
  67. if [ x$feature_timeout_style = xy ] ; then
  68. set timeout_style=menu
  69. set timeout=0
  70. # Fallback normal timeout code in case the timeout_style feature is
  71. # unavailable.
  72. else
  73. set timeout=0
  74. fi
  75. ### END /etc/grub.d/00_header ###
  76.  
  77. ### BEGIN /etc/grub.d/10_linux ###
  78. menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-e321b02f-7b2b-4c04-837e-83c9992c8341' {
  79. load_video
  80. set gfxpayload=keep
  81. insmod gzio
  82. insmod part_gpt
  83. insmod fat
  84. search --no-floppy --fs-uuid --set=root F95D-E3B3
  85. echo 'Loading Linux linux ...'
  86. linux /vmlinuz-linux root=/dev/mapper/vg-root rw loglevel=3 quiet cryptdevice=UUID=0b974d54-3d72-4d38-9995-e33cc37324b1:cryptlvm resume=UUID=a0e07cee-d74c-494b-a11c-712126bc2c0c nvidia_drm.modeset=1
  87. echo 'Loading initial ramdisk ...'
  88. initrd /initramfs-linux.img
  89. }
  90. submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-e321b02f-7b2b-4c04-837e-83c9992c8341' {
  91. menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-e321b02f-7b2b-4c04-837e-83c9992c8341' {
  92. load_video
  93. set gfxpayload=keep
  94. insmod gzio
  95. insmod part_gpt
  96. insmod fat
  97. search --no-floppy --fs-uuid --set=root F95D-E3B3
  98. echo 'Loading Linux linux ...'
  99. linux /vmlinuz-linux root=/dev/mapper/vg-root rw loglevel=3 quiet cryptdevice=UUID=0b974d54-3d72-4d38-9995-e33cc37324b1:cryptlvm resume=UUID=a0e07cee-d74c-494b-a11c-712126bc2c0c nvidia_drm.modeset=1
  100. echo 'Loading initial ramdisk ...'
  101. initrd /initramfs-linux.img
  102. }
  103. menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-e321b02f-7b2b-4c04-837e-83c9992c8341' {
  104. load_video
  105. set gfxpayload=keep
  106. insmod gzio
  107. insmod part_gpt
  108. insmod fat
  109. search --no-floppy --fs-uuid --set=root F95D-E3B3
  110. echo 'Loading Linux linux ...'
  111. linux /vmlinuz-linux root=/dev/mapper/vg-root rw loglevel=3 quiet cryptdevice=UUID=0b974d54-3d72-4d38-9995-e33cc37324b1:cryptlvm resume=UUID=a0e07cee-d74c-494b-a11c-712126bc2c0c nvidia_drm.modeset=1
  112. echo 'Loading initial ramdisk ...'
  113. initrd /initramfs-linux-fallback.img
  114. }
  115. }
  116.  
  117. ### END /etc/grub.d/10_linux ###
  118.  
  119. ### BEGIN /etc/grub.d/20_linux_xen ###
  120. ### END /etc/grub.d/20_linux_xen ###
  121.  
  122. ### BEGIN /etc/grub.d/25_bli ###
  123. if [ "$grub_platform" = "efi" ]; then
  124. insmod bli
  125. fi
  126. ### END /etc/grub.d/25_bli ###
  127.  
  128. ### BEGIN /etc/grub.d/30_os-prober ###
  129. ### END /etc/grub.d/30_os-prober ###
  130.  
  131. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  132. if [ "$grub_platform" = "efi" ]; then
  133. fwsetup --is-supported
  134. if [ "$?" = 0 ]; then
  135. menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
  136. fwsetup
  137. }
  138. fi
  139. fi
  140. ### END /etc/grub.d/30_uefi-firmware ###
  141.  
  142. ### BEGIN /etc/grub.d/40_custom ###
  143. # This file provides an easy way to add custom menu entries. Simply type the
  144. # menu entries you want to add after this comment. Be careful not to change
  145. # the 'exec tail' line above.
  146. ### END /etc/grub.d/40_custom ###
  147.  
  148. ### BEGIN /etc/grub.d/41_custom ###
  149. if [ -f ${config_directory}/custom.cfg ]; then
  150. source ${config_directory}/custom.cfg
  151. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  152. source $prefix/custom.cfg
  153. fi
  154. ### END /etc/grub.d/41_custom ###
  155.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement