Guest User

Untitled

a guest
Oct 21st, 2017
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.11 KB | None | 0 0
  1. #
  2. # DO NOT EDIT THIS FILE
  3. #
  4. # It is automatically generated by /usr/sbin/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.   load_env
  11. fi
  12. set default="0"
  13. if [ ${prev_saved_entry} ]; then
  14.   set saved_entry=${prev_saved_entry}
  15.   save_env saved_entry
  16.   set prev_saved_entry=
  17.   save_env prev_saved_entry
  18.   set boot_once=true
  19. fi
  20.  
  21. function savedefault {
  22.   if [ -z ${boot_once} ]; then
  23.     saved_entry=${chosen}
  24.     save_env saved_entry
  25.   fi
  26. }
  27.  
  28. function recordfail {
  29.   set recordfail=1
  30.   if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
  31. }
  32. insmod ext2
  33. set root='(hd0,1)'
  34. search --no-floppy --fs-uuid --set b0cf4ed9-8185-4c82-b3ed-05bb1c50f1c9
  35. if loadfont /usr/share/grub/unicode.pf2 ; then
  36.   set gfxmode=640x480
  37.   insmod gfxterm
  38.   insmod vbe
  39.   if terminal_output gfxterm ; then true ; else
  40.     # For backward compatibility with versions of terminal.mod that don't
  41.     # understand terminal_output
  42.     terminal gfxterm
  43.   fi
  44. fi
  45. insmod ext2
  46. set root='(hd0,1)'
  47. search --no-floppy --fs-uuid --set b0cf4ed9-8185-4c82-b3ed-05bb1c50f1c9
  48. set locale_dir=($root)/boot/grub/locale
  49. set lang=en
  50. insmod gettext
  51. if [ ${recordfail} = 1 ]; then
  52.   set timeout=-1
  53. else
  54.   set timeout=10
  55. fi
  56. ### END /etc/grub.d/00_header ###
  57.  
  58. ### BEGIN /etc/grub.d/05_debian_theme ###
  59. set menu_color_normal=white/black
  60. set menu_color_highlight=black/light-gray
  61. ### END /etc/grub.d/05_debian_theme ###
  62.  
  63. ### BEGIN /etc/grub.d/10_linux ###
  64. menuentry 'Ubuntu, with Linux 2.6.35.14' --class ubuntu --class gnu-linux --class gnu --class os {
  65.     recordfail
  66.     insmod ext2
  67.     set root='(hd0,1)'
  68.     search --no-floppy --fs-uuid --set b0cf4ed9-8185-4c82-b3ed-05bb1c50f1c9
  69.     linux   /boot/vmlinuz-2.6.35.14 root=/dev/sda1 ro   quiet splash
  70. }
  71. menuentry 'Ubuntu, with Linux 2.6.35.14 (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  72.     recordfail
  73.     insmod ext2
  74.     set root='(hd0,1)'
  75.     search --no-floppy --fs-uuid --set b0cf4ed9-8185-4c82-b3ed-05bb1c50f1c9
  76.     echo    'Loading Linux 2.6.35.14 ...'
  77.     linux   /boot/vmlinuz-2.6.35.14 root=/dev/sda1 ro single
  78.     echo    'Loading initial ramdisk ...'
  79. }
  80. menuentry 'Ubuntu, with Linux 2.6.32-33-server' --class ubuntu --class gnu-linux --class gnu --class os {
  81.     recordfail
  82.     insmod ext2
  83.     set root='(hd0,1)'
  84.     search --no-floppy --fs-uuid --set b0cf4ed9-8185-4c82-b3ed-05bb1c50f1c9
  85.     linux   /boot/vmlinuz-2.6.32-33-server root=UUID=b0cf4ed9-8185-4c82-b3ed-05bb1c50f1c9 ro   quiet splash
  86.     initrd  /boot/initrd.img-2.6.32-33-server
  87. }
  88. menuentry 'Ubuntu, with Linux 2.6.32-33-server (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  89.     recordfail
  90.     insmod ext2
  91.     set root='(hd0,1)'
  92.     search --no-floppy --fs-uuid --set b0cf4ed9-8185-4c82-b3ed-05bb1c50f1c9
  93.     echo    'Loading Linux 2.6.32-33-server ...'
  94.     linux   /boot/vmlinuz-2.6.32-33-server root=UUID=b0cf4ed9-8185-4c82-b3ed-05bb1c50f1c9 ro single
  95.     echo    'Loading initial ramdisk ...'
  96.     initrd  /boot/initrd.img-2.6.32-33-server
  97. }
  98. ### END /etc/grub.d/10_linux ###
  99.  
  100. ### BEGIN /etc/grub.d/20_memtest86+ ###
  101. menuentry "Memory test (memtest86+)" {
  102.     insmod ext2
  103.     set root='(hd0,1)'
  104.     search --no-floppy --fs-uuid --set b0cf4ed9-8185-4c82-b3ed-05bb1c50f1c9
  105.     linux16 /boot/memtest86+.bin
  106. }
  107. menuentry "Memory test (memtest86+, serial console 115200)" {
  108.     insmod ext2
  109.     set root='(hd0,1)'
  110.     search --no-floppy --fs-uuid --set b0cf4ed9-8185-4c82-b3ed-05bb1c50f1c9
  111.     linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  112. }
  113. ### END /etc/grub.d/20_memtest86+ ###
  114.  
  115. ### BEGIN /etc/grub.d/30_os-prober ###
  116. if [ ${timeout} != -1 ]; then
  117.   if keystatus; then
  118.     if keystatus --shift; then
  119.       set timeout=-1
  120.     else
  121.       set timeout=0
  122.     fi
  123.   else
  124.     if sleep --interruptible 3 ; then
  125.       set timeout=0
  126.     fi
  127.   fi
  128. fi
  129. ### END /etc/grub.d/30_os-prober ###
  130.  
  131. ### BEGIN /etc/grub.d/40_custom ###
  132. # This file provides an easy way to add custom menu entries.  Simply type the
  133. # menu entries you want to add after this comment.  Be careful not to change
  134. # the 'exec tail' line above.
  135. ### END /etc/grub.d/40_custom ###
Add Comment
Please, Sign In to add comment