Pastes of random files.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

161 lines
4.9 KiB

  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. ### BEGIN /etc/grub.d/00_header ###
  8. insmod part_gpt
  9. insmod part_msdos
  10. if [ -s $prefix/grubenv ]; then
  11. set have_grubenv=true
  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. if [ x"${feature_menuentry_id}" = xy ]; then
  23. menuentry_id_option="--id"
  24. else
  25. menuentry_id_option=""
  26. fi
  27. export menuentry_id_option
  28. if [ "${prev_saved_entry}" ]; then
  29. set saved_entry="${prev_saved_entry}"
  30. save_env saved_entry
  31. set prev_saved_entry=
  32. save_env prev_saved_entry
  33. set boot_once=true
  34. fi
  35. function savedefault {
  36. if [ -z "${boot_once}" ]; then
  37. saved_entry="${chosen}"
  38. save_env saved_entry
  39. fi
  40. }
  41. function recordfail {
  42. set recordfail=1
  43. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  44. }
  45. function load_video {
  46. if [ x$feature_all_video_module = xy ]; then
  47. insmod all_video
  48. else
  49. insmod efi_gop
  50. insmod efi_uga
  51. insmod ieee1275_fb
  52. insmod vbe
  53. insmod vga
  54. insmod video_bochs
  55. insmod video_cirrus
  56. fi
  57. }
  58. if loadfont unicode ; then
  59. set gfxmode=auto
  60. load_video
  61. insmod gfxterm
  62. set locale_dir=$prefix/locale
  63. set lang=en_US
  64. insmod gettext
  65. fi
  66. terminal_output gfxterm
  67. if [ "${recordfail}" = 1 ] ; then
  68. set timeout=3
  69. else
  70. if [ x$feature_timeout_style = xy ] ; then
  71. set timeout_style=hidden
  72. set timeout=0
  73. # Fallback hidden-timeout code in case the timeout_style feature is
  74. # unavailable.
  75. elif sleep --interruptible 0 ; then
  76. set timeout=0
  77. fi
  78. fi
  79. ### END /etc/grub.d/00_header ###
  80. ### BEGIN /etc/grub.d/10_linux ###
  81. menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-fc7f3da4-028d-42ed-9e18-c12c277fa465' {
  82. recordfail
  83. load_video
  84. set gfxpayload=keep
  85. insmod gzio
  86. insmod part_gpt
  87. insmod fat
  88. if [ x$feature_platform_search_hint = xy ]; then
  89. search --no-floppy --fs-uuid --set=root B49C-A642
  90. else
  91. search --no-floppy --fs-uuid --set=root B49C-A642
  92. fi
  93. linux /vmlinuz-linux root=/dev/mapper/vg-root rw luks.name=8fb94386-d116-4e7e-86ba-6d7098ed03ba=luks root=/dev/vg/root resume=/dev/vg/swap audit=0 quiet splash loglevel=2 vga=current rd.systemd.show_status=false rd.udev.log_priority=2 vt.global_cursor_default=0
  94. initrd /intel-ucode.img /initramfs-linux.img
  95. }
  96. submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-fc7f3da4-028d-42ed-9e18-c12c277fa465' {
  97. menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-fc7f3da4-028d-42ed-9e18-c12c277fa465' {
  98. recordfail
  99. load_video
  100. set gfxpayload=keep
  101. insmod gzio
  102. insmod part_gpt
  103. insmod fat
  104. if [ x$feature_platform_search_hint = xy ]; then
  105. search --no-floppy --fs-uuid --set=root B49C-A642
  106. else
  107. search --no-floppy --fs-uuid --set=root B49C-A642
  108. fi
  109. echo 'Loading Linux linux ...'
  110. linux /vmlinuz-linux root=/dev/mapper/vg-root rw luks.name=8fb94386-d116-4e7e-86ba-6d7098ed03ba=luks root=/dev/vg/root resume=/dev/vg/swap audit=0 quiet splash loglevel=2 vga=current rd.systemd.show_status=false rd.udev.log_priority=2 vt.global_cursor_default=0
  111. echo 'Loading initial ramdisk ...'
  112. initrd /intel-ucode.img /initramfs-linux.img
  113. }
  114. menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-fc7f3da4-028d-42ed-9e18-c12c277fa465' {
  115. recordfail
  116. load_video
  117. set gfxpayload=keep
  118. insmod gzio
  119. insmod part_gpt
  120. insmod fat
  121. if [ x$feature_platform_search_hint = xy ]; then
  122. search --no-floppy --fs-uuid --set=root B49C-A642
  123. else
  124. search --no-floppy --fs-uuid --set=root B49C-A642
  125. fi
  126. echo 'Loading Linux linux ...'
  127. linux /vmlinuz-linux root=/dev/mapper/vg-root rw luks.name=8fb94386-d116-4e7e-86ba-6d7098ed03ba=luks root=/dev/vg/root resume=/dev/vg/swap audit=0 quiet splash loglevel=2 vga=current rd.systemd.show_status=false rd.udev.log_priority=2 vt.global_cursor_default=0
  128. echo 'Loading initial ramdisk ...'
  129. initrd /intel-ucode.img /initramfs-linux-fallback.img
  130. }
  131. }
  132. ### END /etc/grub.d/10_linux ###
  133. ### BEGIN /etc/grub.d/20_linux_xen ###
  134. ### END /etc/grub.d/20_linux_xen ###
  135. ### BEGIN /etc/grub.d/30_os-prober ###
  136. ### END /etc/grub.d/30_os-prober ###
  137. ### BEGIN /etc/grub.d/40_custom ###
  138. # This file provides an easy way to add custom menu entries. Simply type the
  139. # menu entries you want to add after this comment. Be careful not to change
  140. # the 'exec tail' line above.
  141. ### END /etc/grub.d/40_custom ###
  142. ### BEGIN /etc/grub.d/41_custom ###
  143. if [ -f ${config_directory}/custom.cfg ]; then
  144. source ${config_directory}/custom.cfg
  145. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  146. source $prefix/custom.cfg;
  147. fi
  148. ### END /etc/grub.d/41_custom ###