Advertisement
Guest User

Untitled

a guest
Dec 2nd, 2017
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.52 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="${saved_entry}"
  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.13.16-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-f0c77522-34c4-41c7-b7b3-595cb8d1105a' {
  86. load_video
  87. set gfxpayload=keep
  88. insmod gzio
  89. insmod part_gpt
  90. insmod ext2
  91. set root='hd0,gpt5'
  92. if [ x$feature_platform_search_hint = xy ]; then
  93. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 0e56c31b-4738-4ea8-b6ad-67abe3f1a7d6
  94. else
  95. search --no-floppy --fs-uuid --set=root 0e56c31b-4738-4ea8-b6ad-67abe3f1a7d6
  96. fi
  97. linuxefi /vmlinuz-4.13.16-300.fc27.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet LANG=en_US.UTF-8
  98. initrdefi /initramfs-4.13.16-300.fc27.x86_64.img
  99. }
  100. 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-f0c77522-34c4-41c7-b7b3-595cb8d1105a' {
  101. load_video
  102. set gfxpayload=keep
  103. insmod gzio
  104. insmod part_gpt
  105. insmod ext2
  106. set root='hd0,gpt5'
  107. if [ x$feature_platform_search_hint = xy ]; then
  108. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 0e56c31b-4738-4ea8-b6ad-67abe3f1a7d6
  109. else
  110. search --no-floppy --fs-uuid --set=root 0e56c31b-4738-4ea8-b6ad-67abe3f1a7d6
  111. fi
  112. 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 LANG=en_US.UTF-8
  113. initrdefi /initramfs-4.13.9-300.fc27.x86_64.img
  114. }
  115. menuentry 'Fedora (0-rescue-7cd1f03d465c496dacaffd0c270cf21f) 27 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-7cd1f03d465c496dacaffd0c270cf21f-advanced-f0c77522-34c4-41c7-b7b3-595cb8d1105a' {
  116. load_video
  117. insmod gzio
  118. insmod part_gpt
  119. insmod ext2
  120. set root='hd0,gpt5'
  121. if [ x$feature_platform_search_hint = xy ]; then
  122. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 0e56c31b-4738-4ea8-b6ad-67abe3f1a7d6
  123. else
  124. search --no-floppy --fs-uuid --set=root 0e56c31b-4738-4ea8-b6ad-67abe3f1a7d6
  125. fi
  126. linuxefi /vmlinuz-0-rescue-7cd1f03d465c496dacaffd0c270cf21f root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet
  127. initrdefi /initramfs-0-rescue-7cd1f03d465c496dacaffd0c270cf21f.img
  128. }
  129.  
  130. ### END /etc/grub.d/10_linux ###
  131.  
  132. ### BEGIN /etc/grub.d/20_linux_xen ###
  133.  
  134. ### END /etc/grub.d/20_linux_xen ###
  135.  
  136. ### BEGIN /etc/grub.d/20_ppc_terminfo ###
  137. ### END /etc/grub.d/20_ppc_terminfo ###
  138.  
  139. ### BEGIN /etc/grub.d/30_os-prober ###
  140. menuentry 'Windows Boot Manager (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-efi-CEAE-4AC2' {
  141. insmod part_gpt
  142. insmod fat
  143. set root='hd1,gpt1'
  144. if [ x$feature_platform_search_hint = xy ]; then
  145. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 CEAE-4AC2
  146. else
  147. search --no-floppy --fs-uuid --set=root CEAE-4AC2
  148. fi
  149. chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  150. }
  151. ### END /etc/grub.d/30_os-prober ###
  152.  
  153. ### BEGIN /etc/grub.d/40_custom ###
  154. # This file provides an easy way to add custom menu entries. Simply type the
  155. # menu entries you want to add after this comment. Be careful not to change
  156. # the 'exec tail' line above.
  157. ### END /etc/grub.d/40_custom ###
  158.  
  159. ### BEGIN /etc/grub.d/41_custom ###
  160. if [ -f ${config_directory}/custom.cfg ]; then
  161. source ${config_directory}/custom.cfg
  162. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  163. source $prefix/custom.cfg;
  164. fi
  165. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement