Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.66 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. insmod part_gpt
  10. insmod part_msdos
  11. if [ -s $prefix/grubenv ]; then
  12. load_env
  13. fi
  14. if [ "${next_entry}" ] ; then
  15. set default="${next_entry}"
  16. set next_entry=
  17. save_env next_entry
  18. set boot_once=true
  19. else
  20. set default="Microsoft Windows 10 Pro"
  21. fi
  22.  
  23. if [ x"${feature_menuentry_id}" = xy ]; then
  24. menuentry_id_option="--id"
  25. else
  26. menuentry_id_option=""
  27. fi
  28.  
  29. export menuentry_id_option
  30.  
  31. if [ "${prev_saved_entry}" ]; then
  32. set saved_entry="${prev_saved_entry}"
  33. save_env saved_entry
  34. set prev_saved_entry=
  35. save_env prev_saved_entry
  36. set boot_once=true
  37. fi
  38.  
  39. function savedefault {
  40. if [ -z "${boot_once}" ]; then
  41. saved_entry="${chosen}"
  42. save_env saved_entry
  43. fi
  44. }
  45.  
  46. function load_video {
  47. if [ x$feature_all_video_module = xy ]; then
  48. insmod all_video
  49. else
  50. insmod efi_gop
  51. insmod efi_uga
  52. insmod ieee1275_fb
  53. insmod vbe
  54. insmod vga
  55. insmod video_bochs
  56. insmod video_cirrus
  57. fi
  58. }
  59.  
  60. set menu_color_normal=light-gray/black
  61. set menu_color_highlight=black/white
  62.  
  63. if [ x$feature_default_font_path = xy ] ; then
  64. font=unicode
  65. else
  66. insmod part_gpt
  67. insmod ext2
  68. set root='hd0,gpt28'
  69. if [ x$feature_platform_search_hint = xy ]; then
  70. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt28 --hint-efi=hd1,gpt28 --hint-baremetal=ahci1,gpt28 --hint='hd0,gpt28' 72bdb46d-f8bf-48ce-9121-6ee58f7925b0
  71. else
  72. search --no-floppy --fs-uuid --set=root 72bdb46d-f8bf-48ce-9121-6ee58f7925b0
  73. fi
  74. font="/usr/share/grub/unicode.pf2"
  75. fi
  76.  
  77. if loadfont $font ; then
  78. set gfxmode=auto
  79. load_video
  80. insmod gfxterm
  81. set locale_dir=$prefix/locale
  82. set lang=en_US
  83. insmod gettext
  84. fi
  85. terminal_input console
  86. terminal_output gfxterm
  87. insmod part_gpt
  88. insmod ext2
  89. set root='hd0,gpt28'
  90. if [ x$feature_platform_search_hint = xy ]; then
  91. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt28 --hint-efi=hd1,gpt28 --hint-baremetal=ahci1,gpt28 --hint='hd0,gpt28' 72bdb46d-f8bf-48ce-9121-6ee58f7925b0
  92. else
  93. search --no-floppy --fs-uuid --set=root 72bdb46d-f8bf-48ce-9121-6ee58f7925b0
  94. fi
  95. insmod gfxmenu
  96. loadfont ($root)/boot/grub/themes/arch-suse_mod/ascii.pf2
  97. loadfont ($root)/boot/grub/themes/arch-suse_mod/DejaVuSans10.pf2
  98. loadfont ($root)/boot/grub/themes/arch-suse_mod/DejaVuSans12.pf2
  99. loadfont ($root)/boot/grub/themes/arch-suse_mod/DejaVuSans-Bold14.pf2
  100. insmod png
  101. set theme=($root)/boot/grub/themes/arch-suse_mod/theme.txt
  102. export theme
  103. if [ x$feature_timeout_style = xy ] ; then
  104. set timeout_style=menu
  105. set timeout=3
  106. # Fallback normal timeout code in case the timeout_style feature is
  107. # unavailable.
  108. else
  109. set timeout=3
  110. fi
  111. ### END /etc/grub.d/00_header ###
  112.  
  113. ### BEGIN /etc/grub.d/10_linux_proxy ###
  114. ### END /etc/grub.d/10_linux_proxy ###
  115.  
  116. ### BEGIN /etc/grub.d/11_linux_proxy ###
  117.  
  118.  
  119.  
  120.  
  121. ### END /etc/grub.d/11_linux_proxy ###
  122.  
  123. ### BEGIN /etc/grub.d/30_os-prober ###
  124. ### END /etc/grub.d/30_os-prober ###
  125.  
  126. ### BEGIN /etc/grub.d/40_custom_proxy ###
  127. menuentry "Microsoft Windows 10 Pro" --class windows --class os $menuentry_id_option 'osprober-efi-388C-A863' {
  128. insmod part_gpt
  129. insmod fat
  130. set root='hd1,gpt2'
  131. if [ x$feature_platform_search_hint = xy ]; then
  132. search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 --hint='hd1,gpt2' 388C-A863
  133. else
  134. search --no-floppy --fs-uuid --set=root 388C-A863
  135. fi
  136. chainloader /EFI/Microsoft/Boot/bootmgfw.efi
  137. }
  138. menuentry "Chromium OS (/dev/sdb18)" --class linux --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-00000000-0000-0000-0000-000000000000' {
  139. insmod part_gpt
  140. insmod ext2
  141. set root='hd0,gpt18'
  142. if [ x$feature_platform_search_hint = xy ]; then
  143. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt18 --hint-efi=hd1,gpt18 --hint-baremetal=ahci1,gpt18 --hint='hd0,gpt18' 00000000-0000-0000-0000-000000000000
  144. else
  145. search --no-floppy --fs-uuid --set=root 00000000-0000-0000-0000-000000000000
  146. fi
  147. linux /boot/vmlinuz root=/dev/sdb18
  148. }
  149. menuentry "Chromium OS (/dev/sdb20)" --class linux --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-00000000-0000-0000-0000-000000000000' {
  150. insmod part_gpt
  151. insmod ext2
  152. set root='hd0,gpt20'
  153. if [ x$feature_platform_search_hint = xy ]; then
  154. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt20 --hint-efi=hd1,gpt20 --hint-baremetal=ahci1,gpt20 --hint='hd0,gpt20' 00000000-0000-0000-0000-000000000000
  155. else
  156. search --no-floppy --fs-uuid --set=root 00000000-0000-0000-0000-000000000000
  157. fi
  158. linux /boot/vmlinuz root=/dev/sdb20
  159. }
  160. ### END /etc/grub.d/40_custom_proxy ###
  161.  
  162. ### BEGIN /etc/grub.d/41_linux_xen ###
  163. ### END /etc/grub.d/41_linux_xen ###
  164.  
  165. ### BEGIN /etc/grub.d/42_custom_proxy ###
  166.  
  167. # This file provides an easy way to add custom menu entries. Simply type the
  168. # menu entries you want to add after this comment. Be careful not to change
  169. # the 'exec tail' line above.
  170.  
  171.  
  172.  
  173.  
  174.  
  175. ### END /etc/grub.d/42_custom_proxy ###
  176.  
  177. ### BEGIN /etc/grub.d/43_custom ###
  178. if [ -f ${config_directory}/custom.cfg ]; then
  179. source ${config_directory}/custom.cfg
  180. elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
  181. source $prefix/custom.cfg;
  182. fi
  183. ### END /etc/grub.d/43_custom ###
  184.  
  185. ### BEGIN /etc/grub.d/44_grub-customizer_menu_color_helper ###
  186. ### END /etc/grub.d/44_grub-customizer_menu_color_helper ###
  187.  
  188. ### BEGIN /etc/grub.d/45_linux_proxy ###
  189. menuentry "Arch Linux, with Linux linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-72bdb46d-f8bf-48ce-9121-6ee58f7925b0' {
  190. load_video
  191. set gfxpayload=keep
  192. insmod gzio
  193. insmod part_gpt
  194. insmod ext2
  195. set root='hd0,gpt28'
  196. if [ x$feature_platform_search_hint = xy ]; then
  197. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt28 --hint-efi=hd1,gpt28 --hint-baremetal=ahci1,gpt28 --hint='hd0,gpt28' 72bdb46d-f8bf-48ce-9121-6ee58f7925b0
  198. else
  199. search --no-floppy --fs-uuid --set=root 72bdb46d-f8bf-48ce-9121-6ee58f7925b0
  200. fi
  201. echo 'Loading Linux linux ...'
  202. linux /boot/vmlinuz-linux root=/dev/sdb28 rw quiet
  203. echo 'Loading initial ramdisk ...'
  204. initrd /boot/initramfs-linux.img
  205. }
  206. menuentry "Arch Linux, with Linux linux (fallback initramfs)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-72bdb46d-f8bf-48ce-9121-6ee58f7925b0' {
  207. load_video
  208. set gfxpayload=keep
  209. insmod gzio
  210. insmod part_gpt
  211. insmod ext2
  212. set root='hd0,gpt28'
  213. if [ x$feature_platform_search_hint = xy ]; then
  214. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt28 --hint-efi=hd1,gpt28 --hint-baremetal=ahci1,gpt28 --hint='hd0,gpt28' 72bdb46d-f8bf-48ce-9121-6ee58f7925b0
  215. else
  216. search --no-floppy --fs-uuid --set=root 72bdb46d-f8bf-48ce-9121-6ee58f7925b0
  217. fi
  218. echo 'Loading Linux linux ...'
  219. linux /boot/vmlinuz-linux root=/dev/sdb28 rw quiet
  220. echo 'Loading initial ramdisk ...'
  221. initrd /boot/initramfs-linux-fallback.img
  222. }
  223. menuentry "Arch Linux, with Linux linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-72bdb46d-f8bf-48ce-9121-6ee58f7925b0' {
  224. load_video
  225. set gfxpayload=keep
  226. insmod gzio
  227. insmod part_gpt
  228. insmod ext2
  229. set root='hd0,gpt28'
  230. if [ x$feature_platform_search_hint = xy ]; then
  231. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt28 --hint-efi=hd1,gpt28 --hint-baremetal=ahci1,gpt28 --hint='hd0,gpt28' 72bdb46d-f8bf-48ce-9121-6ee58f7925b0
  232. else
  233. search --no-floppy --fs-uuid --set=root 72bdb46d-f8bf-48ce-9121-6ee58f7925b0
  234. fi
  235. echo 'Loading Linux linux ...'
  236. linux /vmlinuz-linux root=/dev/sdb28 rw quiet
  237. echo 'Loading initial ramdisk ...'
  238. initrd /initramfs-linux.img
  239. }
  240. menuentry "Arch Linux, with Linux linux (fallback initramfs)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-72bdb46d-f8bf-48ce-9121-6ee58f7925b0' {
  241. load_video
  242. set gfxpayload=keep
  243. insmod gzio
  244. insmod part_gpt
  245. insmod ext2
  246. set root='hd0,gpt28'
  247. if [ x$feature_platform_search_hint = xy ]; then
  248. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt28 --hint-efi=hd1,gpt28 --hint-baremetal=ahci1,gpt28 --hint='hd0,gpt28' 72bdb46d-f8bf-48ce-9121-6ee58f7925b0
  249. else
  250. search --no-floppy --fs-uuid --set=root 72bdb46d-f8bf-48ce-9121-6ee58f7925b0
  251. fi
  252. echo 'Loading Linux linux ...'
  253. linux /vmlinuz-linux root=/dev/sdb28 rw quiet
  254. echo 'Loading initial ramdisk ...'
  255. initrd /initramfs-linux-fallback.img
  256. }
  257. ### END /etc/grub.d/45_linux_proxy ###
  258.  
  259. ### BEGIN /etc/grub.d/46_custom_proxy ###
  260. menuentry "Arch Linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-72bdb46d-f8bf-48ce-9121-6ee58f7925b0' {
  261. load_video
  262. set gfxpayload=keep
  263. insmod gzio
  264. insmod part_gpt
  265. insmod ext2
  266. set root='hd0,gpt28'
  267. if [ x$feature_platform_search_hint = xy ]; then
  268. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt28 --hint-efi=hd1,gpt28 --hint-baremetal=ahci1,gpt28 --hint='hd0,gpt28' 72bdb46d-f8bf-48ce-9121-6ee58f7925b0
  269. else
  270. search --no-floppy --fs-uuid --set=root 72bdb46d-f8bf-48ce-9121-6ee58f7925b0
  271. fi
  272. echo 'Loading Linux linux ...'
  273. linux /boot/vmlinuz-linux root=UUID=72bdb46d-f8bf-48ce-9121-6ee58f7925b0 rw quiet
  274. echo 'Loading initial ramdisk ...'
  275. initrd /boot/initramfs-linux.img
  276. }
  277. ### END /etc/grub.d/46_custom_proxy ###
  278.  
  279. ### BEGIN /etc/grub.d/47_linux_proxy ###
  280. ### END /etc/grub.d/47_linux_proxy ###
  281.  
  282. ### BEGIN /etc/grub.d/48_custom_proxy ###
  283. submenu ">> Advanced options for Arch Linux"{
  284. menuentry "Arch Linux (fallback initramfs)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-72bdb46d-f8bf-48ce-9121-6ee58f7925b0' {
  285. load_video
  286. set gfxpayload=keep
  287. insmod gzio
  288. insmod part_gpt
  289. insmod ext2
  290. set root='hd0,gpt28'
  291. if [ x$feature_platform_search_hint = xy ]; then
  292. search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt28 --hint-efi=hd1,gpt28 --hint-baremetal=ahci1,gpt28 --hint='hd0,gpt28' 72bdb46d-f8bf-48ce-9121-6ee58f7925b0
  293. else
  294. search --no-floppy --fs-uuid --set=root 72bdb46d-f8bf-48ce-9121-6ee58f7925b0
  295. fi
  296. echo 'Loading Linux linux ...'
  297. linux /boot/vmlinuz-linux root=UUID=72bdb46d-f8bf-48ce-9121-6ee58f7925b0 rw quiet
  298. echo 'Loading initial ramdisk ...'
  299. initrd /boot/initramfs-linux-fallback.img
  300. }
  301. }
  302. ### END /etc/grub.d/48_custom_proxy ###
  303.  
  304. ### BEGIN /etc/grub.d/49_linux_proxy ###
  305. ### END /etc/grub.d/49_linux_proxy ###
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement