Advertisement
Guest User

Untitled

a guest
Oct 20th, 2011
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.53 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="Ubuntu, с Linux 3.0.0-12-generic"
  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='(hd0,msdos2)'
  44. search --no-floppy --fs-uuid --set=root e16e70b2-effc-46cf-aef3-a53956996b1c
  45. if loadfont /usr/share/grub/unicode.pf2 ; then
  46. set gfxmode=1600x1200
  47. load_video
  48. insmod gfxterm
  49. insmod part_msdos
  50. insmod ext2
  51. set root='(hd0,msdos2)'
  52. search --no-floppy --fs-uuid --set=root e16e70b2-effc-46cf-aef3-a53956996b1c
  53. set locale_dir=($root)/boot/grub/locale
  54. set lang=ru_RU
  55. insmod gettext
  56. fi
  57. terminal_output gfxterm
  58. if [ "${recordfail}" = 1 ]; then
  59. set timeout=-1
  60. else
  61. set timeout=60
  62. fi
  63. ### END /etc/grub.d/00_header ###
  64.  
  65. ### BEGIN /etc/grub.d/05_debian_theme ###
  66. insmod part_msdos
  67. insmod ext2
  68. set root='(hd0,msdos2)'
  69. search --no-floppy --fs-uuid --set=root e16e70b2-effc-46cf-aef3-a53956996b1c
  70. insmod jpeg
  71. if background_image /boot/grub/.background_cache.jpeg; then
  72. set color_normal=light-gray/black
  73. set color_highlight=magenta/black
  74. else
  75. set menu_color_normal=white/black
  76. set menu_color_highlight=black/light-gray
  77. fi
  78. ### END /etc/grub.d/05_debian_theme ###
  79.  
  80. ### BEGIN /etc/grub.d/10_linux_proxy ###
  81. set linux_gfx_mode=keep
  82. export linux_gfx_mode
  83. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  84. menuentry "Ubuntu, с Linux 3.0.0-12-generic" --class ubuntu --class gnu-linux --class gnu --class os {
  85. recordfail
  86. set gfxpayload=$linux_gfx_mode
  87. insmod gzio
  88. insmod part_msdos
  89. insmod ext2
  90. set root='(hd0,msdos2)'
  91. search --no-floppy --fs-uuid --set=root e16e70b2-effc-46cf-aef3-a53956996b1c
  92. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=e16e70b2-effc-46cf-aef3-a53956996b1c ro splash vga=799 quiet splash nomodeset video=uvesafb:mode_option=1920x1080-24,mtrr=3,scroll=ywrap vt.handoff=7
  93. initrd /boot/initrd.img-3.0.0-12-generic
  94. }
  95. menuentry "Ubuntu, с Linux 3.0.0-12-generic (режим восстановления)" --class ubuntu --class gnu-linux --class gnu --class os {
  96. recordfail
  97. insmod gzio
  98. insmod part_msdos
  99. insmod ext2
  100. set root='(hd0,msdos2)'
  101. search --no-floppy --fs-uuid --set=root e16e70b2-effc-46cf-aef3-a53956996b1c
  102. echo 'Загружается Linux 3.0.0-12-generic ...'
  103. linux /boot/vmlinuz-3.0.0-12-generic root=UUID=e16e70b2-effc-46cf-aef3-a53956996b1c ro recovery nomodeset splash vga=799
  104. echo 'Загружается начальный ramdisk ...'
  105. initrd /boot/initrd.img-3.0.0-12-generic
  106. }
  107. ### END /etc/grub.d/10_linux_proxy ###
  108.  
  109. ### BEGIN /etc/grub.d/20_linux_xen ###
  110. ### END /etc/grub.d/20_linux_xen ###
  111.  
  112. ### BEGIN /etc/grub.d/20_memtest86+_proxy ###
  113. menuentry "Memory test (memtest86+)" {
  114. insmod part_msdos
  115. insmod ext2
  116. set root='(hd0,msdos2)'
  117. search --no-floppy --fs-uuid --set=root e16e70b2-effc-46cf-aef3-a53956996b1c
  118. linux16 /boot/memtest86+.bin
  119. }
  120. menuentry "Memory test (memtest86+, serial console 115200)" {
  121. insmod part_msdos
  122. insmod ext2
  123. set root='(hd0,msdos2)'
  124. search --no-floppy --fs-uuid --set=root e16e70b2-effc-46cf-aef3-a53956996b1c
  125. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  126. }
  127. ### END /etc/grub.d/20_memtest86+_proxy ###
  128.  
  129. ### BEGIN /etc/grub.d/30_os-prober_proxy ###
  130. menuentry "Windows 7 (loader) (on /dev/sda3)" --class windows --class os {
  131. insmod part_msdos
  132. insmod ntfs
  133. set root='(hd0,msdos3)'
  134. search --no-floppy --fs-uuid --set=root 38548A9D548A5D8E
  135. chainloader +1
  136. }
  137. ### END /etc/grub.d/30_os-prober_proxy ###
  138.  
  139. ### BEGIN /etc/grub.d/40_custom ###
  140. # This file provides an easy way to add custom menu entries. Simply type the
  141. # menu entries you want to add after this comment. Be careful not to change
  142. # the 'exec tail' line above.
  143. ### END /etc/grub.d/40_custom ###
  144.  
  145. ### BEGIN /etc/grub.d/41_custom ###
  146. if [ -f $prefix/custom.cfg ]; then
  147. source $prefix/custom.cfg;
  148. fi
  149. ### END /etc/grub.d/41_custom ###
  150.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement