daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest May 11th, 2012 23 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 ext2
  43. set root='(/dev/sda,msdos3)'
  44. search --no-floppy --fs-uuid --set=root a42155d3-f02a-422b-82f4-5f15874e6a20
  45. if loadfont /usr/share/grub/unicode.pf2 ; then
  46.   set gfxmode=auto
  47.   load_video
  48.   insmod gfxterm
  49. fi
  50. terminal_output gfxterm
  51. insmod part_msdos
  52. insmod ext2
  53. set root='(/dev/sda,msdos3)'
  54. search --no-floppy --fs-uuid --set=root a42155d3-f02a-422b-82f4-5f15874e6a20
  55. set locale_dir=($root)/boot/grub/locale
  56. set lang=en_US
  57. insmod gettext
  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. if background_color 44,0,30; then
  69.   clear
  70. fi
  71. ### END /etc/grub.d/05_debian_theme ###
  72.  
  73. ### BEGIN /etc/grub.d/10_linux ###
  74. if [ ${recordfail} != 1 ]; then
  75.   if [ -e ${prefix}/gfxblacklist.txt ]; then
  76.     if hwmatch ${prefix}/gfxblacklist.txt 3; then
  77.       if [ ${match} = 0 ]; then
  78.         set linux_gfx_mode=keep
  79.       else
  80.         set linux_gfx_mode=text
  81.       fi
  82.     else
  83.       set linux_gfx_mode=text
  84.     fi
  85.   else
  86.     set linux_gfx_mode=keep
  87.   fi
  88. else
  89.   set linux_gfx_mode=text
  90. fi
  91. export linux_gfx_mode
  92. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  93. menuentry 'Ubuntu, with Linux 2.6.38-14-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  94.         recordfail
  95.         set gfxpayload=$linux_gfx_mode
  96.         insmod part_msdos
  97.         insmod ext2
  98.         set root='(/dev/sda,msdos3)'
  99.         search --no-floppy --fs-uuid --set=root a42155d3-f02a-422b-82f4-5f15874e6a20
  100.         linux   /boot/vmlinuz-2.6.38-14-generic root=UUID=a42155d3-f02a-422b-82f4-5f15874e6a20 ro   quiet splash vt.handoff=7
  101.         initrd  /boot/initrd.img-2.6.38-14-generic
  102. }
  103. menuentry 'Ubuntu, with Linux 2.6.38-14-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  104.         recordfail
  105.         set gfxpayload=$linux_gfx_mode
  106.         insmod part_msdos
  107.         insmod ext2
  108.         set root='(/dev/sda,msdos3)'
  109.         search --no-floppy --fs-uuid --set=root a42155d3-f02a-422b-82f4-5f15874e6a20
  110.         echo    'Loading Linux 2.6.38-14-generic ...'
  111.         linux   /boot/vmlinuz-2.6.38-14-generic root=UUID=a42155d3-f02a-422b-82f4-5f15874e6a20 ro single
  112.         echo    'Loading initial ramdisk ...'
  113.         initrd  /boot/initrd.img-2.6.38-14-generic
  114. }
  115. submenu "Previous Linux versions" {
  116. menuentry 'Ubuntu, with Linux 2.6.38-13-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  117.         recordfail
  118.         set gfxpayload=$linux_gfx_mode
  119.         insmod part_msdos
  120.         insmod ext2
  121.         set root='(/dev/sda,msdos3)'
  122.         search --no-floppy --fs-uuid --set=root a42155d3-f02a-422b-82f4-5f15874e6a20
  123.         linux   /boot/vmlinuz-2.6.38-13-generic root=UUID=a42155d3-f02a-422b-82f4-5f15874e6a20 ro   quiet splash vt.handoff=7
  124.         initrd  /boot/initrd.img-2.6.38-13-generic
  125. }
  126. menuentry 'Ubuntu, with Linux 2.6.38-13-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  127.         recordfail
  128.         set gfxpayload=$linux_gfx_mode
  129.         insmod part_msdos
  130.         insmod ext2
  131.         set root='(/dev/sda,msdos3)'
  132.         search --no-floppy --fs-uuid --set=root a42155d3-f02a-422b-82f4-5f15874e6a20
  133.         echo    'Loading Linux 2.6.38-13-generic ...'
  134.         linux   /boot/vmlinuz-2.6.38-13-generic root=UUID=a42155d3-f02a-422b-82f4-5f15874e6a20 ro single
  135.         echo    'Loading initial ramdisk ...'
  136.         initrd  /boot/initrd.img-2.6.38-13-generic
  137. }
  138. menuentry 'Ubuntu, with Linux 2.6.38-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  139.         recordfail
  140.         set gfxpayload=$linux_gfx_mode
  141.         insmod part_msdos
  142.         insmod ext2
  143.         set root='(/dev/sda,msdos3)'
  144.         search --no-floppy --fs-uuid --set=root a42155d3-f02a-422b-82f4-5f15874e6a20
  145.         linux   /boot/vmlinuz-2.6.38-12-generic root=UUID=a42155d3-f02a-422b-82f4-5f15874e6a20 ro   quiet splash vt.handoff=7
  146.         initrd  /boot/initrd.img-2.6.38-12-generic
  147. }
  148. menuentry 'Ubuntu, with Linux 2.6.38-12-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  149.         recordfail
  150.         set gfxpayload=$linux_gfx_mode
  151.         insmod part_msdos
  152.         insmod ext2
  153.         set root='(/dev/sda,msdos3)'
  154.         search --no-floppy --fs-uuid --set=root a42155d3-f02a-422b-82f4-5f15874e6a20
  155.         echo    'Loading Linux 2.6.38-12-generic ...'
  156.         linux   /boot/vmlinuz-2.6.38-12-generic root=UUID=a42155d3-f02a-422b-82f4-5f15874e6a20 ro single
  157.         echo    'Loading initial ramdisk ...'
  158.         initrd  /boot/initrd.img-2.6.38-12-generic
  159. }
  160. menuentry 'Ubuntu, with Linux 2.6.38-11-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  161.         recordfail
  162.         set gfxpayload=$linux_gfx_mode
  163.         insmod part_msdos
  164.         insmod ext2
  165.         set root='(/dev/sda,msdos3)'
  166.         search --no-floppy --fs-uuid --set=root a42155d3-f02a-422b-82f4-5f15874e6a20
  167.         linux   /boot/vmlinuz-2.6.38-11-generic root=UUID=a42155d3-f02a-422b-82f4-5f15874e6a20 ro   quiet splash vt.handoff=7
  168.         initrd  /boot/initrd.img-2.6.38-11-generic
  169. }
  170. menuentry 'Ubuntu, with Linux 2.6.38-11-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  171.         recordfail
  172.         set gfxpayload=$linux_gfx_mode
  173.         insmod part_msdos
  174.         insmod ext2
  175.         set root='(/dev/sda,msdos3)'
  176.         search --no-floppy --fs-uuid --set=root a42155d3-f02a-422b-82f4-5f15874e6a20
  177.         echo    'Loading Linux 2.6.38-11-generic ...'
  178.         linux   /boot/vmlinuz-2.6.38-11-generic root=UUID=a42155d3-f02a-422b-82f4-5f15874e6a20 ro single
  179.         echo    'Loading initial ramdisk ...'
  180.         initrd  /boot/initrd.img-2.6.38-11-generic
  181. }
  182. menuentry 'Ubuntu, with Linux 2.6.35-30-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  183.         recordfail
  184.         set gfxpayload=$linux_gfx_mode
  185.         insmod part_msdos
  186.         insmod ext2
  187.         set root='(/dev/sda,msdos3)'
  188.         search --no-floppy --fs-uuid --set=root a42155d3-f02a-422b-82f4-5f15874e6a20
  189.         linux   /boot/vmlinuz-2.6.35-30-generic root=UUID=a42155d3-f02a-422b-82f4-5f15874e6a20 ro   quiet splash vt.handoff=7
  190.         initrd  /boot/initrd.img-2.6.35-30-generic
  191. }
  192. menuentry 'Ubuntu, with Linux 2.6.35-30-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  193.         recordfail
  194.         set gfxpayload=$linux_gfx_mode
  195.         insmod part_msdos
  196.         insmod ext2
  197.         set root='(/dev/sda,msdos3)'
  198.         search --no-floppy --fs-uuid --set=root a42155d3-f02a-422b-82f4-5f15874e6a20
  199.         echo    'Loading Linux 2.6.35-30-generic ...'
  200.         linux   /boot/vmlinuz-2.6.35-30-generic root=UUID=a42155d3-f02a-422b-82f4-5f15874e6a20 ro single
  201.         echo    'Loading initial ramdisk ...'
  202.         initrd  /boot/initrd.img-2.6.35-30-generic
  203. }
  204. }
  205. ### END /etc/grub.d/10_linux ###
  206.  
  207. ### BEGIN /etc/grub.d/20_linux_xen ###
  208. ### END /etc/grub.d/20_linux_xen ###
  209.  
  210. ### BEGIN /etc/grub.d/20_memtest86+ ###
  211. menuentry "Memory test (memtest86+)" {
  212.         insmod part_msdos
  213.         insmod ext2
  214.         set root='(/dev/sda,msdos3)'
  215.         search --no-floppy --fs-uuid --set=root a42155d3-f02a-422b-82f4-5f15874e6a20
  216.         linux16 /boot/memtest86+.bin
  217. }
  218. menuentry "Memory test (memtest86+, serial console 115200)" {
  219.         insmod part_msdos
  220.         insmod ext2
  221.         set root='(/dev/sda,msdos3)'
  222.         search --no-floppy --fs-uuid --set=root a42155d3-f02a-422b-82f4-5f15874e6a20
  223.         linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  224. }
  225. ### END /etc/grub.d/20_memtest86+ ###
  226.  
  227. ### BEGIN /etc/grub.d/30_os-prober ###
  228. menuentry "Microsoft Windows XP Home Edition (on /dev/sda1)" --class windows --class os {
  229.         insmod part_msdos
  230.         insmod ntfs
  231.         set root='(/dev/sda,msdos1)'
  232.         search --no-floppy --fs-uuid --set=root E060E41A60E3F566
  233.         drivemap -s (hd0) ${root}
  234.         chainloader +1
  235. }
  236. ### END /etc/grub.d/30_os-prober ###
  237.  
  238. ### BEGIN /etc/grub.d/40_custom ###
  239. # This file provides an easy way to add custom menu entries.  Simply type the
  240. # menu entries you want to add after this comment.  Be careful not to change
  241. # the 'exec tail' line above.
  242. ### END /etc/grub.d/40_custom ###
  243.  
  244. ### BEGIN /etc/grub.d/41_custom ###
  245. if [ -f  $prefix/custom.cfg ]; then
  246.   source $prefix/custom.cfg;
  247. fi
  248. ### END /etc/grub.d/41_custom ###
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top