daily pastebin goal
51%
SHARE
TWEET

GRUB

a guest Jul 23rd, 2010 62 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 /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 1bc61b6a-ad07-4158-8aef-7ebb044d0cd8
  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 1bc61b6a-ad07-4158-8aef-7ebb044d0cd8
  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.32-24-generic-pae' --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 1bc61b6a-ad07-4158-8aef-7ebb044d0cd8
  69.         linux   /boot/vmlinuz-2.6.32-24-generic-pae root=UUID=1bc61b6a-ad07-4158-8aef-7ebb044d0cd8 ro   quiet splash
  70.         initrd  /boot/initrd.img-2.6.32-24-generic-pae
  71. }
  72. menuentry 'Ubuntu, with Linux 2.6.32-24-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  73.         recordfail
  74.         insmod ext2
  75.         set root='(hd0,1)'
  76.         search --no-floppy --fs-uuid --set 1bc61b6a-ad07-4158-8aef-7ebb044d0cd8
  77.         echo    'Loading Linux 2.6.32-24-generic-pae ...'
  78.         linux   /boot/vmlinuz-2.6.32-24-generic-pae root=UUID=1bc61b6a-ad07-4158-8aef-7ebb044d0cd8 ro single
  79.         echo    'Loading initial ramdisk ...'
  80.         initrd  /boot/initrd.img-2.6.32-24-generic-pae
  81. }
  82. menuentry 'Ubuntu, with Linux 2.6.31-22-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
  83.         recordfail
  84.         insmod ext2
  85.         set root='(hd0,1)'
  86.         search --no-floppy --fs-uuid --set 1bc61b6a-ad07-4158-8aef-7ebb044d0cd8
  87.         linux   /boot/vmlinuz-2.6.31-22-generic-pae root=UUID=1bc61b6a-ad07-4158-8aef-7ebb044d0cd8 ro   quiet splash
  88.         initrd  /boot/initrd.img-2.6.31-22-generic-pae
  89. }
  90. menuentry 'Ubuntu, with Linux 2.6.31-22-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  91.         recordfail
  92.         insmod ext2
  93.         set root='(hd0,1)'
  94.         search --no-floppy --fs-uuid --set 1bc61b6a-ad07-4158-8aef-7ebb044d0cd8
  95.         echo    'Loading Linux 2.6.31-22-generic-pae ...'
  96.         linux   /boot/vmlinuz-2.6.31-22-generic-pae root=UUID=1bc61b6a-ad07-4158-8aef-7ebb044d0cd8 ro single
  97.         echo    'Loading initial ramdisk ...'
  98.         initrd  /boot/initrd.img-2.6.31-22-generic-pae
  99. }
  100. ### END /etc/grub.d/10_linux ###
  101.  
  102. ### BEGIN /etc/grub.d/20_memtest86+ ###
  103. menuentry "Memory test (memtest86+)" {
  104.         insmod ext2
  105.         set root='(hd0,1)'
  106.         search --no-floppy --fs-uuid --set 1bc61b6a-ad07-4158-8aef-7ebb044d0cd8
  107.         linux16 /boot/memtest86+.bin
  108. }
  109. menuentry "Memory test (memtest86+, serial console 115200)" {
  110.         insmod ext2
  111.         set root='(hd0,1)'
  112.         search --no-floppy --fs-uuid --set 1bc61b6a-ad07-4158-8aef-7ebb044d0cd8
  113.         linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  114. }
  115. ### END /etc/grub.d/20_memtest86+ ###
  116.  
  117. ### BEGIN /etc/grub.d/30_os-prober ###
  118. ### END /etc/grub.d/30_os-prober ###
  119.  
  120. ### BEGIN /etc/grub.d/40_custom ###
  121. # This file provides an easy way to add custom menu entries.  Simply type the
  122. # menu entries you want to add after this comment.  Be careful not to change
  123. # the 'exec tail' line above.
  124. ### END /etc/grub.d/40_custom ###
RAW Paste Data
Top