daily pastebin goal
3%
SHARE
TWEET

Untitled

a guest May 11th, 2012 15 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='(hd1,msdos1)'
  44. search --no-floppy --fs-uuid --set=root 088d05bd-13fe-4eb4-8d96-ca4364b81e96
  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 ext2
  51.   set root='(hd1,msdos1)'
  52.   search --no-floppy --fs-uuid --set=root 088d05bd-13fe-4eb4-8d96-ca4364b81e96
  53.   set locale_dir=($root)/boot/grub/locale
  54.   set lang=pl_PL
  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. function gfxmode {
  72.         set gfxpayload="$1"
  73.         if [ "$1" = "keep" ]; then
  74.                 set vt_handoff=vt.handoff=7
  75.         else
  76.                 set vt_handoff=
  77.         fi
  78. }
  79. if [ ${recordfail} != 1 ]; then
  80.   if [ -e ${prefix}/gfxblacklist.txt ]; then
  81.     if hwmatch ${prefix}/gfxblacklist.txt 3; then
  82.       if [ ${match} = 0 ]; then
  83.         set linux_gfx_mode=keep
  84.       else
  85.         set linux_gfx_mode=text
  86.       fi
  87.     else
  88.       set linux_gfx_mode=text
  89.     fi
  90.   else
  91.     set linux_gfx_mode=keep
  92.   fi
  93. else
  94.   set linux_gfx_mode=text
  95. fi
  96. export linux_gfx_mode
  97. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  98. menuentry 'Ubuntu, za pomocą systemu Linux 3.2.0-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  99.         recordfail
  100.         gfxmode $linux_gfx_mode
  101.         insmod gzio
  102.         insmod part_msdos
  103.         insmod ext2
  104.         set root='(hd1,msdos1)'
  105.         search --no-floppy --fs-uuid --set=root 088d05bd-13fe-4eb4-8d96-ca4364b81e96
  106.         linux   /boot/vmlinuz-3.2.0-23-generic root=UUID=088d05bd-13fe-4eb4-8d96-ca4364b81e96 ro   quiet splash $vt_handoff
  107.         initrd  /boot/initrd.img-3.2.0-23-generic
  108. }
  109. menuentry 'Ubuntu, za pomocą systemu Linux 3.2.0-23-generic (tryb ratunkowy)' --class ubuntu --class gnu-linux --class gnu --class os {
  110.         recordfail
  111.         insmod gzio
  112.         insmod part_msdos
  113.         insmod ext2
  114.         set root='(hd1,msdos1)'
  115.         search --no-floppy --fs-uuid --set=root 088d05bd-13fe-4eb4-8d96-ca4364b81e96
  116.         echo    'Wczytywanie systemu Linux 3.2.0-23-generic...'
  117.         linux   /boot/vmlinuz-3.2.0-23-generic root=UUID=088d05bd-13fe-4eb4-8d96-ca4364b81e96 ro recovery nomodeset
  118.         echo    'Wczytywanie początkowego dysku RAM...'
  119.         initrd  /boot/initrd.img-3.2.0-23-generic
  120. }
  121. ### END /etc/grub.d/10_linux ###
  122.  
  123. ### BEGIN /etc/grub.d/20_linux_xen ###
  124. ### END /etc/grub.d/20_linux_xen ###
  125.  
  126. ### BEGIN /etc/grub.d/20_memtest86+ ###
  127. menuentry "Memory test (memtest86+)" {
  128.         insmod part_msdos
  129.         insmod ext2
  130.         set root='(hd1,msdos1)'
  131.         search --no-floppy --fs-uuid --set=root 088d05bd-13fe-4eb4-8d96-ca4364b81e96
  132.         linux16 /boot/memtest86+.bin
  133. }
  134. menuentry "Memory test (memtest86+, serial console 115200)" {
  135.         insmod part_msdos
  136.         insmod ext2
  137.         set root='(hd1,msdos1)'
  138.         search --no-floppy --fs-uuid --set=root 088d05bd-13fe-4eb4-8d96-ca4364b81e96
  139.         linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  140. }
  141. ### END /etc/grub.d/20_memtest86+ ###
  142.  
  143. ### BEGIN /etc/grub.d/30_os-prober ###
  144. if [ "x${timeout}" != "x-1" ]; then
  145.   if keystatus; then
  146.     if keystatus --shift; then
  147.       set timeout=-1
  148.     else
  149.       set timeout=0
  150.     fi
  151.   else
  152.     if sleep --interruptible 3 ; then
  153.       set timeout=0
  154.     fi
  155.   fi
  156. fi
  157. ### END /etc/grub.d/30_os-prober ###
  158.  
  159. ### BEGIN /etc/grub.d/40_custom ###
  160. # This file provides an easy way to add custom menu entries.  Simply type the
  161. # menu entries you want to add after this comment.  Be careful not to change
  162. # the 'exec tail' line above.
  163. ### END /etc/grub.d/40_custom ###
  164.  
  165. ### BEGIN /etc/grub.d/41_custom ###
  166. if [ -f  $prefix/custom.cfg ]; then
  167.   source $prefix/custom.cfg;
  168. fi
  169. ### END /etc/grub.d/41_custom ###
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top