anonymousguest1

grub

Sep 6th, 2018
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.51 KB | None | 0 0
  1. sudo 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,msdos1'
  70. if [ x$feature_platform_search_hint = xy ]; then
  71. 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 445c4142-c58f-4366-8b88-a0ad3e048e5b
  72. else
  73. search --no-floppy --fs-uuid --set=root 445c4142-c58f-4366-8b88-a0ad3e048e5b
  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=ru_RU
  84. insmod gettext
  85. fi
  86. terminal_input console
  87. terminal_output gfxterm
  88. insmod part_msdos
  89. insmod ext2
  90. set root='hd0,msdos1'
  91. if [ x$feature_platform_search_hint = xy ]; then
  92. 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 445c4142-c58f-4366-8b88-a0ad3e048e5b
  93. else
  94. search --no-floppy --fs-uuid --set=root 445c4142-c58f-4366-8b88-a0ad3e048e5b
  95. fi
  96. insmod png
  97. background_image -m stretch /usr/share/grub/background.png
  98. if [ x$feature_timeout_style = xy ] ; then
  99. set timeout_style=hidden
  100. set timeout=3
  101. # Fallback hidden-timeout code in case the timeout_style feature is
  102. # unavailable.
  103. elif sleep --interruptible 3 ; then
  104. set timeout=0
  105. fi
  106. ### END /etc/grub.d/00_header ###
  107.  
  108. ### BEGIN /etc/grub.d/10_linux ###
  109. menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-445c4142-c58f-4366-8b88-a0ad3e048e5b' {
  110. savedefault
  111. load_video
  112. set gfxpayload=keep
  113. insmod gzio
  114. insmod part_msdos
  115. insmod ext2
  116. set root='hd0,msdos1'
  117. if [ x$feature_platform_search_hint = xy ]; then
  118. 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 445c4142-c58f-4366-8b88-a0ad3e048e5b
  119. else
  120. search --no-floppy --fs-uuid --set=root 445c4142-c58f-4366-8b88-a0ad3e048e5b
  121. fi
  122. echo 'Загружается Linux 4.19rc2.0903.g60c1f89-1-MANJARO x64 …'
  123. linux /boot/vmlinuz-4.19-x86_64 root=UUID=445c4142-c58f-4366-8b88-a0ad3e048e5b rw resume=UUID=576303a7-0b2c-4585-b673-aea1e33b8aa4 nopti nospectre_v2 nospec_store_bypass_disable
  124. echo 'Загружается начальный виртуальный диск …'
  125. initrd /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
  126. }
  127. submenu 'Дополнительные параметры для Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-445c4142-c58f-4366-8b88-a0ad3e048e5b' {
  128. menuentry 'Manjaro Linux (Kernel: 4.19rc2.0903.g60c1f89-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19rc2.0903.g60c1f89-1-MANJARO x64-advanced-445c4142-c58f-4366-8b88-a0ad3e048e5b' {
  129. savedefault
  130. load_video
  131. set gfxpayload=keep
  132. insmod gzio
  133. insmod part_msdos
  134. insmod ext2
  135. set root='hd0,msdos1'
  136. if [ x$feature_platform_search_hint = xy ]; then
  137. 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 445c4142-c58f-4366-8b88-a0ad3e048e5b
  138. else
  139. search --no-floppy --fs-uuid --set=root 445c4142-c58f-4366-8b88-a0ad3e048e5b
  140. fi
  141. echo 'Загружается Linux 4.19rc2.0903.g60c1f89-1-MANJARO x64 …'
  142. linux /boot/vmlinuz-4.19-x86_64 root=UUID=445c4142-c58f-4366-8b88-a0ad3e048e5b rw resume=UUID=576303a7-0b2c-4585-b673-aea1e33b8aa4 nopti nospectre_v2 nospec_store_bypass_disable
  143. echo 'Загружается начальный виртуальный диск …'
  144. initrd /boot/intel-ucode.img /boot/initramfs-4.19-x86_64.img
  145. }
  146. menuentry 'Manjaro Linux (Kernel: 4.19rc2.0903.g60c1f89-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.19rc2.0903.g60c1f89-1-MANJARO x64-fallback-445c4142-c58f-4366-8b88-a0ad3e048e5b' {
  147. load_video
  148. set gfxpayload=keep
  149. insmod gzio
  150. insmod part_msdos
  151. insmod ext2
  152. set root='hd0,msdos1'
  153. if [ x$feature_platform_search_hint = xy ]; then
  154. 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 445c4142-c58f-4366-8b88-a0ad3e048e5b
  155. else
  156. search --no-floppy --fs-uuid --set=root 445c4142-c58f-4366-8b88-a0ad3e048e5b
  157. fi
  158. echo 'Загружается Linux 4.19rc2.0903.g60c1f89-1-MANJARO x64 …'
  159. linux /boot/vmlinuz-4.19-x86_64 root=UUID=445c4142-c58f-4366-8b88-a0ad3e048e5b rw resume=UUID=576303a7-0b2c-4585-b673-aea1e33b8aa4 nopti nospectre_v2 nospec_store_bypass_disable
  160. echo 'Загружается начальный виртуальный диск …'
  161. initrd /boot/initramfs-4.19-x86_64-fallback.img
  162. }
  163. menuentry 'Manjaro Linux (Kernel: 4.18.6-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.6-1-MANJARO x64-advanced-445c4142-c58f-4366-8b88-a0ad3e048e5b' {
  164. savedefault
  165. load_video
  166. set gfxpayload=keep
  167. insmod gzio
  168. insmod part_msdos
  169. insmod ext2
  170. set root='hd0,msdos1'
  171. if [ x$feature_platform_search_hint = xy ]; then
  172. 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 445c4142-c58f-4366-8b88-a0ad3e048e5b
  173. else
  174. search --no-floppy --fs-uuid --set=root 445c4142-c58f-4366-8b88-a0ad3e048e5b
  175. fi
  176. echo 'Загружается Linux 4.18.6-1-MANJARO x64 …'
  177. linux /boot/vmlinuz-4.18-x86_64 root=UUID=445c4142-c58f-4366-8b88-a0ad3e048e5b rw resume=UUID=576303a7-0b2c-4585-b673-aea1e33b8aa4 nopti nospectre_v2 nospec_store_bypass_disable
  178. echo 'Загружается начальный виртуальный диск …'
  179. initrd /boot/intel-ucode.img /boot/initramfs-4.18-x86_64.img
  180. }
  181. menuentry 'Manjaro Linux (Kernel: 4.18.6-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.18.6-1-MANJARO x64-fallback-445c4142-c58f-4366-8b88-a0ad3e048e5b' {
  182. load_video
  183. set gfxpayload=keep
  184. insmod gzio
  185. insmod part_msdos
  186. insmod ext2
  187. set root='hd0,msdos1'
  188. if [ x$feature_platform_search_hint = xy ]; then
  189. 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 445c4142-c58f-4366-8b88-a0ad3e048e5b
  190. else
  191. search --no-floppy --fs-uuid --set=root 445c4142-c58f-4366-8b88-a0ad3e048e5b
  192. fi
  193. echo 'Загружается Linux 4.18.6-1-MANJARO x64 …'
  194. linux /boot/vmlinuz-4.18-x86_64 root=UUID=445c4142-c58f-4366-8b88-a0ad3e048e5b rw resume=UUID=576303a7-0b2c-4585-b673-aea1e33b8aa4 nopti nospectre_v2 nospec_store_bypass_disable
  195. echo 'Загружается начальный виртуальный диск …'
  196. initrd /boot/initramfs-4.18-x86_64-fallback.img
  197. }
  198. menuentry 'Manjaro Linux (Kernel: 4.14.68-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.68-1-MANJARO x64-advanced-445c4142-c58f-4366-8b88-a0ad3e048e5b' {
  199. savedefault
  200. load_video
  201. set gfxpayload=keep
  202. insmod gzio
  203. insmod part_msdos
  204. insmod ext2
  205. set root='hd0,msdos1'
  206. if [ x$feature_platform_search_hint = xy ]; then
  207. 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 445c4142-c58f-4366-8b88-a0ad3e048e5b
  208. else
  209. search --no-floppy --fs-uuid --set=root 445c4142-c58f-4366-8b88-a0ad3e048e5b
  210. fi
  211. echo 'Загружается Linux 4.14.68-1-MANJARO x64 …'
  212. linux /boot/vmlinuz-4.14-x86_64 root=UUID=445c4142-c58f-4366-8b88-a0ad3e048e5b rw resume=UUID=576303a7-0b2c-4585-b673-aea1e33b8aa4 nopti nospectre_v2 nospec_store_bypass_disable
  213. echo 'Загружается начальный виртуальный диск …'
  214. initrd /boot/intel-ucode.img /boot/initramfs-4.14-x86_64.img
  215. }
  216. menuentry 'Manjaro Linux (Kernel: 4.14.68-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.14.68-1-MANJARO x64-fallback-445c4142-c58f-4366-8b88-a0ad3e048e5b' {
  217. load_video
  218. set gfxpayload=keep
  219. insmod gzio
  220. insmod part_msdos
  221. insmod ext2
  222. set root='hd0,msdos1'
  223. if [ x$feature_platform_search_hint = xy ]; then
  224. 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 445c4142-c58f-4366-8b88-a0ad3e048e5b
  225. else
  226. search --no-floppy --fs-uuid --set=root 445c4142-c58f-4366-8b88-a0ad3e048e5b
  227. fi
  228. echo 'Загружается Linux 4.14.68-1-MANJARO x64 …'
  229. linux /boot/vmlinuz-4.14-x86_64 root=UUID=445c4142-c58f-4366-8b88-a0ad3e048e5b rw resume=UUID=576303a7-0b2c-4585-b673-aea1e33b8aa4 nopti nospectre_v2 nospec_store_bypass_disable
  230. echo 'Загружается начальный виртуальный диск …'
  231. initrd /boot/initramfs-4.14-x86_64-fallback.img
  232. }
  233. }
  234.  
  235. ### END /etc/grub.d/10_linux ###
  236.  
  237. ### BEGIN /etc/grub.d/20_linux_xen ###
  238. ### END /etc/grub.d/20_linux_xen ###
  239.  
  240. ### BEGIN /etc/grub.d/30_os-prober ###
  241. ### END /etc/grub.d/30_os-prober ###
  242.  
  243. ### BEGIN /etc/grub.d/40_custom ###
  244. # This file provides an easy way to add custom menu entries. Simply type the
  245. # menu entries you want to add after this comment. Be careful not to change
  246. # the 'exec tail' line above.
  247. ### END /etc/grub.d/40_custom ###
  248.  
  249. ### BEGIN /etc/grub.d/41_custom ###
  250. if [ -f ${config_directory}/custom.cfg ]; then
  251. source ${config_directory}/custom.cfg
  252. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  253. source $prefix/custom.cfg;
  254. fi
  255. ### END /etc/grub.d/41_custom ###
  256.  
  257. ### BEGIN /etc/grub.d/60_memtest86+ ###
  258. if [ "${grub_platform}" == "pc" ]; then
  259. menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
  260. search --fs-uuid --no-floppy --set=root --hint-ieee1275='ieee1275//disk@0,msdos1' --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 445c4142-c58f-4366-8b88-a0ad3e048e5b
  261. linux16 /boot/memtest86+/memtest.bin
  262. }
  263. fi
  264. ### END /etc/grub.d/60_memtest86+ ###
Advertisement
Add Comment
Please, Sign In to add comment