daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Aug 1st, 2017 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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="10"
  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 ext2
  63. set root='hd2,gpt2'
  64. if [ x$feature_platform_search_hint = xy ]; then
  65.   search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2  52c49ad0-da70-43ac-8603-6d0f0f2978d0
  66. else
  67.   search --no-floppy --fs-uuid --set=root 52c49ad0-da70-43ac-8603-6d0f0f2978d0
  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=en_US
  78.   insmod gettext
  79. fi
  80. terminal_output gfxterm
  81. if [ "${recordfail}" = 1 ] ; then
  82.   set timeout=3
  83. else
  84.   if [ x$feature_timeout_style = xy ] ; then
  85.     set timeout_style=countdown
  86.     set timeout=3
  87.   # Fallback hidden-timeout code in case the timeout_style feature is
  88.   # unavailable.
  89.   elif sleep --verbose --interruptible 3 ; then
  90.     set timeout=0
  91.   fi
  92. fi
  93. ### END /etc/grub.d/00_header ###
  94.  
  95. ### BEGIN /etc/grub.d/05_debian_theme ###
  96. set menu_color_normal=white/black
  97. set menu_color_highlight=black/light-gray
  98. if background_color 44,0,30,0; then
  99.   clear
  100. fi
  101. ### END /etc/grub.d/05_debian_theme ###
  102.  
  103. ### BEGIN /etc/grub.d/10_linux_proxy ###
  104.  
  105. function gfxmode {
  106.     set gfxpayload="${1}"
  107.     if [ "${1}" = "keep" ]; then
  108.         set vt_handoff=vt.handoff=7
  109.     else
  110.         set vt_handoff=
  111.     fi
  112. }
  113. if [ "${recordfail}" != 1 ]; then
  114.   if [ -e ${prefix}/gfxblacklist.txt ]; then
  115.     if hwmatch ${prefix}/gfxblacklist.txt 3; then
  116.       if [ ${match} = 0 ]; then
  117.         set linux_gfx_mode=keep
  118.       else
  119.         set linux_gfx_mode=text
  120.       fi
  121.     else
  122.       set linux_gfx_mode=text
  123.     fi
  124.   else
  125.     set linux_gfx_mode=keep
  126.   fi
  127. else
  128.   set linux_gfx_mode=text
  129. fi
  130. export linux_gfx_mode
  131.  
  132.  
  133.  
  134. menuentry "Ubuntu" --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-52c49ad0-da70-43ac-8603-6d0f0f2978d0' {
  135.     recordfail
  136.     load_video
  137.     gfxmode $linux_gfx_mode
  138.     insmod gzio
  139.     if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
  140.     insmod part_gpt
  141.     insmod ext2
  142.     set root='hd2,gpt2'
  143.     if [ x$feature_platform_search_hint = xy ]; then
  144.       search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt2 --hint-efi=hd2,gpt2 --hint-baremetal=ahci2,gpt2  52c49ad0-da70-43ac-8603-6d0f0f2978d0
  145.     else
  146.       search --no-floppy --fs-uuid --set=root 52c49ad0-da70-43ac-8603-6d0f0f2978d0
  147.     fi
  148.     linux   /boot/vmlinuz-4.10.0-28-generic.efi.signed root=UUID=52c49ad0-da70-43ac-8603-6d0f0f2978d0 ro  quiet splash $vt_handoff
  149.     initrd  /boot/initrd.img-4.10.0-28-generic
  150. }
  151. ### END /etc/grub.d/10_linux_proxy ###
  152.  
  153. ### BEGIN /etc/grub.d/20_linux_xen ###
  154.  
  155. ### END /etc/grub.d/20_linux_xen ###
  156.  
  157. ### BEGIN /etc/grub.d/25_custom_proxy ###
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167. ### END /etc/grub.d/25_custom_proxy ###
  168.  
  169. ### BEGIN /etc/grub.d/30_os-prober ###
  170. ### END /etc/grub.d/30_os-prober ###
  171.  
  172. ### BEGIN /etc/grub.d/30_uefi-firmware_proxy ###
  173.  
  174.  
  175. ### END /etc/grub.d/30_uefi-firmware_proxy ###
  176.  
  177. ### BEGIN /etc/grub.d/40_custom ###
  178. # This file provides an easy way to add custom menu entries.  Simply type the
  179. # menu entries you want to add after this comment.  Be careful not to change
  180. # the 'exec tail' line above.
  181. menuentry "Chainload /efi/Microsoft/Boot/bootmgfw.efi" {
  182.   search --set=root --fs-uuid FF06-3DB5
  183.   chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  184. }
  185. ### END /etc/grub.d/40_custom ###
  186.  
  187. ### BEGIN /etc/grub.d/41_custom ###
  188. if [ -f  ${config_directory}/custom.cfg ]; then
  189.   source ${config_directory}/custom.cfg
  190. elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  191.   source $prefix/custom.cfg;
  192. fi
  193. ### END /etc/grub.d/41_custom ###
RAW Paste Data
Top