Guest User

Untitled

a guest
Jul 22nd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.98 KB | None | 0 0
  1. cat /boot/grub/grub.cfg
  2. #
  3. # DO NOT EDIT THIS FILE
  4. #
  5. # It is automatically generated by grub-mkconfig using templates
  6. # from /etc/grub.d and settings from /etc/default/grub
  7. #
  8.  
  9. ### BEGIN /etc/grub.d/00_header ###
  10. if [ -s $prefix/grubenv ]; then
  11. set have_grubenv=true
  12. load_env
  13. fi
  14. set default="0"
  15. if [ "${prev_saved_entry}" ]; then
  16. set saved_entry="${prev_saved_entry}"
  17. save_env saved_entry
  18. set prev_saved_entry=
  19. save_env prev_saved_entry
  20. set boot_once=true
  21. fi
  22.  
  23. function savedefault {
  24. if [ -z "${boot_once}" ]; then
  25. saved_entry="${chosen}"
  26. save_env saved_entry
  27. fi
  28. }
  29.  
  30. function recordfail {
  31. set recordfail=1
  32. if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
  33. }
  34.  
  35. function load_video {
  36. insmod vbe
  37. insmod vga
  38. insmod video_bochs
  39. insmod video_cirrus
  40. }
  41.  
  42. insmod part_msdos
  43. insmod ext2
  44. set root='(hd1,msdos1)'
  45. search --no-floppy --fs-uuid --set=root d63a3e4c-abb0-4641-939e-1ed7c49576e3
  46. if loadfont /usr/share/grub/unicode.pf2 ; then
  47. set gfxmode=auto
  48. load_video
  49. insmod gfxterm
  50. insmod part_msdos
  51. insmod ext2
  52. set root='(hd1,msdos1)'
  53. search --no-floppy --fs-uuid --set=root d63a3e4c-abb0-4641-939e-1ed7c49576e3
  54. set locale_dir=($root)/boot/grub/locale
  55. set lang=en_US
  56. insmod gettext
  57. fi
  58. terminal_output gfxterm
  59. if [ "${recordfail}" = 1 ]; then
  60. set timeout=-1
  61. else
  62. set timeout=10
  63. fi
  64. ### END /etc/grub.d/00_header ###
  65.  
  66. ### BEGIN /etc/grub.d/05_debian_theme ###
  67. set menu_color_normal=white/black
  68. set menu_color_highlight=black/light-gray
  69. if background_color 0,0,0; then
  70. clear
  71. fi
  72. ### END /etc/grub.d/05_debian_theme ###
  73.  
  74. ### BEGIN /etc/grub.d/06_mint_theme ###
  75. set menu_color_normal=white/black
  76. set menu_color_highlight=white/light-gray
  77. ### END /etc/grub.d/06_mint_theme ###
  78.  
  79. ### BEGIN /etc/grub.d/10_linux ###
  80. if [ ${recordfail} != 1 ]; then
  81. if [ -e ${prefix}/gfxblacklist.txt ]; then
  82. if hwmatch ${prefix}/gfxblacklist.txt 3; then
  83. if [ ${match} = 0 ]; then
  84. set linux_gfx_mode=keep
  85. else
  86. set linux_gfx_mode=text
  87. fi
  88. else
  89. set linux_gfx_mode=text
  90. fi
  91. else
  92. set linux_gfx_mode=keep
  93. fi
  94. else
  95. set linux_gfx_mode=text
  96. fi
  97. export linux_gfx_mode
  98. if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
  99. menuentry 'Linux Mint 12 KDE 64-bit, 3.0.0-17-generic (/dev/sdb1)' --class linuxmint --class gnu-linux --class gnu --class os {
  100. recordfail
  101. set gfxpayload=$linux_gfx_mode
  102. insmod gzio
  103. insmod part_msdos
  104. insmod ext2
  105. set root='(hd1,msdos1)'
  106. search --no-floppy --fs-uuid --set=root d63a3e4c-abb0-4641-939e-1ed7c49576e3
  107. linux /boot/vmlinuz-3.0.0-17-generic root=UUID=d63a3e4c-abb0-4641-939e-1ed7c49576e3 ro quiet splash vt.handoff=7
  108. initrd /boot/initrd.img-3.0.0-17-generic
  109. }
  110. menuentry 'Linux Mint 12 KDE 64-bit, 3.0.0-17-generic (/dev/sdb1) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
  111. recordfail
  112. insmod gzio
  113. insmod part_msdos
  114. insmod ext2
  115. set root='(hd1,msdos1)'
  116. search --no-floppy --fs-uuid --set=root d63a3e4c-abb0-4641-939e-1ed7c49576e3
  117. echo 'Loading Linux 3.0.0-17-generic ...'
  118. linux /boot/vmlinuz-3.0.0-17-generic root=UUID=d63a3e4c-abb0-4641-939e-1ed7c49576e3 ro recovery nomodeset
  119. echo 'Loading initial ramdisk ...'
  120. initrd /boot/initrd.img-3.0.0-17-generic
  121. }
  122. ### END /etc/grub.d/10_linux ###
  123.  
  124. ### BEGIN /etc/grub.d/10_lupin ###
  125. ### END /etc/grub.d/10_lupin ###
  126.  
  127. ### BEGIN /etc/grub.d/20_linux_xen ###
  128. ### END /etc/grub.d/20_linux_xen ###
  129.  
  130. ### BEGIN /etc/grub.d/20_memtest86+ ###
  131. menuentry "Memory test (memtest86+)" {
  132. insmod part_msdos
  133. insmod ext2
  134. set root='(hd1,msdos1)'
  135. search --no-floppy --fs-uuid --set=root d63a3e4c-abb0-4641-939e-1ed7c49576e3
  136. linux16 /boot/memtest86+.bin
  137. }
  138. menuentry "Memory test (memtest86+, serial console 115200)" {
  139. insmod part_msdos
  140. insmod ext2
  141. set root='(hd1,msdos1)'
  142. search --no-floppy --fs-uuid --set=root d63a3e4c-abb0-4641-939e-1ed7c49576e3
  143. linux16 /boot/memtest86+.bin console=ttyS0,115200n8
  144. }
  145. ### END /etc/grub.d/20_memtest86+ ###
  146.  
  147. ### BEGIN /etc/grub.d/30_os-prober_proxy ###
  148. menuentry "Windows 7 (loader) (on /dev/sdc1)" --class windows --class os {
  149. insmod part_msdos
  150. insmod ntfs
  151. set root='(hd2,msdos1)'
  152. search --no-floppy --fs-uuid --set=root 206619216618F8EC
  153. chainloader +1
  154. }
  155. ### END /etc/grub.d/30_os-prober_proxy ###
  156.  
  157. ### BEGIN /etc/grub.d/40_custom ###
  158. # This file provides an easy way to add custom menu entries. Simply type the
  159. # menu entries you want to add after this comment. Be careful not to change
  160. # the 'exec tail' line above.
  161. ### END /etc/grub.d/40_custom ###
  162.  
  163. ### BEGIN /etc/grub.d/41_custom ###
  164. if [ -f $prefix/custom.cfg ]; then
  165. source $prefix/custom.cfg;
  166. fi
  167. ### END /etc/grub.d/41_custom ###
  168. david@david-MS-7599 ~ $
Add Comment
Please, Sign In to add comment