Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.24 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. if [ -s $prefix/grubenv ]; then
  10. set have_grubenv=true
  11. load_env
  12. fi
  13. if [ "${next_entry}" ] ; then
  14. set default="${next_entry}"
  15. set next_entry=
  16. save_env next_entry
  17. set boot_once=true
  18. else
  19. set default="0"
  20. fi
  21.  
  22. if [ x"${feature_menuentry_id}" = xy ]; then
  23. menuentry_id_option="--id"
  24. else
  25. menuentry_id_option=""
  26. fi
  27.  
  28. export menuentry_id_option
  29.  
  30. if [ "${prev_saved_entry}" ]; then
  31. set saved_entry="${prev_saved_entry}"
  32. save_env saved_entry
  33. set prev_saved_entry=
  34. save_env prev_saved_entry
  35. set boot_once=true
  36. fi
  37.  
  38. function savedefault {
  39. if [ -z "${boot_once}" ]; then
  40. saved_entry="${chosen}"
  41. save_env saved_entry
  42. fi
  43. }
  44. function load_video {
  45. if [ x$feature_all_video_module = xy ]; then
  46. insmod all_video
  47. else
  48. insmod efi_gop
  49. insmod efi_uga
  50. insmod ieee1275_fb
  51. insmod vbe
  52. insmod vga
  53. insmod video_bochs
  54. insmod video_cirrus
  55. fi
  56. }
  57.  
  58. if [ x$feature_default_font_path = xy ] ; then
  59. font=unicode
  60. else
  61. insmod part_gpt
  62. insmod lvm
  63. insmod ext2
  64. set root='lvmid/aJQZK8-i1c0-QMcd-pAcS-RErD-lfA1-zHUD8t/v9kkyE-3AK6-efga-9KPI-NXkP-x0U6-lF2d9w'
  65. if [ x$feature_platform_search_hint = xy ]; then
  66. search --no-floppy --fs-uuid --set=root --hint='lvmid/aJQZK8-i1c0-QMcd-pAcS-RErD-lfA1-zHUD8t/v9kkyE-3AK6-efga-9KPI-NXkP-x0U6-lF2d9w' ebb0bdf6-9b86-4ae7-8509-aa1650e2a55c
  67. else
  68. search --no-floppy --fs-uuid --set=root ebb0bdf6-9b86-4ae7-8509-aa1650e2a55c
  69. fi
  70. font="/usr/share/grub/unicode.pf2"
  71. fi
  72.  
  73. if loadfont $font ; then
  74. set gfxmode=auto
  75. load_video
  76. insmod gfxterm
  77. set locale_dir=$prefix/locale
  78. set lang=C
  79. insmod gettext
  80. fi
  81. terminal_output gfxterm
  82. if [ "${recordfail}" = 1 ] ; then
  83. set timeout=30
  84. else
  85. if [ x$feature_timeout_style = xy ] ; then
  86. set timeout_style=menu
  87. set timeout=5
  88. # Fallback normal timeout code in case the timeout_style feature is
  89. # unavailable.
  90. else
  91. set timeout=5
  92. fi
  93. fi
  94. ### END /etc/grub.d/00_header ###
  95.  
  96. ### BEGIN /etc/grub.d/05_debian_theme ###
  97. insmod part_gpt
  98. insmod lvm
  99. insmod ext2
  100. set root='lvmid/aJQZK8-i1c0-QMcd-pAcS-RErD-lfA1-zHUD8t/v9kkyE-3AK6-efga-9KPI-NXkP-x0U6-lF2d9w'
  101. if [ x$feature_platform_search_hint = xy ]; then
  102. search --no-floppy --fs-uuid --set=root --hint='lvmid/aJQZK8-i1c0-QMcd-pAcS-RErD-lfA1-zHUD8t/v9kkyE-3AK6-efga-9KPI-NXkP-x0U6-lF2d9w' ebb0bdf6-9b86-4ae7-8509-aa1650e2a55c
  103. else
  104. search --no-floppy --fs-uuid --set=root ebb0bdf6-9b86-4ae7-8509-aa1650e2a55c
  105. fi
  106. insmod png
  107. if background_image /usr/share/desktop-base/futureprototype-theme/grub/grub-16x9.png; then
  108. set color_normal=white/black
  109. set color_highlight=black/white
  110. else
  111. set menu_color_normal=cyan/blue
  112. set menu_color_highlight=white/blue
  113. fi
  114. ### END /etc/grub.d/05_debian_theme ###
  115.  
  116. ### BEGIN /etc/grub.d/10_linux ###
  117. function gfxmode {
  118. set gfxpayload="${1}"
  119. }
  120. set linux_gfx_mode=
  121. export linux_gfx_mode
  122.  
  123. ### END /etc/grub.d/10_linux ###
  124.  
  125. ### BEGIN /etc/grub.d/20_linux_xen ###
  126. ### END /etc/grub.d/20_linux_xen ###
  127.  
  128. ### BEGIN /etc/grub.d/25_custom ###
  129.  
  130. menuentry "EFI/debian/fbx64.efi" {
  131. search --fs-uuid --no-floppy --set=root A756-504B
  132. chainloader (${root})/EFI/debian/fbx64.efi
  133. }
  134.  
  135. menuentry "EFI/debian/mmx64.efi" {
  136. search --fs-uuid --no-floppy --set=root A756-504B
  137. chainloader (${root})/EFI/debian/mmx64.efi
  138. }
  139. ### END /etc/grub.d/25_custom ###
  140.  
  141. ### BEGIN /etc/grub.d/30_os-prober ###
  142. ### END /etc/grub.d/30_os-prober ###
  143.  
  144. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  145. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  146. fwsetup
  147. }
  148. ### END /etc/grub.d/30_uefi-firmware ###
  149.  
  150. ### BEGIN /etc/grub.d/40_custom ###
  151. # This file provides an easy way to add custom menu entries. Simply type the
  152. # menu entries you want to add after this comment. Be careful not to change
  153. # the 'exec tail' line above.
  154. ### END /etc/grub.d/40_custom ###
  155.  
  156. ### BEGIN /etc/grub.d/41_custom ###
  157. if [ -f ${config_directory}/custom.cfg ]; then
  158. source ${config_directory}/custom.cfg
  159. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  160. source $prefix/custom.cfg;
  161. fi
  162. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement