daily pastebin goal
29%
SHARE
TWEET

Untitled

a guest Feb 21st, 2018 50 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. set default="0"
  14. if [ "${prev_saved_entry}" ]; then
  15.   set saved_entry="${prev_saved_entry}"
  16.   save_env saved_entry
  17.   set prev_saved_entry=
  18.   save_env prev_saved_entry
  19.   set boot_once=true
  20. fi
  21.  
  22. function savedefault {
  23.   if [ -z "${boot_once}" ]; then
  24.     saved_entry="${chosen}"
  25.     save_env saved_entry
  26.   fi
  27. }
  28.  
  29. function recordfail {
  30.   set recordfail=1
  31.   if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  32. }
  33.  
  34. function load_video {
  35.   insmod vbe
  36.   insmod vga
  37.   insmod video_bochs
  38.   insmod video_cirrus
  39. }
  40.  
  41. insmod part_msdos
  42. insmod xfs
  43. set root='(hd0,msdos1)'
  44. search --no-floppy --fs-uuid --set=root a8628704-2e76-4873-9f06-eb78ebe166c5
  45. if loadfont /usr/share/grub/unicode.pf2 ; then
  46.   set gfxmode=auto
  47.   load_video
  48.   insmod gfxterm
  49.   insmod part_msdos
  50.   insmod xfs
  51.   set root='(hd0,msdos1)'
  52.   search --no-floppy --fs-uuid --set=root a8628704-2e76-4873-9f06-eb78ebe166c5
  53.   set locale_dir=($root)/boot/grub/locale
  54.   set lang=en_US
  55.   insmod gettext
  56. fi
  57. terminal_output gfxterm
  58. if [ "${recordfail}" = 1 ]; then
  59.   set timeout=-1
  60. else
  61.   set timeout=10
  62. fi
  63. ### END /etc/grub.d/00_header ###
  64.  
  65. ### BEGIN /etc/grub.d/05_debian_theme ###
  66. set menu_color_normal=white/black
  67. set menu_color_highlight=black/light-gray
  68. ### END /etc/grub.d/05_debian_theme ###
  69.  
  70. ### BEGIN /etc/grub.d/10_linux ###
  71. if [ ${recordfail} != 1 ]; then
  72.   if [ -e ${prefix}/gfxblacklist.txt ]; then
  73.  
  74.     if hwmatch ${prefix}/gfxblacklist.txt 3; then
  75.       if [ ${match} = 0 ]; then
  76.         set linux_gfx_mode=keep
  77.       else
  78.         set linux_gfx_mode=text
  79.       fi
  80.     else
  81.       set linux_gfx_mode=text
  82.     fi
  83.   else
  84.     set linux_gfx_mode=keep
  85.   fi
  86. else
  87.   set linux_gfx_mode=text
  88. fi
  89. export linux_gfx_mode
  90. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  91. menuentry 'Ubuntu, with Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  92.         recordfail
  93.         set gfxpayload=$linux_gfx_mode
  94.         insmod gzio
  95.         insmod part_msdos
  96.         insmod xfs
  97.         set root='(hd0,msdos1)'
  98.         search --no-floppy --fs-uuid --set=root a8628704-2e76-4873-9f06-eb78ebe166c5
  99.         linux   /boot/vmlinuz-3.0.0-12-generic root=UUID=a8628704-2e76-4873-9f06-eb78ebe166c5 ro console=hvc0  splash quiet vt.handoff=7
  100.         initrd  /boot/initrd.img-3.0.0-12-generic
  101. }
  102. menuentry 'Ubuntu, with Linux 3.0.0-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  103.         recordfail
  104.         insmod gzio
  105.         insmod part_msdos
  106.         insmod xfs
  107.         set root='(hd0,msdos1)'
  108.         search --no-floppy --fs-uuid --set=root a8628704-2e76-4873-9f06-eb78ebe166c5
  109.         echo    'Loading Linux 3.0.0-12-generic ...'
  110.         linux   /boot/vmlinuz-3.0.0-12-generic root=UUID=a8628704-2e76-4873-9f06-eb78ebe166c5 ro recovery nomodeset console=hvc0
  111.         echo    'Loading initial ramdisk ...'
  112.         initrd  /boot/initrd.img-3.0.0-12-generic
  113. }
  114. ### END /etc/grub.d/10_linux ###
  115.  
  116. ### BEGIN /etc/grub.d/20_linux_xen ###
  117. ### END /etc/grub.d/20_linux_xen ###
  118.  
  119. ### BEGIN /etc/grub.d/20_memtest86+ ###
  120. menuentry "Memory test (memtest86+)" {
  121.         insmod part_msdos
  122.         insmod xfs
  123.         set root='(hd0,msdos1)'
  124.         search --no-floppy --fs-uuid --set=root a8628704-2e76-4873-9f06-eb78ebe166c5
  125.         linux16 /boot/memtest86+.bin
  126. }
  127. menuentry "Memory test (memtest86+, serial console 115200)" {
  128.         insmod part_msdos
  129.         insmod xfs
  130.         set root='(hd0,msdos1)'
  131.         search --no-floppy --fs-uuid --set=root a8628704-2e76-4873-9f06-eb78ebe166c5
  132.         linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  133. }
  134. ### END /etc/grub.d/20_memtest86+ ###
  135.  
  136. ### BEGIN /etc/grub.d/30_os-prober ###
  137. if [ "x${timeout}" != "x-1" ]; then
  138.   if keystatus; then
  139.     if keystatus --shift; then
  140.       set timeout=-1
  141.     else
  142.       set timeout=0
  143.     fi
  144.   else
  145.     if sleep --interruptible 3 ; then
  146.  
  147.       set timeout=0
  148.     fi
  149.   fi
  150. fi
  151. ### END /etc/grub.d/30_os-prober ###
  152.  
  153. ### BEGIN /etc/grub.d/40_custom ###
  154. # This file provides an easy way to add custom menu entries.  Simply type the
  155. # menu entries you want to add after this comment.  Be careful not to change
  156. # the 'exec tail' line above.
  157. ### END /etc/grub.d/40_custom ###
  158.  
  159. ### BEGIN /etc/grub.d/41_custom ###
  160. if [ -f  $prefix/custom.cfg ]; then
  161.   source $prefix/custom.cfg;
  162. fi
  163. ### END /etc/grub.d/41_custom ###
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top