Advertisement
Guest User

Untitled

a guest
May 8th, 2020
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.04 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 btrfs
  63. set root='hd0,gpt1'
  64. if [ x$feature_platform_search_hint = xy ]; then
  65.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  02081e29-8ca0-4cc8-a718-b22d5b7865b7
  66. else
  67.   search --no-floppy --fs-uuid --set=root 02081e29-8ca0-4cc8-a718-b22d5b7865b7
  68. fi
  69.     font="/@/usr/share/grub/unicode.pf2"
  70. fi
  71.  
  72. if loadfont $font ; then
  73.   set gfxmode=auto
  74.   load_video
  75.   insmod gfxterm
  76.   set locale_dir=$prefix/locale
  77.   set lang=C
  78.   insmod gettext
  79. fi
  80. terminal_output gfxterm
  81. if [ "${recordfail}" = 1 ] ; then
  82.   set timeout=10
  83. else
  84.   if [ x$feature_timeout_style = xy ] ; then
  85.     set timeout_style=menu
  86.     set timeout=10
  87.   # Fallback normal timeout code in case the timeout_style feature is
  88.   # unavailable.
  89.   else
  90.     set timeout=10
  91.   fi
  92. fi
  93. ### END /etc/grub.d/00_header ###
  94.  
  95. ### BEGIN /etc/grub.d/05_debian_theme ###
  96. insmod part_gpt
  97. insmod btrfs
  98. set root='hd0,gpt1'
  99. if [ x$feature_platform_search_hint = xy ]; then
  100.   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  02081e29-8ca0-4cc8-a718-b22d5b7865b7
  101. else
  102.   search --no-floppy --fs-uuid --set=root 02081e29-8ca0-4cc8-a718-b22d5b7865b7
  103. fi
  104. insmod png
  105. if background_image /@/usr/share/desktop-base/futureprototype-theme/grub/grub-4x3.png; then
  106.   set color_normal=white/black
  107.   set color_highlight=black/white
  108. else
  109.   set menu_color_normal=cyan/blue
  110.   set menu_color_highlight=white/blue
  111. fi
  112. ### END /etc/grub.d/05_debian_theme ###
  113.  
  114. ### BEGIN /etc/grub.d/10_linux ###
  115. function gfxmode {
  116.         set gfxpayload="${1}"
  117. }
  118. set linux_gfx_mode=
  119. export linux_gfx_mode
  120. menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-02081e29-8ca0-4cc8-a718-b22d5b7865b7' {
  121.         load_video
  122.         insmod gzio
  123.         if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  124.         insmod part_gpt
  125.         insmod btrfs
  126.         set root='hd0,gpt1'
  127.         if [ x$feature_platform_search_hint = xy ]; then
  128.           search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  02081e29-8ca0-4cc8-a718-b22d5b7865b7
  129.         else
  130.           search --no-floppy --fs-uuid --set=root 02081e29-8ca0-4cc8-a718-b22d5b7865b7
  131.         fi
  132.         echo    'Loading Linux 4.19.0-8-amd64 ...'
  133.         linux   /@/boot/vmlinuz-4.19.0-8-amd64 root=UUID=02081e29-8ca0-4cc8-a718-b22d5b7865b7 ro rootflags=subvol=@  quiet
  134.         echo    'Loading initial ramdisk ...'
  135.         initrd  /@/boot/initrd.img-4.19.0-8-amd64
  136. }
  137. submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-02081e29-8ca0-4cc8-a718-b22d5b7865b7' {
  138.         menuentry 'Debian GNU/Linux, with Linux 4.19.0-8-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-8-amd64-advanced-02081e29-8ca0-4cc8-a718-b22d5b7865b7' {
  139.                 load_video
  140.                 insmod gzio
  141.                 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  142.                 insmod part_gpt
  143.                 insmod btrfs
  144.                 set root='hd0,gpt1'
  145.                 if [ x$feature_platform_search_hint = xy ]; then
  146.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  02081e29-8ca0-4cc8-a718-b22d5b7865b7
  147.                 else
  148.                   search --no-floppy --fs-uuid --set=root 02081e29-8ca0-4cc8-a718-b22d5b7865b7
  149.                 fi
  150.                 echo    'Loading Linux 4.19.0-8-amd64 ...'
  151.                 linux   /@/boot/vmlinuz-4.19.0-8-amd64 root=UUID=02081e29-8ca0-4cc8-a718-b22d5b7865b7 ro rootflags=subvol=@  quiet
  152.                 echo    'Loading initial ramdisk ...'
  153.                 initrd  /@/boot/initrd.img-4.19.0-8-amd64
  154.         }
  155.         menuentry 'Debian GNU/Linux, with Linux 4.19.0-8-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.0-8-amd64-recovery-02081e29-8ca0-4cc8-a718-b22d5b7865b7' {
  156.                 load_video
  157.                 insmod gzio
  158.                 if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  159.                 insmod part_gpt
  160.                 insmod btrfs
  161.                 set root='hd0,gpt1'
  162.                 if [ x$feature_platform_search_hint = xy ]; then
  163.                   search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  02081e29-8ca0-4cc8-a718-b22d5b7865b7
  164.                 else
  165.                   search --no-floppy --fs-uuid --set=root 02081e29-8ca0-4cc8-a718-b22d5b7865b7
  166.                 fi
  167.                 echo    'Loading Linux 4.19.0-8-amd64 ...'
  168.                 linux   /@/boot/vmlinuz-4.19.0-8-amd64 root=UUID=02081e29-8ca0-4cc8-a718-b22d5b7865b7 ro single rootflags=subvol=@
  169.                 echo    'Loading initial ramdisk ...'
  170.                 initrd  /@/boot/initrd.img-4.19.0-8-amd64
  171.         }
  172. }
  173.  
  174. ### END /etc/grub.d/10_linux ###
  175.  
  176. ### BEGIN /etc/grub.d/20_linux_xen ###
  177.  
  178. ### END /etc/grub.d/20_linux_xen ###
  179.  
  180. ### BEGIN /etc/grub.d/30_os-prober ###
  181. ### END /etc/grub.d/30_os-prober ###
  182.  
  183. ### BEGIN /etc/grub.d/30_uefi-firmware ###
  184. menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
  185.         fwsetup
  186. }
  187. ### END /etc/grub.d/30_uefi-firmware ###
  188.  
  189. ### BEGIN /etc/grub.d/40_custom ###
  190. # This file provides an easy way to add custom menu entries.  Simply type the
  191. # menu entries you want to add after this comment.  Be careful not to change
  192. # the 'exec tail' line above.
  193. ### END /etc/grub.d/40_custom ###
  194.  
  195. ### BEGIN /etc/grub.d/41_custom ###
  196. if [ -f  ${config_directory}/custom.cfg ]; then
  197.   source ${config_directory}/custom.cfg
  198. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  199.   source $prefix/custom.cfg;
  200. fi
  201. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement