Guest User

grub.cfg

a guest
Feb 5th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.40 KB | None | 0 0
  1. [Tonski antonia]# 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. insmod part_gpt
  11. insmod part_msdos
  12. if [ -s $prefix/grubenv ]; then
  13. load_env
  14. fi
  15. if [ "${next_entry}" ] ; then
  16. set default="${next_entry}"
  17. set next_entry=
  18. save_env next_entry
  19. set boot_once=true
  20. else
  21. set default="${saved_entry}"
  22. fi
  23.  
  24. if [ x"${feature_menuentry_id}" = xy ]; then
  25. menuentry_id_option="--id"
  26. else
  27. menuentry_id_option=""
  28. fi
  29.  
  30. export menuentry_id_option
  31.  
  32. if [ "${prev_saved_entry}" ]; then
  33. set saved_entry="${prev_saved_entry}"
  34. save_env saved_entry
  35. set prev_saved_entry=
  36. save_env prev_saved_entry
  37. set boot_once=true
  38. fi
  39.  
  40. function savedefault {
  41. if [ -z "${boot_once}" ]; then
  42. saved_entry="${chosen}"
  43. save_env saved_entry
  44. fi
  45. }
  46.  
  47. function load_video {
  48. if [ x$feature_all_video_module = xy ]; then
  49. insmod all_video
  50. else
  51. insmod efi_gop
  52. insmod efi_uga
  53. insmod ieee1275_fb
  54. insmod vbe
  55. insmod vga
  56. insmod video_bochs
  57. insmod video_cirrus
  58. fi
  59. }
  60.  
  61. set menu_color_normal=light-gray/black
  62. set menu_color_highlight=green/black
  63.  
  64. if [ x$feature_default_font_path = xy ] ; then
  65. font=unicode
  66. else
  67. insmod part_msdos
  68. insmod ext2
  69. set root='hd0,msdos6'
  70. if [ x$feature_platform_search_hint = xy ]; then
  71. search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos6' --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 7d16b9e5-a2d3-40d2-8cc3-24524823c6b0
  72. else
  73. search --no-floppy --fs-uuid --set=root 7d16b9e5-a2d3-40d2-8cc3-24524823c6b0
  74. fi
  75. font="/usr/share/grub/unicode.pf2"
  76. fi
  77.  
  78. if loadfont $font ; then
  79. set gfxmode=auto
  80. load_video
  81. insmod gfxterm
  82. set locale_dir=$prefix/locale
  83. set lang=en_US
  84. insmod gettext
  85. fi
  86. terminal_input console
  87. terminal_output gfxterm
  88. insmod part_msdos
  89. insmod ext2
  90. set root='hd0,msdos6'
  91. if [ x$feature_platform_search_hint = xy ]; then
  92. search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos6' --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 7d16b9e5-a2d3-40d2-8cc3-24524823c6b0
  93. else
  94. search --no-floppy --fs-uuid --set=root 7d16b9e5-a2d3-40d2-8cc3-24524823c6b0
  95. fi
  96. insmod gfxmenu
  97. loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_12.pf2
  98. loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_14.pf2
  99. loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_16.pf2
  100. loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_24.pf2
  101. loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_48.pf2
  102. loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_bold_16.pf2
  103. loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_mono_12.pf2
  104. loadfont ($root)/usr/share/grub/themes/manjaro/terminus-12.pf2
  105. loadfont ($root)/usr/share/grub/themes/manjaro/terminus-14.pf2
  106. loadfont ($root)/usr/share/grub/themes/manjaro/terminus-16.pf2
  107. loadfont ($root)/usr/share/grub/themes/manjaro/terminus-18.pf2
  108. loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b12.pf2
  109. loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b14.pf2
  110. loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b16.pf2
  111. loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b18.pf2
  112. insmod png
  113. set theme=($root)/usr/share/grub/themes/manjaro/theme.txt
  114. export theme
  115. if [ x$feature_timeout_style = xy ] ; then
  116. set timeout_style=menu
  117. set timeout=5
  118. # Fallback normal timeout code in case the timeout_style feature is
  119. # unavailable.
  120. else
  121. set timeout=5
  122. fi
  123. ### END /etc/grub.d/00_header ###
  124.  
  125. ### BEGIN /etc/grub.d/01_menu_auto_hide ###
  126. if [ "${boot_success}" = "1" -o "${boot_indeterminate}" = "1" ]; then
  127. set last_boot_ok=1
  128. else
  129. set last_boot_ok=0
  130. fi
  131.  
  132. # Reset boot_indeterminate after a successful boot
  133. if [ "${boot_success}" = "1" ] ; then
  134. set boot_indeterminate=0
  135. # Avoid boot_indeterminate causing the menu to be hidden more then once
  136. elif [ "${boot_indeterminate}" = "1" ]; then
  137. set boot_indeterminate=2
  138. fi
  139. set boot_success=0
  140. save_env boot_success boot_indeterminate
  141.  
  142. if [ x$feature_timeout_style = xy ] ; then
  143. if [ "${menu_show_once}" ]; then
  144. unset menu_show_once
  145. save_env menu_show_once
  146. set timeout_style=menu
  147. set timeout=60
  148. elif [ "${menu_auto_hide}" -a "${last_boot_ok}" = "1" ]; then
  149. set orig_timeout_style=${timeout_style}
  150. set orig_timeout=${timeout}
  151. if [ "${fastboot}" = "1" ]; then
  152. # timeout_style=menu + timeout=0 avoids the countdown code keypress check
  153. set timeout_style=menu
  154. set timeout=0
  155. else
  156. set timeout_style=hidden
  157. set timeout=1
  158. fi
  159. fi
  160. fi
  161. ### END /etc/grub.d/01_menu_auto_hide ###
  162.  
  163. ### BEGIN /etc/grub.d/10_linux ###
  164. menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7d16b9e5-a2d3-40d2-8cc3-24524823c6b0' {
  165. savedefault
  166. load_video
  167. set gfxpayload=keep
  168. insmod gzio
  169. insmod part_msdos
  170. insmod ext2
  171. set root='hd0,msdos6'
  172. if [ x$feature_platform_search_hint = xy ]; then
  173. search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos6' --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 7d16b9e5-a2d3-40d2-8cc3-24524823c6b0
  174. else
  175. search --no-floppy --fs-uuid --set=root 7d16b9e5-a2d3-40d2-8cc3-24524823c6b0
  176. fi
  177. linux /boot/vmlinuz-4.19-x86_64 root=UUID=7d16b9e5-a2d3-40d2-8cc3-24524823c6b0 rw quiet resume=UUID=40f7937f-9b1e-4f69-b79f-58f8a4089935
  178. initrd /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
  179. }
  180. submenu 'Advanced options for Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-7d16b9e5-a2d3-40d2-8cc3-24524823c6b0' {
  181. menuentry 'Manjaro Linux (Kernel: 4.19.16-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.16-1-MANJARO x64-advanced-7d16b9e5-a2d3-40d2-8cc3-24524823c6b0' {
  182. savedefault
  183. load_video
  184. set gfxpayload=keep
  185. insmod gzio
  186. insmod part_msdos
  187. insmod ext2
  188. set root='hd0,msdos6'
  189. if [ x$feature_platform_search_hint = xy ]; then
  190. search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos6' --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 7d16b9e5-a2d3-40d2-8cc3-24524823c6b0
  191. else
  192. search --no-floppy --fs-uuid --set=root 7d16b9e5-a2d3-40d2-8cc3-24524823c6b0
  193. fi
  194. linux /boot/vmlinuz-4.19-x86_64 root=UUID=7d16b9e5-a2d3-40d2-8cc3-24524823c6b0 rw quiet resume=UUID=40f7937f-9b1e-4f69-b79f-58f8a4089935
  195. initrd /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
  196. }
  197. menuentry 'Manjaro Linux (Kernel: 4.19.16-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19.16-1-MANJARO x64-fallback-7d16b9e5-a2d3-40d2-8cc3-24524823c6b0' {
  198. load_video
  199. set gfxpayload=keep
  200. insmod gzio
  201. insmod part_msdos
  202. insmod ext2
  203. set root='hd0,msdos6'
  204. if [ x$feature_platform_search_hint = xy ]; then
  205. search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos6' --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 7d16b9e5-a2d3-40d2-8cc3-24524823c6b0
  206. else
  207. search --no-floppy --fs-uuid --set=root 7d16b9e5-a2d3-40d2-8cc3-24524823c6b0
  208. fi
  209. linux /boot/vmlinuz-4.19-x86_64 root=UUID=7d16b9e5-a2d3-40d2-8cc3-24524823c6b0 rw quiet resume=UUID=40f7937f-9b1e-4f69-b79f-58f8a4089935
  210. initrd /boot/initramfs-4.19-x86_64-fallback.img
  211. }
  212. }
  213.  
  214. ### END /etc/grub.d/10_linux ###
  215.  
  216. ### BEGIN /etc/grub.d/20_linux_xen ###
  217. ### END /etc/grub.d/20_linux_xen ###
  218.  
  219. ### BEGIN /etc/grub.d/30_os-prober ###
  220. menuentry 'Windows 10 (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-AA528EB7528E8831' {
  221. savedefault
  222. insmod part_msdos
  223. insmod ntfs
  224. set root='hd0,msdos1'
  225. if [ x$feature_platform_search_hint = xy ]; then
  226. search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 AA528EB7528E8831
  227. else
  228. search --no-floppy --fs-uuid --set=root AA528EB7528E8831
  229. fi
  230. parttool ${root} hidden-
  231. drivemap -s (hd0) ${root}
  232. chainloader +1
  233. }
  234. # Other OS found, undo autohiding of menu unless menu_auto_hide=2
  235. if [ "${orig_timeout_style}" -a "${menu_auto_hide}" != "2" ]; then
  236. set timeout_style=${orig_timeout_style}
  237. set timeout=${orig_timeout}
  238. fi
  239. ### END /etc/grub.d/30_os-prober ###
  240.  
  241. ### BEGIN /etc/grub.d/40_custom ###
  242. # This file provides an easy way to add custom menu entries. Simply type the
  243. # menu entries you want to add after this comment. Be careful not to change
  244. # the 'exec tail' line above.
  245. ### END /etc/grub.d/40_custom ###
  246.  
  247. ### BEGIN /etc/grub.d/41_custom ###
  248. if [ -f ${config_directory}/custom.cfg ]; then
  249. source ${config_directory}/custom.cfg
  250. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  251. source $prefix/custom.cfg;
  252. fi
  253. ### END /etc/grub.d/41_custom ###
  254.  
  255. ### BEGIN /etc/grub.d/60_memtest86+ ###
  256. if [ "${grub_platform}" == "pc" ]; then
  257. menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
  258. search --fs-uuid --no-floppy --set=root --hint-ieee1275='ieee1275//disk@0,msdos6' --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 7d16b9e5-a2d3-40d2-8cc3-24524823c6b0
  259. linux16 /boot/memtest86+/memtest.bin
  260. }
  261. fi
  262. ### END /etc/grub.d/60_memtest86+ ###
Add Comment
Please, Sign In to add comment