Advertisement
Guest User

Untitled

a guest
Jul 29th, 2012
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.17 KB | None | 0 0
  1. root@ubuntu:/boot/grub# ls -la grub.cfg
  2. -r--r--r-- 1 root root 2968 Jul 29 19:25 grub.cfg
  3.  
  4.  
  5. #########################################################3
  6.  
  7. #
  8. # DO NOT EDIT THIS FILE
  9. #
  10. # It is automatically generated by grub-mkconfig using templates
  11. # from /etc/grub.d and settings from /etc/default/grub
  12. #
  13.  
  14. ### BEGIN /etc/grub.d/00_header ###
  15. if [ -s $prefix/grubenv ]; then
  16. set have_grubenv=true
  17. load_env
  18. fi
  19. set default="0"
  20. if [ "${prev_saved_entry}" ]; then
  21. set saved_entry="${prev_saved_entry}"
  22. save_env saved_entry
  23. set prev_saved_entry=
  24. save_env prev_saved_entry
  25. set boot_once=true
  26. fi
  27.  
  28. function savedefault {
  29. if [ -z "${boot_once}" ]; then
  30. saved_entry="${chosen}"
  31. save_env saved_entry
  32. fi
  33. }
  34.  
  35. function recordfail {
  36. set recordfail=1
  37. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  38. }
  39.  
  40. function load_video {
  41. insmod vbe
  42. insmod vga
  43. insmod video_bochs
  44. insmod video_cirrus
  45. }
  46.  
  47. insmod part_msdos
  48. insmod ext2
  49. set root='(hd0,msdos7)'
  50. search --no-floppy --fs-uuid --set=root 394d67be-f891-49a8-af33-7c8ea9508dbf
  51. if loadfont /usr/share/grub/unicode.pf2 ; then
  52. set gfxmode=auto
  53. load_video
  54. insmod gfxterm
  55. insmod part_msdos
  56. insmod ext2
  57. set root='(hd0,msdos7)'
  58. search --no-floppy --fs-uuid --set=root 394d67be-f891-49a8-af33-7c8ea9508dbf
  59. set locale_dir=($root)/boot/grub/locale
  60. set lang=en_US
  61. insmod gettext
  62. fi
  63. terminal_output gfxterm
  64. if [ "${recordfail}" = 1 ]; then
  65. set timeout=-1
  66. else
  67. set timeout=10
  68. fi
  69. ### END /etc/grub.d/00_header ###
  70.  
  71. ### BEGIN /etc/grub.d/05_debian_theme ###
  72. set menu_color_normal=white/black
  73. set menu_color_highlight=black/light-gray
  74. if background_color 44,0,30; then
  75. clear
  76. fi
  77. ### END /etc/grub.d/05_debian_theme ###
  78.  
  79. ### BEGIN /etc/grub.d/10_linux_proxy ###
  80. ### END /etc/grub.d/10_linux_proxy ###
  81.  
  82. ### BEGIN /etc/grub.d/20_linux_xen ###
  83. ### END /etc/grub.d/20_linux_xen ###
  84.  
  85. ### BEGIN /etc/grub.d/20_memtest86+ ###
  86. menuentry "Memory test (memtest86+)" {
  87. insmod part_msdos
  88. insmod ext2
  89. set root='(hd0,msdos7)'
  90. search --no-floppy --fs-uuid --set=root 394d67be-f891-49a8-af33-7c8ea9508dbf
  91. linux16 /boot/memtest86+.bin
  92. }
  93. menuentry "Memory test (memtest86+, serial console 115200)" {
  94. insmod part_msdos
  95. insmod ext2
  96. set root='(hd0,msdos7)'
  97. search --no-floppy --fs-uuid --set=root 394d67be-f891-49a8-af33-7c8ea9508dbf
  98. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  99. }
  100. ### END /etc/grub.d/20_memtest86+ ###
  101.  
  102. ### BEGIN /etc/grub.d/30_os-prober_proxy ###
  103. menuentry "Windows" --class windows --class os {
  104. insmod part_msdos
  105. insmod ntfs
  106. set root='(hd0,msdos2)'
  107. search --no-floppy --fs-uuid --set=root 10746DE1746DCA54
  108. drivemap -s (hd0) ${root}
  109. chainloader +1
  110. }
  111. ### END /etc/grub.d/30_os-prober_proxy ###
  112.  
  113. ### BEGIN /etc/grub.d/40_custom ###
  114. # This file provides an easy way to add custom menu entries. Simply type the
  115. # menu entries you want to add after this comment. Be careful not to change
  116. # the 'exec tail' line above.
  117. ### END /etc/grub.d/40_custom ###
  118.  
  119. ### BEGIN /etc/grub.d/41_custom ###
  120. if [ -f $prefix/custom.cfg ]; then
  121. source $prefix/custom.cfg;
  122. fi
  123. ### END /etc/grub.d/41_custom ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement