Advertisement
Guest User

Untitled

a guest
Nov 5th, 2017
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 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=1
  66. # Fallback normal timeout code in case the timeout_style feature is
  67. # unavailable.
  68. else
  69. set timeout=1
  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.9-300.fc27.aarch64) 27 (Twenty Seven)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.13.9-300.fc27.aarch64-advanced-b3bf6fcd-c6d0-4afa-bcd9-784ae8690f7e' {
  86. load_video
  87. set gfxpayload=keep
  88. insmod gzio
  89. insmod part_msdos
  90. insmod ext2
  91. if [ x$feature_platform_search_hint = xy ]; then
  92. search --no-floppy --fs-uuid --set=root a82e9c06-478a-40fc-997e-26f80a05a822
  93. else
  94. search --no-floppy --fs-uuid --set=root a82e9c06-478a-40fc-997e-26f80a05a822
  95. fi
  96. linux /vmlinuz-4.13.9-300.fc27.aarch64 root=UUID=b3bf6fcd-c6d0-4afa-bcd9-784ae8690f7e ro console=ttyS0,115200n8 LANG=en_US.UTF-8
  97. initrd /initramfs-4.13.9-300.fc27.aarch64.img
  98. }
  99.  
  100. ### END /etc/grub.d/10_linux ###
  101.  
  102. ### BEGIN /etc/grub.d/20_linux_xen ###
  103. ### END /etc/grub.d/20_linux_xen ###
  104.  
  105. ### BEGIN /etc/grub.d/20_ppc_terminfo ###
  106. ### END /etc/grub.d/20_ppc_terminfo ###
  107.  
  108. ### BEGIN /etc/grub.d/30_os-prober ###
  109. ### END /etc/grub.d/30_os-prober ###
  110.  
  111. ### BEGIN /etc/grub.d/40_custom ###
  112. # This file provides an easy way to add custom menu entries. Simply type the
  113. # menu entries you want to add after this comment. Be careful not to change
  114. # the 'exec tail' line above.
  115. ### END /etc/grub.d/40_custom ###
  116.  
  117. ### BEGIN /etc/grub.d/41_custom ###
  118. if [ -f ${config_directory}/custom.cfg ]; then
  119. source ${config_directory}/custom.cfg
  120. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  121. source $prefix/custom.cfg;
  122. fi
  123. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement