Advertisement
Guest User

grub.cfg

a guest
Jan 22nd, 2015
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 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. load_env
  11. fi
  12. set default="0"
  13. if [ "${prev_saved_entry}" ]; then
  14. set saved_entry="${prev_saved_entry}"
  15. save_env saved_entry
  16. set prev_saved_entry=
  17. save_env prev_saved_entry
  18. set boot_once=true
  19. fi
  20.  
  21. function savedefault {
  22. if [ -z "${boot_once}" ]; then
  23. saved_entry="${chosen}"
  24. save_env saved_entry
  25. fi
  26. }
  27.  
  28. function load_video {
  29. insmod vbe
  30. insmod vga
  31. insmod video_bochs
  32. insmod video_cirrus
  33. }
  34.  
  35. insmod part_gpt
  36. insmod ext2
  37. set root='(hd0,gpt10)'
  38. search --no-floppy --fs-uuid --set=root edef6073-9953-4a26-803e-536c20e4d9f9
  39. if loadfont /usr/share/grub/unicode.pf2 ; then
  40. set gfxmode=640x480
  41. load_video
  42. insmod gfxterm
  43. insmod part_gpt
  44. insmod ext2
  45. set root='(hd0,gpt10)'
  46. search --no-floppy --fs-uuid --set=root edef6073-9953-4a26-803e-536c20e4d9f9
  47. set locale_dir=($root)/boot/grub/locale
  48. set lang=ru_RU
  49. insmod gettext
  50. fi
  51. terminal_output gfxterm
  52. set timeout=5
  53. ### END /etc/grub.d/00_header ###
  54.  
  55. ### BEGIN /etc/grub.d/05_debian_theme ###
  56. insmod part_gpt
  57. insmod ext2
  58. set root='(hd0,gpt10)'
  59. search --no-floppy --fs-uuid --set=root edef6073-9953-4a26-803e-536c20e4d9f9
  60. insmod png
  61. if background_image /usr/share/images/desktop-base/grub-splash-crunchbang.png; then
  62. set color_normal=light-gray/black
  63. set color_highlight=white/black
  64. else
  65. set menu_color_normal=cyan/blue
  66. set menu_color_highlight=white/blue
  67. fi
  68. ### END /etc/grub.d/05_debian_theme ###
  69.  
  70. ### BEGIN /etc/grub.d/10_linux ###
  71. menuentry 'CrunchBang GNU/Linux, с Linux 3.2.0-4-amd64' --class crunchbang --class gnu-linux --class gnu --class os {
  72. load_video
  73. insmod gzio
  74. insmod part_gpt
  75. insmod ext2
  76. set root='(hd0,gpt10)'
  77. search --no-floppy --fs-uuid --set=root edef6073-9953-4a26-803e-536c20e4d9f9
  78. echo 'Загружается Linux 3.2.0-4-amd64 ...'
  79. linux /boot/vmlinuz-3.2.0-4-amd64 root=UUID=edef6073-9953-4a26-803e-536c20e4d9f9 ro quiet
  80. echo 'Загружается начальный ramdisk ...'
  81. initrd /boot/initrd.img-3.2.0-4-amd64
  82. }
  83. menuentry 'CrunchBang GNU/Linux, с Linux 3.2.0-4-amd64 (режим восстановления)' --class crunchbang --class gnu-linux --class gnu --class os {
  84. load_video
  85. insmod gzio
  86. insmod part_gpt
  87. insmod ext2
  88. set root='(hd0,gpt10)'
  89. search --no-floppy --fs-uuid --set=root edef6073-9953-4a26-803e-536c20e4d9f9
  90. echo 'Загружается Linux 3.2.0-4-amd64 ...'
  91. linux /boot/vmlinuz-3.2.0-4-amd64 root=UUID=edef6073-9953-4a26-803e-536c20e4d9f9 ro single
  92. echo 'Загружается начальный ramdisk ...'
  93. initrd /boot/initrd.img-3.2.0-4-amd64
  94. }
  95. ### END /etc/grub.d/10_linux ###
  96.  
  97. ### BEGIN /etc/grub.d/20_linux_xen ###
  98. ### END /etc/grub.d/20_linux_xen ###
  99.  
  100. ### BEGIN /etc/grub.d/30_os-prober ###
  101. menuentry "Windows Recovery Environment (loader) (on /dev/sda3)" --class windows --class os {
  102. insmod part_gpt
  103. insmod fat
  104. set root='(hd0,gpt3)'
  105. search --no-floppy --fs-uuid --set=root 0224-9049
  106. drivemap -s (hd0) ${root}
  107. chainloader +1
  108. }
  109. menuentry "Windows 8 (loader) (on /dev/sda5)" --class windows --class os {
  110. insmod part_gpt
  111. insmod ntfs
  112. set root='(hd0,gpt5)'
  113. search --no-floppy --fs-uuid --set=root 02CA278FCA277E53
  114. drivemap -s (hd0) ${root}
  115. chainloader +1
  116. }
  117. ### END /etc/grub.d/30_os-prober ###
  118.  
  119. ### BEGIN /etc/grub.d/40_custom ###
  120. # This file provides an easy way to add custom menu entries. Simply type the
  121. # menu entries you want to add after this comment. Be careful not to change
  122. # the 'exec tail' line above.
  123. ### END /etc/grub.d/40_custom ###
  124.  
  125. ### BEGIN /etc/grub.d/41_custom ###
  126. if [ -f $prefix/custom.cfg ]; then
  127. source $prefix/custom.cfg;
  128. fi
  129. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement