Advertisement
Guest User

Untitled

a guest
Apr 19th, 2018
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.29 KB | None | 0 0
  1. #
  2. # DO NOT EDIT THIS FILE
  3. #
  4. # It is automatically generated by grub2-mkconfig using templates
  5. # from /etc/grub.d and settings from /etc/default/grub
  6. #
  7.  
  8. ### BEGIN /etc/grub.d/00_header ###
  9. set pager=1
  10.  
  11. if [ -f ${config_directory}/grubenv ]; then
  12. load_env -f ${config_directory}/grubenv
  13. elif [ -s $prefix/grubenv ]; then
  14. load_env
  15. fi
  16. if [ "${next_entry}" ] ; then
  17. set default="${next_entry}"
  18. set next_entry=
  19. save_env next_entry
  20. set boot_once=true
  21. else
  22. set default="4"
  23. fi
  24.  
  25. if [ x"${feature_menuentry_id}" = xy ]; then
  26. menuentry_id_option="--id"
  27. else
  28. menuentry_id_option=""
  29. fi
  30.  
  31. export menuentry_id_option
  32.  
  33. if [ "${prev_saved_entry}" ]; then
  34. set saved_entry="${prev_saved_entry}"
  35. save_env saved_entry
  36. set prev_saved_entry=
  37. save_env prev_saved_entry
  38. set boot_once=true
  39. fi
  40.  
  41. function savedefault {
  42. if [ -z "${boot_once}" ]; then
  43. saved_entry="${chosen}"
  44. save_env saved_entry
  45. fi
  46. }
  47.  
  48. function load_video {
  49. if [ x$feature_all_video_module = xy ]; then
  50. insmod all_video
  51. else
  52. insmod efi_gop
  53. insmod efi_uga
  54. insmod ieee1275_fb
  55. insmod vbe
  56. insmod vga
  57. insmod video_bochs
  58. insmod video_cirrus
  59. fi
  60. }
  61.  
  62. terminal_output console
  63. if [ x$feature_timeout_style = xy ] ; then
  64. set timeout_style=menu
  65. set timeout=5
  66. # Fallback normal timeout code in case the timeout_style feature is
  67. # unavailable.
  68. else
  69. set timeout=5
  70. fi
  71. ### END /etc/grub.d/00_header ###
  72.  
  73. ### BEGIN /etc/grub.d/01_users ###
  74. if [ -f ${prefix}/user.cfg ]; then
  75. source ${prefix}/user.cfg
  76. if [ -n "${GRUB2_PASSWORD}" ]; then
  77. set superusers="root"
  78. export superusers
  79. password_pbkdf2 root ${GRUB2_PASSWORD}
  80. fi
  81. fi
  82. ### END /etc/grub.d/01_users ###
  83.  
  84. ### BEGIN /etc/grub.d/10_linux ###
  85. menuentry 'Fedora (4.15.17-300.fc27.x86_64) 27 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.15.17-300.fc27.x86_64-advanced-03ca1c7c-bfa8-4804-8655-aa72fe909840' {
  86. load_video
  87. set gfxpayload=keep
  88. insmod gzio
  89. insmod part_gpt
  90. insmod ext2
  91. set root='hd1,gpt5'
  92. if [ x$feature_platform_search_hint = xy ]; then
  93. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5 bdf1280a-bf68-4dfe-95b4-565aaca3b04d
  94. else
  95. search --no-floppy --fs-uuid --set=root bdf1280a-bf68-4dfe-95b4-565aaca3b04d
  96. fi
  97. linuxefi /vmlinuz-4.15.17-300.fc27.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet
  98. initrdefi /initramfs-4.15.17-300.fc27.x86_64.img
  99. }
  100. menuentry 'Fedora (4.15.15-300.fc27.x86_64) 27 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.15.15-300.fc27.x86_64-advanced-03ca1c7c-bfa8-4804-8655-aa72fe909840' {
  101. load_video
  102. set gfxpayload=keep
  103. insmod gzio
  104. insmod part_gpt
  105. insmod ext2
  106. set root='hd1,gpt5'
  107. if [ x$feature_platform_search_hint = xy ]; then
  108. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5 bdf1280a-bf68-4dfe-95b4-565aaca3b04d
  109. else
  110. search --no-floppy --fs-uuid --set=root bdf1280a-bf68-4dfe-95b4-565aaca3b04d
  111. fi
  112. linuxefi /vmlinuz-4.15.15-300.fc27.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet
  113. initrdefi /initramfs-4.15.15-300.fc27.x86_64.img
  114. }
  115. menuentry 'Fedora (4.13.9-300.fc27.x86_64) 27 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.13.9-300.fc27.x86_64-advanced-03ca1c7c-bfa8-4804-8655-aa72fe909840' {
  116. load_video
  117. set gfxpayload=keep
  118. insmod gzio
  119. insmod part_gpt
  120. insmod ext2
  121. set root='hd1,gpt5'
  122. if [ x$feature_platform_search_hint = xy ]; then
  123. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5 bdf1280a-bf68-4dfe-95b4-565aaca3b04d
  124. else
  125. search --no-floppy --fs-uuid --set=root bdf1280a-bf68-4dfe-95b4-565aaca3b04d
  126. fi
  127. linuxefi /vmlinuz-4.13.9-300.fc27.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet
  128. initrdefi /initramfs-4.13.9-300.fc27.x86_64.img
  129. }
  130. menuentry 'Fedora (0-rescue-d1d172435d02439ab1808fc9c08b9e93) 27 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-d1d172435d02439ab1808fc9c08b9e93-advanced-03ca1c7c-bfa8-4804-8655-aa72fe909840' {
  131. load_video
  132. insmod gzio
  133. insmod part_gpt
  134. insmod ext2
  135. set root='hd1,gpt5'
  136. if [ x$feature_platform_search_hint = xy ]; then
  137. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt5 --hint-efi=hd1,gpt5 --hint-baremetal=ahci1,gpt5 bdf1280a-bf68-4dfe-95b4-565aaca3b04d
  138. else
  139. search --no-floppy --fs-uuid --set=root bdf1280a-bf68-4dfe-95b4-565aaca3b04d
  140. fi
  141. linuxefi /vmlinuz-0-rescue-d1d172435d02439ab1808fc9c08b9e93 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet
  142. initrdefi /initramfs-0-rescue-d1d172435d02439ab1808fc9c08b9e93.img
  143. }
  144.  
  145. ### END /etc/grub.d/10_linux ###
  146.  
  147. ### BEGIN /etc/grub.d/20_linux_xen ###
  148.  
  149. ### END /etc/grub.d/20_linux_xen ###
  150.  
  151. ### BEGIN /etc/grub.d/20_ppc_terminfo ###
  152. ### END /etc/grub.d/20_ppc_terminfo ###
  153.  
  154. ### BEGIN /etc/grub.d/30_os-prober ###
  155. menuentry 'Windows Boot Manager (on /dev/sdb2)' --class windows --class os $menuentry_id_option 'osprober-efi-EE2D-D338' {
  156. insmod part_gpt
  157. insmod fat
  158. set root='hd1,gpt2'
  159. if [ x$feature_platform_search_hint = xy ]; then
  160. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt2 --hint-efi=hd1,gpt2 --hint-baremetal=ahci1,gpt2 EE2D-D338
  161. else
  162. search --no-floppy --fs-uuid --set=root EE2D-D338
  163. fi
  164. chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  165. }
  166. ### END /etc/grub.d/30_os-prober ###
  167.  
  168. ### BEGIN /etc/grub.d/40_custom ###
  169. # This file provides an easy way to add custom menu entries. Simply type the
  170. # menu entries you want to add after this comment. Be careful not to change
  171. # the 'exec tail' line above.
  172. ### END /etc/grub.d/40_custom ###
  173.  
  174. ### BEGIN /etc/grub.d/41_custom ###
  175. if [ -f ${config_directory}/custom.cfg ]; then
  176. source ${config_directory}/custom.cfg
  177. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  178. source $prefix/custom.cfg;
  179. fi
  180. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement