Advertisement
Guest User

Untitled

a guest
Aug 4th, 2012
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.49 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="${saved_entry}"
  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,msdos5)'
  44. search --no-floppy --fs-uuid --set=root 17d2e819-cf5d-4ea0-8f96-16b2880d44e7
  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='(hd0,msdos5)'
  52. search --no-floppy --fs-uuid --set=root 17d2e819-cf5d-4ea0-8f96-16b2880d44e7
  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=7
  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_os-prober_proxy ###
  71. menuentry "Windows 7" --class windows --class os {
  72. savedefault
  73. insmod part_msdos
  74. insmod ntfs
  75. set root='(hd0,msdos1)'
  76. search --no-floppy --fs-uuid --set=root BC8C10198C0FCCB8
  77. chainloader +1
  78. }
  79. ### END /etc/grub.d/10_os-prober_proxy ###
  80.  
  81. ### BEGIN /etc/grub.d/11_linux_proxy ###
  82. function gfxmode {
  83. set gfxpayload="${1}"
  84. if [ "${1}" = "keep" ]; then
  85. set vt_handoff=vt.handoff=7
  86. else
  87. set vt_handoff=
  88. fi
  89. }
  90. if [ "${recordfail}" != 1 ]; then
  91. if [ -e ${prefix}/gfxblacklist.txt ]; then
  92. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  93. if [ ${match} = 0 ]; then
  94. set linux_gfx_mode=keep
  95. else
  96. set linux_gfx_mode=text
  97. fi
  98. else
  99. set linux_gfx_mode=text
  100. fi
  101. else
  102. set linux_gfx_mode=keep
  103. fi
  104. else
  105. set linux_gfx_mode=text
  106. fi
  107. export linux_gfx_mode
  108. if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
  109. menuentry 'Xubuntu 12.04' --class ubuntu --class gnu-linux --class gnu --class os {
  110. recordfail
  111. savedefault
  112. gfxmode $linux_gfx_mode
  113. insmod gzio
  114. insmod part_msdos
  115. insmod ext2
  116. set root='(hd0,msdos5)'
  117. search --no-floppy --fs-uuid --set=root 17d2e819-cf5d-4ea0-8f96-16b2880d44e7
  118. linux /boot/vmlinuz-3.2.0-27-generic root=UUID=17d2e819-cf5d-4ea0-8f96-16b2880d44e7 ro debug quiet splash modeset=1 hybridopts=ON,DIS,OFF $vt_handoff
  119. initrd /boot/initrd.img-3.2.0-27-generic
  120. }
  121. ### END /etc/grub.d/11_linux_proxy ###
  122.  
  123. ### BEGIN /etc/grub.d/12_linux_xen ###
  124. ### END /etc/grub.d/12_linux_xen ###
  125.  
  126. ### BEGIN /etc/grub.d/14_custom ###
  127. # This file provides an easy way to add custom menu entries. Simply type the
  128. # menu entries you want to add after this comment. Be careful not to change
  129. # the 'exec tail' line above.
  130. ### END /etc/grub.d/14_custom ###
  131.  
  132. ### BEGIN /etc/grub.d/15_custom ###
  133. if [ -f $prefix/custom.cfg ]; then
  134. source $prefix/custom.cfg;
  135. fi
  136. ### END /etc/grub.d/15_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement