Advertisement
Guest User

Untitled

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