daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest Jan 28th, 2012 24 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. cat /boot/grub/grub.cfg
  2.  
  3. #
  4. # DO NOT EDIT THIS FILE
  5. #
  6. # It is automatically generated by grub-mkconfig using templates
  7. # from /etc/grub.d and settings from /etc/default/grub
  8. #
  9.  
  10. ### BEGIN /etc/grub.d/00_header ###
  11. if [ -s $prefix/grubenv ]; then
  12.   set have_grubenv=true
  13.   load_env
  14. fi
  15. set default="0"
  16. if [ "${prev_saved_entry}" ]; then
  17.   set saved_entry="${prev_saved_entry}"
  18.   save_env saved_entry
  19.   set prev_saved_entry=
  20.   save_env prev_saved_entry
  21.   set boot_once=true
  22. fi
  23.  
  24. function savedefault {
  25.   if [ -z "${boot_once}" ]; then
  26.     saved_entry="${chosen}"
  27.     save_env saved_entry
  28.   fi
  29. }
  30.  
  31. function recordfail {
  32.   set recordfail=1
  33.   if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  34. }
  35.  
  36. function load_video {
  37.   insmod vbe
  38.   insmod vga
  39.   insmod video_bochs
  40.   insmod video_cirrus
  41. }
  42.  
  43. insmod part_msdos
  44. insmod ext2
  45. set root='(hd0,msdos1)'
  46. search --no-floppy --fs-uuid --set=root 4751c3ee-1908-4d7e-9759-eaa02ea4cb3b
  47. if loadfont /usr/share/grub/unicode.pf2 ; then
  48.   set gfxmode=auto
  49.   load_video
  50.   insmod gfxterm
  51.   insmod part_msdos
  52.   insmod ext2
  53.   set root='(hd0,msdos1)'
  54.   search --no-floppy --fs-uuid --set=root 4751c3ee-1908-4d7e-9759-eaa02ea4cb3b
  55.   set locale_dir=($root)/boot/grub/locale
  56.   set lang=en_US
  57.   insmod gettext
  58. fi
  59. terminal_output gfxterm
  60. if [ "${recordfail}" = 1 ]; then
  61.   set timeout=-1
  62. else
  63.   set timeout=10
  64. fi
  65. ### END /etc/grub.d/00_header ###
  66.  
  67. ### BEGIN /etc/grub.d/05_debian_theme ###
  68. set menu_color_normal=white/black
  69. set menu_color_highlight=black/light-gray
  70. if background_color 44,0,30; then
  71.   clear
  72. fi
  73. ### END /etc/grub.d/05_debian_theme ###
  74.  
  75. ### BEGIN /etc/grub.d/10_linux ###
  76. if [ ${recordfail} != 1 ]; then
  77.   if [ -e ${prefix}/gfxblacklist.txt ]; then
  78.     if hwmatch ${prefix}/gfxblacklist.txt 3; then
  79.       if [ ${match} = 0 ]; then
  80.         set linux_gfx_mode=keep
  81.       else
  82.         set linux_gfx_mode=text
  83.       fi
  84.     else
  85.       set linux_gfx_mode=text
  86.     fi
  87.   else
  88.     set linux_gfx_mode=keep
  89.   fi
  90. else
  91.   set linux_gfx_mode=text
  92. fi
  93. export linux_gfx_mode
  94. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  95. menuentry 'Ubuntu, with Linux 3.0.0-15-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  96.         recordfail
  97.         set gfxpayload=$linux_gfx_mode
  98.         insmod gzio
  99.         insmod part_msdos
  100.         insmod ext2
  101.         set root='(hd0,msdos1)'
  102.         search --no-floppy --fs-uuid --set=root 4751c3ee-1908-4d7e-9759-eaa02ea4cb3b
  103.         linux   /boot/vmlinuz-3.0.0-15-generic root=UUID=4751c3ee-1908-4d7e-9759-eaa02ea4cb3b ro   quiet splash vt.handoff=7
  104.         initrd  /boot/initrd.img-3.0.0-15-generic
  105. }
  106. menuentry 'Ubuntu, with Linux 3.0.0-15-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  107.         recordfail
  108.         insmod gzio
  109.         insmod part_msdos
  110.         insmod ext2
  111.         set root='(hd0,msdos1)'
  112.         search --no-floppy --fs-uuid --set=root 4751c3ee-1908-4d7e-9759-eaa02ea4cb3b
  113.         echo    'Loading Linux 3.0.0-15-generic ...'
  114.         linux   /boot/vmlinuz-3.0.0-15-generic root=UUID=4751c3ee-1908-4d7e-9759-eaa02ea4cb3b ro recovery nomodeset
  115.         echo    'Loading initial ramdisk ...'
  116.         initrd  /boot/initrd.img-3.0.0-15-generic
  117. }
  118. submenu "Previous Linux versions" {
  119. menuentry 'Ubuntu, with Linux 2.6.38-13-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  120.         recordfail
  121.         set gfxpayload=$linux_gfx_mode
  122.         insmod gzio
  123.         insmod part_msdos
  124.         insmod ext2
  125.         set root='(hd0,msdos1)'
  126.         search --no-floppy --fs-uuid --set=root 4751c3ee-1908-4d7e-9759-eaa02ea4cb3b
  127.         linux   /boot/vmlinuz-2.6.38-13-generic root=UUID=4751c3ee-1908-4d7e-9759-eaa02ea4cb3b ro   quiet splash vt.handoff=7
  128.         initrd  /boot/initrd.img-2.6.38-13-generic
  129. }
  130. menuentry 'Ubuntu, with Linux 2.6.38-13-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  131.         recordfail
  132.         insmod gzio
  133.         insmod part_msdos
  134.         insmod ext2
  135.         set root='(hd0,msdos1)'
  136.         search --no-floppy --fs-uuid --set=root 4751c3ee-1908-4d7e-9759-eaa02ea4cb3b
  137.         echo    'Loading Linux 2.6.38-13-generic ...'
  138.         linux   /boot/vmlinuz-2.6.38-13-generic root=UUID=4751c3ee-1908-4d7e-9759-eaa02ea4cb3b ro recovery nomodeset
  139.         echo    'Loading initial ramdisk ...'
  140.         initrd  /boot/initrd.img-2.6.38-13-generic
  141. }
  142. }
  143. ### END /etc/grub.d/10_linux ###
  144.  
  145. ### BEGIN /etc/grub.d/20_linux_xen ###
  146. ### END /etc/grub.d/20_linux_xen ###
  147.  
  148. ### BEGIN /etc/grub.d/20_memtest86+ ###
  149. menuentry "Memory test (memtest86+)" {
  150.         insmod part_msdos
  151.         insmod ext2
  152.         set root='(hd0,msdos1)'
  153.         search --no-floppy --fs-uuid --set=root 4751c3ee-1908-4d7e-9759-eaa02ea4cb3b
  154.         linux16 /boot/memtest86+.bin
  155. }
  156. menuentry "Memory test (memtest86+, serial console 115200)" {
  157.         insmod part_msdos
  158.         insmod ext2
  159.         set root='(hd0,msdos1)'
  160.         search --no-floppy --fs-uuid --set=root 4751c3ee-1908-4d7e-9759-eaa02ea4cb3b
  161.         linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  162. }
  163. ### END /etc/grub.d/20_memtest86+ ###
  164.  
  165. ### BEGIN /etc/grub.d/30_os-prober ###
  166. menuentry "Microsoft Windows XP Professional (on /dev/sdb1)" --class windows --class os {
  167.         insmod part_msdos
  168.         insmod ntfs
  169.         set root='(hd1,msdos1)'
  170.         search --no-floppy --fs-uuid --set=root AE5885225884EB03
  171.         drivemap -s (hd0) ${root}
  172.         chainloader +1
  173. }
  174. menuentry "Arch (on /dev/sdc1)" --class gnu-linux --class gnu --class os {
  175.         insmod part_msdos
  176.         insmod ext2
  177.         set root='(hd2,msdos1)'
  178.         search --no-floppy --fs-uuid --set=root 30faaf83-3642-44c8-b8f8-3e560af01db5
  179.         linux /boot/vmlinuz-linux root=/dev/sdc1
  180.         initrd /boot/initramfs-linux.img
  181. }
  182. ### END /etc/grub.d/30_os-prober ###
  183.  
  184. ### BEGIN /etc/grub.d/40_custom ###
  185. # This file provides an easy way to add custom menu entries.  Simply type the
  186. # menu entries you want to add after this comment.  Be careful not to change
  187. # the 'exec tail' line above.
  188. ### END /etc/grub.d/40_custom ###
  189.  
  190. ### BEGIN /etc/grub.d/41_custom ###
  191. if [ -f  $prefix/custom.cfg ]; then
  192.   source $prefix/custom.cfg;
  193. fi
  194. ### END /etc/grub.d/41_custom ###
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top