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="${saved_entry}"
|
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=green/black
|
62 |
|
63 | if [ x$feature_default_font_path = xy ] ; then
|
64 | font=unicode
|
65 | else
|
66 | insmod part_gpt
|
67 | insmod ext2
|
68 | if [ x$feature_platform_search_hint = xy ]; then
|
69 | search --no-floppy --fs-uuid --set=root 7931c35b-5623-43bd-8a52-3bdbdf09483b
|
70 | else
|
71 | search --no-floppy --fs-uuid --set=root 7931c35b-5623-43bd-8a52-3bdbdf09483b
|
72 | fi
|
73 | font="/usr/share/grub/unicode.pf2"
|
74 | fi
|
75 |
|
76 | if loadfont $font ; then
|
77 | set gfxmode=auto
|
78 | load_video
|
79 | insmod gfxterm
|
80 | set locale_dir=$prefix/locale
|
81 | set lang=en_US
|
82 | insmod gettext
|
83 | fi
|
84 | terminal_input console
|
85 | terminal_output gfxterm
|
86 | insmod part_gpt
|
87 | insmod ext2
|
88 | if [ x$feature_platform_search_hint = xy ]; then
|
89 | search --no-floppy --fs-uuid --set=root 7931c35b-5623-43bd-8a52-3bdbdf09483b
|
90 | else
|
91 | search --no-floppy --fs-uuid --set=root 7931c35b-5623-43bd-8a52-3bdbdf09483b
|
92 | fi
|
93 | insmod gfxmenu
|
94 | loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_12.pf2
|
95 | loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_14.pf2
|
96 | loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_16.pf2
|
97 | loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_24.pf2
|
98 | loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_48.pf2
|
99 | loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_bold_16.pf2
|
100 | loadfont ($root)/usr/share/grub/themes/manjaro/dejavu_sans_mono_12.pf2
|
101 | loadfont ($root)/usr/share/grub/themes/manjaro/terminus-12.pf2
|
102 | loadfont ($root)/usr/share/grub/themes/manjaro/terminus-14.pf2
|
103 | loadfont ($root)/usr/share/grub/themes/manjaro/terminus-16.pf2
|
104 | loadfont ($root)/usr/share/grub/themes/manjaro/terminus-18.pf2
|
105 | loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b12.pf2
|
106 | loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b14.pf2
|
107 | loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b16.pf2
|
108 | loadfont ($root)/usr/share/grub/themes/manjaro/terminus-b18.pf2
|
109 | insmod png
|
110 | set theme=($root)/usr/share/grub/themes/manjaro/theme.txt
|
111 | export theme
|
112 | if [ x$feature_timeout_style = xy ] ; then
|
113 | set timeout_style=menu
|
114 | set timeout=5
|
115 | # Fallback normal timeout code in case the timeout_style feature is
|
116 | # unavailable.
|
117 | else
|
118 | set timeout=5
|
119 | fi
|
120 | ### END /etc/grub.d/00_header ###
|
121 |
|
122 | ### BEGIN /etc/grub.d/10_linux ###
|
123 | menuentry 'Manjaro Linux' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7931c35b-5623-43bd-8a52-3bdbdf09483b' {
|
124 | savedefault
|
125 | load_video
|
126 | set gfxpayload=keep
|
127 | insmod gzio
|
128 | insmod part_gpt
|
129 | insmod ext2
|
130 | if [ x$feature_platform_search_hint = xy ]; then
|
131 | search --no-floppy --fs-uuid --set=root 7931c35b-5623-43bd-8a52-3bdbdf09483b
|
132 | else
|
133 | search --no-floppy --fs-uuid --set=root 7931c35b-5623-43bd-8a52-3bdbdf09483b
|
134 | fi
|
135 | echo 'Loading Linux 4.17.5-1-MANJARO x64 ...'
|
136 | linux /boot/vmlinuz-4.17-x86_64 root=UUID=7931c35b-5623-43bd-8a52-3bdbdf09483b rw quiet
|
137 | echo 'Loading initial ramdisk ...'
|
138 | initrd /boot/intel-ucode.img /boot/initramfs-4.17-x86_64.img
|
139 | }
|
140 | submenu 'Advanced options for Manjaro Linux' $menuentry_id_option 'gnulinux-advanced-7931c35b-5623-43bd-8a52-3bdbdf09483b' {
|
141 | menuentry 'Manjaro Linux (Kernel: 4.17.5-1-MANJARO x64)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.17.5-1-MANJARO x64-advanced-7931c35b-5623-43bd-8a52-3bdbdf09483b' {
|
142 | savedefault
|
143 | load_video
|
144 | set gfxpayload=keep
|
145 | insmod gzio
|
146 | insmod part_gpt
|
147 | insmod ext2
|
148 | if [ x$feature_platform_search_hint = xy ]; then
|
149 | search --no-floppy --fs-uuid --set=root 7931c35b-5623-43bd-8a52-3bdbdf09483b
|
150 | else
|
151 | search --no-floppy --fs-uuid --set=root 7931c35b-5623-43bd-8a52-3bdbdf09483b
|
152 | fi
|
153 | echo 'Loading Linux 4.17.5-1-MANJARO x64 ...'
|
154 | linux /boot/vmlinuz-4.17-x86_64 root=UUID=7931c35b-5623-43bd-8a52-3bdbdf09483b rw quiet
|
155 | echo 'Loading initial ramdisk ...'
|
156 | initrd /boot/intel-ucode.img /boot/initramfs-4.17-x86_64.img
|
157 | }
|
158 | menuentry 'Manjaro Linux (Kernel: 4.17.5-1-MANJARO x64 - fallback initramfs)' --class manjaro --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-4.17.5-1-MANJARO x64-fallback-7931c35b-5623-43bd-8a52-3bdbdf09483b' {
|
159 | load_video
|
160 | set gfxpayload=keep
|
161 | insmod gzio
|
162 | insmod part_gpt
|
163 | insmod ext2
|
164 | if [ x$feature_platform_search_hint = xy ]; then
|
165 | search --no-floppy --fs-uuid --set=root 7931c35b-5623-43bd-8a52-3bdbdf09483b
|
166 | else
|
167 | search --no-floppy --fs-uuid --set=root 7931c35b-5623-43bd-8a52-3bdbdf09483b
|
168 | fi
|
169 | echo 'Loading Linux 4.17.5-1-MANJARO x64 ...'
|
170 | linux /boot/vmlinuz-4.17-x86_64 root=UUID=7931c35b-5623-43bd-8a52-3bdbdf09483b rw quiet
|
171 | echo 'Loading initial ramdisk ...'
|
172 | initrd /boot/initramfs-4.17-x86_64-fallback.img
|
173 | }
|
174 | }
|
175 |
|
176 | ### END /etc/grub.d/10_linux ###
|
177 |
|
178 | ### BEGIN /etc/grub.d/20_linux_xen ###
|
179 | ### END /etc/grub.d/20_linux_xen ###
|
180 |
|
181 | ### BEGIN /etc/grub.d/30_os-prober ###
|
182 | menuentry 'Windows Boot Manager (on /dev/sda2)' --class windows --class os $menuentry_id_option 'osprober-efi-ACE6-9790' {
|
183 | savedefault
|
184 | insmod part_gpt
|
185 | insmod fat
|
186 | set root='hd0,gpt2'
|
187 | if [ x$feature_platform_search_hint = xy ]; then
|
188 | search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,gpt2' --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 ACE6-9790
|
189 | else
|
190 | search --no-floppy --fs-uuid --set=root ACE6-9790
|
191 | fi
|
192 | chainloader /efi/Microsoft/Boot/bootmgfw.efi
|
193 | }
|
194 | ### END /etc/grub.d/30_os-prober ###
|
195 |
|
196 | ### BEGIN /etc/grub.d/40_custom ###
|
197 | # This file provides an easy way to add custom menu entries. Simply type the
|
198 | # menu entries you want to add after this comment. Be careful not to change
|
199 | # the 'exec tail' line above.
|
200 | ### END /etc/grub.d/40_custom ###
|
201 |
|
202 | ### BEGIN /etc/grub.d/41_custom ###
|
203 | if [ -f ${config_directory}/custom.cfg ]; then
|
204 | source ${config_directory}/custom.cfg
|
205 | elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
|
206 | source $prefix/custom.cfg;
|
207 | fi
|
208 | ### END /etc/grub.d/41_custom ###
|
209 |
|
210 | ### BEGIN /etc/grub.d/60_memtest86+ ###
|
211 | if [ "${grub_platform}" == "pc" ]; then
|
212 | menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
|
213 | search --fs-uuid --no-floppy --set=root 7931c35b-5623-43bd-8a52-3bdbdf09483b
|
214 | linux16 /boot/memtest86+/memtest.bin
|
215 | }
|
216 | fi
|
217 | ### END /etc/grub.d/60_memtest86+ ###
|