Advertisement
Guest User

Untitled

a guest
Jan 11th, 2011
796
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  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. }
  38.  
  39. insmod part_msdos
  40. insmod ext2
  41. set root='(hd0,msdos1)'
  42. search --no-floppy --fs-uuid --set ac17b44c-ae5e-47bb-9556-ce4f1153797b
  43. if loadfont /usr/share/grub/unicode.pf2 ; then
  44. set gfxmode=640x480
  45. load_video
  46. insmod gfxterm
  47. fi
  48. terminal_output gfxterm
  49. insmod part_msdos
  50. insmod ext2
  51. set root='(hd0,msdos1)'
  52. search --no-floppy --fs-uuid --set ac17b44c-ae5e-47bb-9556-ce4f1153797b
  53. set locale_dir=($root)/boot/grub/locale
  54. set lang=ru
  55. insmod gettext
  56. if [ "${recordfail}" = 1 ]; then
  57. set timeout=-1
  58. else
  59. set timeout=10
  60. fi
  61. ### END /etc/grub.d/00_header ###
  62.  
  63. ### BEGIN /etc/grub.d/05_debian_theme ###
  64. set menu_color_normal=white/black
  65. set menu_color_highlight=black/light-gray
  66. ### END /etc/grub.d/05_debian_theme ###
  67.  
  68. ### BEGIN /etc/grub.d/10_linux ###
  69. menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
  70. recordfail
  71. insmod part_msdos
  72. insmod ext2
  73. set root='(hd0,msdos1)'
  74. search --no-floppy --fs-uuid --set ac17b44c-ae5e-47bb-9556-ce4f1153797b
  75. linux /boot/vmlinuz-2.6.35-22-generic root=UUID=ac17b44c-ae5e-47bb-9556-ce4f1153797b ro quiet splash
  76. initrd /boot/initrd.img-2.6.35-22-generic
  77. }
  78. menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
  79. recordfail
  80. insmod part_msdos
  81. insmod ext2
  82. set root='(hd0,msdos1)'
  83. search --no-floppy --fs-uuid --set ac17b44c-ae5e-47bb-9556-ce4f1153797b
  84. echo 'Loading Linux 2.6.35-22-generic ...'
  85. linux /boot/vmlinuz-2.6.35-22-generic root=UUID=ac17b44c-ae5e-47bb-9556-ce4f1153797b ro single
  86. echo 'Loading initial ramdisk ...'
  87. initrd /boot/initrd.img-2.6.35-22-generic
  88. }
  89. ### END /etc/grub.d/10_linux ###
  90.  
  91. ### BEGIN /etc/grub.d/20_linux_xen ###
  92. ### END /etc/grub.d/20_linux_xen ###
  93.  
  94. ### BEGIN /etc/grub.d/20_memtest86+ ###
  95. menuentry "Memory test (memtest86+)" {
  96. insmod part_msdos
  97. insmod ext2
  98. set root='(hd0,msdos1)'
  99. search --no-floppy --fs-uuid --set ac17b44c-ae5e-47bb-9556-ce4f1153797b
  100. linux16 /boot/memtest86+.bin
  101. }
  102. menuentry "Memory test (memtest86+, serial console 115200)" {
  103. insmod part_msdos
  104. insmod ext2
  105. set root='(hd0,msdos1)'
  106. search --no-floppy --fs-uuid --set ac17b44c-ae5e-47bb-9556-ce4f1153797b
  107. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  108. }
  109. ### END /etc/grub.d/20_memtest86+ ###
  110.  
  111. ### BEGIN /etc/grub.d/30_os-prober ###
  112. if [ "x${timeout}" != "x-1" ]; then
  113. if keystatus; then
  114. if keystatus --shift; then
  115. set timeout=-1
  116. else
  117. set timeout=0
  118. fi
  119. else
  120. if sleep --interruptible 3 ; then
  121. set timeout=0
  122. fi
  123. fi
  124. fi
  125. ### END /etc/grub.d/30_os-prober ###
  126.  
  127. ### BEGIN /etc/grub.d/40_custom ###
  128. # This file provides an easy way to add custom menu entries. Simply type the
  129. # menu entries you want to add after this comment. Be careful not to change
  130. # the 'exec tail' line above.
  131. ### END /etc/grub.d/40_custom ###
  132.  
  133. ### BEGIN /etc/grub.d/41_custom ###
  134. if [ -f $prefix/custom.cfg ]; then
  135. source $prefix/custom.cfg;
  136. fi
  137. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement