Advertisement
Guest User

Untitled

a guest
Jun 28th, 2019
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.73 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.18.19-100.fc27.x86_64) 27 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.14.14-300.fc27.x86_64-advanced-b0276d9d-2767-4839-9085-9cc2c27e68ca' {
  86. load_video
  87. set gfxpayload=keep
  88. insmod gzio
  89. insmod part_msdos
  90. insmod ext2
  91. set root='hd1,msdos1'
  92. if [ x$feature_platform_search_hint = xy ]; then
  93. search --no-floppy --fs-uuid --set=root --hint='hd1,msdos1' d5505477-20ae-4d42-8d19-162bdb146d5a
  94. else
  95. search --no-floppy --fs-uuid --set=root d5505477-20ae-4d42-8d19-162bdb146d5a
  96. fi
  97. linux16 /vmlinuz-4.18.19-100.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. initrd16 /initramfs-4.18.19-100.fc27.x86_64.img
  99. }
  100. menuentry 'Fedora (4.15.14-300.fc27.x86_64) 27 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.14.14-300.fc27.x86_64-advanced-b0276d9d-2767-4839-9085-9cc2c27e68ca' {
  101. load_video
  102. set gfxpayload=keep
  103. insmod gzio
  104. insmod part_msdos
  105. insmod ext2
  106. set root='hd1,msdos1'
  107. if [ x$feature_platform_search_hint = xy ]; then
  108. search --no-floppy --fs-uuid --set=root --hint='hd1,msdos1' d5505477-20ae-4d42-8d19-162bdb146d5a
  109. else
  110. search --no-floppy --fs-uuid --set=root d5505477-20ae-4d42-8d19-162bdb146d5a
  111. fi
  112. linux16 /vmlinuz-4.15.14-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. initrd16 /initramfs-4.15.14-300.fc27.x86_64.img
  114. }
  115. menuentry 'Fedora (4.15.13-300.fc27.x86_64) 27 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.14.14-300.fc27.x86_64-advanced-b0276d9d-2767-4839-9085-9cc2c27e68ca' {
  116. load_video
  117. set gfxpayload=keep
  118. insmod gzio
  119. insmod part_msdos
  120. insmod ext2
  121. set root='hd1,msdos1'
  122. if [ x$feature_platform_search_hint = xy ]; then
  123. search --no-floppy --fs-uuid --set=root --hint='hd1,msdos1' d5505477-20ae-4d42-8d19-162bdb146d5a
  124. else
  125. search --no-floppy --fs-uuid --set=root d5505477-20ae-4d42-8d19-162bdb146d5a
  126. fi
  127. linux16 /vmlinuz-4.15.13-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
  128. initrd16 /initramfs-4.15.13-300.fc27.x86_64.img
  129. }
  130. menuentry 'Fedora (0-rescue-59d370d83a0f4c6f925fed5902aaa022) 27 (Workstation Edition)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-59d370d83a0f4c6f925fed5902aaa022-advanced-b0276d9d-2767-4839-9085-9cc2c27e68ca' {
  131. load_video
  132. insmod gzio
  133. insmod part_msdos
  134. insmod ext2
  135. set root='hd1,msdos1'
  136. if [ x$feature_platform_search_hint = xy ]; then
  137. search --no-floppy --fs-uuid --set=root --hint='hd1,msdos1' d5505477-20ae-4d42-8d19-162bdb146d5a
  138. else
  139. search --no-floppy --fs-uuid --set=root d5505477-20ae-4d42-8d19-162bdb146d5a
  140. fi
  141. linux16 /vmlinuz-0-rescue-59d370d83a0f4c6f925fed5902aaa022 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet
  142. initrd16 /initramfs-0-rescue-59d370d83a0f4c6f925fed5902aaa022.img
  143. }
  144. menuentry 'Fedora (0-rescue-59d370d83a0f4c6f925fed5902aaa022) 27 (Workstation Edition) (recovery mode)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-59d370d83a0f4c6f925fed5902aaa022-recovery-b0276d9d-2767-4839-9085-9cc2c27e68ca' {
  145. load_video
  146. insmod gzio
  147. insmod part_msdos
  148. insmod ext2
  149. set root='hd1,msdos1'
  150. if [ x$feature_platform_search_hint = xy ]; then
  151. search --no-floppy --fs-uuid --set=root --hint='hd1,msdos1' d5505477-20ae-4d42-8d19-162bdb146d5a
  152. else
  153. search --no-floppy --fs-uuid --set=root d5505477-20ae-4d42-8d19-162bdb146d5a
  154. fi
  155. linux16 /vmlinuz-0-rescue-59d370d83a0f4c6f925fed5902aaa022 root=/dev/mapper/fedora-root ro single rd.lvm.lv=fedora/root rd.lvm.lv=fedora/swap rhgb quiet
  156. initrd16 /initramfs-0-rescue-59d370d83a0f4c6f925fed5902aaa022.img
  157. }
  158. if [ "x$default" = 'Fedora (4.14.14-300.fc27.x86_64) 27 (Workstation Edition)' ]; then default='Advanced options for Fedora>Fedora (4.14.14-300.fc27.x86_64) 27 (Workstation Edition)'; fi;
  159. ### END /etc/grub.d/10_linux ###
  160.  
  161. ### BEGIN /etc/grub.d/20_linux_xen ###
  162.  
  163. ### END /etc/grub.d/20_linux_xen ###
  164.  
  165. ### BEGIN /etc/grub.d/20_ppc_terminfo ###
  166. ### END /etc/grub.d/20_ppc_terminfo ###
  167.  
  168. ### BEGIN /etc/grub.d/30_os-prober ###
  169. ### END /etc/grub.d/30_os-prober ###
  170.  
  171. ### BEGIN /etc/grub.d/40_custom ###
  172. # This file provides an easy way to add custom menu entries. Simply type the
  173. # menu entries you want to add after this comment. Be careful not to change
  174. # the 'exec tail' line above.
  175. ### END /etc/grub.d/40_custom ###
  176.  
  177. ### BEGIN /etc/grub.d/41_custom ###
  178. if [ -f ${config_directory}/custom.cfg ]; then
  179. source ${config_directory}/custom.cfg
  180. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  181. source $prefix/custom.cfg;
  182. fi
  183. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement