SHOW:
|
|
- or go back to the newest paste.
1 | /* | |
2 | ||
3 | # grub2-mkconfig -o /boot/grub2/grub.cfg | |
4 | Generating grub.cfg ... | |
5 | Found theme: /boot/grub2/themes/openSUSE/theme.txt | |
6 | Found linux image: /boot/vmlinuz-3.7.10-1.16-desktop | |
7 | Found initrd image: /boot/initrd-3.7.10-1.16-desktop | |
8 | Found linux image: /boot/vmlinuz-3.7.10-1.16-default | |
9 | Found initrd image: /boot/initrd-3.7.10-1.16-default | |
10 | Found linux image: /boot/vmlinuz-3.7.10-1.1-desktop | |
11 | Found initrd image: /boot/initrd-3.7.10-1.1-desktop | |
12 | No volume groups found | |
13 | Found Ubuntu 13.10 (13.10) on /dev/sda1 | |
14 | done | |
15 | dave | |
16 | ||
17 | */ | |
18 | ||
19 | /boot/grub2/grub.cfg | |
20 | ||
21 | # | |
22 | # DO NOT EDIT THIS FILE | |
23 | # | |
24 | # It is automatically generated by grub2-mkconfig using templates | |
25 | # from /etc/grub.d and settings from /etc/default/grub | |
26 | # | |
27 | ||
28 | ### BEGIN /etc/grub.d/00_header ### | |
29 | if [ -s $prefix/grubenv ]; then | |
30 | load_env | |
31 | fi | |
32 | set default="${saved_entry}" | |
33 | ||
34 | if [ x"${feature_menuentry_id}" = xy ]; then | |
35 | menuentry_id_option="--id" | |
36 | else | |
37 | menuentry_id_option="" | |
38 | fi | |
39 | ||
40 | export menuentry_id_option | |
41 | ||
42 | if [ "${prev_saved_entry}" ]; then | |
43 | set saved_entry="${prev_saved_entry}" | |
44 | save_env saved_entry | |
45 | set prev_saved_entry= | |
46 | save_env prev_saved_entry | |
47 | set boot_once=true | |
48 | fi | |
49 | ||
50 | function savedefault { | |
51 | if [ -z "${boot_once}" ]; then | |
52 | saved_entry="${chosen}" | |
53 | save_env saved_entry | |
54 | fi | |
55 | } | |
56 | ||
57 | function load_video { | |
58 | if [ x$feature_all_video_module = xy ]; then | |
59 | insmod all_video | |
60 | else | |
61 | insmod efi_gop | |
62 | insmod efi_uga | |
63 | insmod ieee1275_fb | |
64 | insmod vbe | |
65 | insmod vga | |
66 | insmod video_bochs | |
67 | insmod video_cirrus | |
68 | fi | |
69 | } | |
70 | ||
71 | if [ x$feature_default_font_path = xy ] ; then | |
72 | font=unicode | |
73 | else | |
74 | insmod part_gpt | |
75 | insmod ext2 | |
76 | set root='hd0,gpt9' | |
77 | if [ x$feature_platform_search_hint = xy ]; then | |
78 | search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 fd816bcc-251b-4528-a6b5-93c6dff208ef | |
79 | else | |
80 | search --no-floppy --fs-uuid --set=root fd816bcc-251b-4528-a6b5-93c6dff208ef | |
81 | fi | |
82 | font="/usr/share/grub2/unicode.pf2" | |
83 | fi | |
84 | ||
85 | if loadfont $font ; then | |
86 | set gfxmode=auto | |
87 | load_video | |
88 | insmod gfxterm | |
89 | set locale_dir=$prefix/locale | |
90 | set lang=en_US | |
91 | insmod gettext | |
92 | fi | |
93 | terminal_output gfxterm | |
94 | insmod part_gpt | |
95 | insmod ext2 | |
96 | set root='hd0,gpt9' | |
97 | if [ x$feature_platform_search_hint = xy ]; then | |
98 | search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 fd816bcc-251b-4528-a6b5-93c6dff208ef | |
99 | else | |
100 | search --no-floppy --fs-uuid --set=root fd816bcc-251b-4528-a6b5-93c6dff208ef | |
101 | fi | |
102 | insmod gfxmenu | |
103 | loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2 | |
104 | loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2 | |
105 | loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2 | |
106 | loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2 | |
107 | insmod png | |
108 | set theme=($root)/boot/grub2/themes/openSUSE/theme.txt | |
109 | export theme | |
110 | if [ x${boot_once} = xtrue ]; then | |
111 | set timeout=0 | |
112 | elif sleep --interruptible 0 ; then | |
113 | set timeout=8 | |
114 | fi | |
115 | ### END /etc/grub.d/00_header ### | |
116 | ||
117 | ### BEGIN /etc/grub.d/10_linux ### | |
118 | menuentry 'openSUSE 12.3' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-fd816bcc-251b-4528-a6b5-93c6dff208ef' { | |
119 | load_video | |
120 | set gfxpayload=keep | |
121 | insmod gzio | |
122 | insmod part_gpt | |
123 | insmod ext2 | |
124 | set root='hd0,gpt9' | |
125 | if [ x$feature_platform_search_hint = xy ]; then | |
126 | search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 fd816bcc-251b-4528-a6b5-93c6dff208ef | |
127 | else | |
128 | search --no-floppy --fs-uuid --set=root fd816bcc-251b-4528-a6b5-93c6dff208ef | |
129 | fi | |
130 | echo 'Loading Linux 3.7.10-1.16-desktop ...' | |
131 | linuxefi /boot/vmlinuz-3.7.10-1.16-desktop root=UUID=fd816bcc-251b-4528-a6b5-93c6dff208ef ro quiet splash=silent | |
132 | echo 'Loading initial ramdisk ...' | |
133 | initrdefi /boot/initrd-3.7.10-1.16-desktop | |
134 | } | |
135 | submenu 'Advanced options for openSUSE 12.3' $menuentry_id_option 'gnulinux-advanced-fd816bcc-251b-4528-a6b5-93c6dff208ef' { | |
136 | menuentry 'openSUSE 12.3, with Linux 3.7.10-1.16-desktop' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.7.10-1.16-desktop-advanced-fd816bcc-251b-4528-a6b5-93c6dff208ef' { | |
137 | load_video | |
138 | set gfxpayload=keep | |
139 | insmod gzio | |
140 | insmod part_gpt | |
141 | insmod ext2 | |
142 | set root='hd0,gpt9' | |
143 | if [ x$feature_platform_search_hint = xy ]; then | |
144 | search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 fd816bcc-251b-4528-a6b5-93c6dff208ef | |
145 | else | |
146 | search --no-floppy --fs-uuid --set=root fd816bcc-251b-4528-a6b5-93c6dff208ef | |
147 | fi | |
148 | echo 'Loading Linux 3.7.10-1.16-desktop ...' | |
149 | linuxefi /boot/vmlinuz-3.7.10-1.16-desktop root=UUID=fd816bcc-251b-4528-a6b5-93c6dff208ef ro quiet splash=silent | |
150 | echo 'Loading initial ramdisk ...' | |
151 | initrdefi /boot/initrd-3.7.10-1.16-desktop | |
152 | } | |
153 | menuentry 'openSUSE 12.3, with Linux 3.7.10-1.16-desktop (recovery mode)' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.7.10-1.16-desktop-recovery-fd816bcc-251b-4528-a6b5-93c6dff208ef' { | |
154 | load_video | |
155 | set gfxpayload=keep | |
156 | insmod gzio | |
157 | insmod part_gpt | |
158 | insmod ext2 | |
159 | set root='hd0,gpt9' | |
160 | if [ x$feature_platform_search_hint = xy ]; then | |
161 | search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 fd816bcc-251b-4528-a6b5-93c6dff208ef | |
162 | else | |
163 | search --no-floppy --fs-uuid --set=root fd816bcc-251b-4528-a6b5-93c6dff208ef | |
164 | fi | |
165 | echo 'Loading Linux 3.7.10-1.16-desktop ...' | |
166 | linuxefi /boot/vmlinuz-3.7.10-1.16-desktop root=UUID=fd816bcc-251b-4528-a6b5-93c6dff208ef ro showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe | |
167 | echo 'Loading initial ramdisk ...' | |
168 | initrdefi /boot/initrd-3.7.10-1.16-desktop | |
169 | } | |
170 | menuentry 'openSUSE 12.3, with Linux 3.7.10-1.16-default' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.7.10-1.16-default-advanced-fd816bcc-251b-4528-a6b5-93c6dff208ef' { | |
171 | load_video | |
172 | set gfxpayload=keep | |
173 | insmod gzio | |
174 | insmod part_gpt | |
175 | insmod ext2 | |
176 | set root='hd0,gpt9' | |
177 | if [ x$feature_platform_search_hint = xy ]; then | |
178 | search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 fd816bcc-251b-4528-a6b5-93c6dff208ef | |
179 | else | |
180 | search --no-floppy --fs-uuid --set=root fd816bcc-251b-4528-a6b5-93c6dff208ef | |
181 | fi | |
182 | echo 'Loading Linux 3.7.10-1.16-default ...' | |
183 | linuxefi /boot/vmlinuz-3.7.10-1.16-default root=UUID=fd816bcc-251b-4528-a6b5-93c6dff208ef ro quiet splash=silent | |
184 | echo 'Loading initial ramdisk ...' | |
185 | initrdefi /boot/initrd-3.7.10-1.16-default | |
186 | } | |
187 | menuentry 'openSUSE 12.3, with Linux 3.7.10-1.16-default (recovery mode)' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.7.10-1.16-default-recovery-fd816bcc-251b-4528-a6b5-93c6dff208ef' { | |
188 | load_video | |
189 | set gfxpayload=keep | |
190 | insmod gzio | |
191 | insmod part_gpt | |
192 | insmod ext2 | |
193 | set root='hd0,gpt9' | |
194 | if [ x$feature_platform_search_hint = xy ]; then | |
195 | search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 fd816bcc-251b-4528-a6b5-93c6dff208ef | |
196 | else | |
197 | search --no-floppy --fs-uuid --set=root fd816bcc-251b-4528-a6b5-93c6dff208ef | |
198 | fi | |
199 | echo 'Loading Linux 3.7.10-1.16-default ...' | |
200 | linuxefi /boot/vmlinuz-3.7.10-1.16-default root=UUID=fd816bcc-251b-4528-a6b5-93c6dff208ef ro showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe | |
201 | echo 'Loading initial ramdisk ...' | |
202 | initrdefi /boot/initrd-3.7.10-1.16-default | |
203 | } | |
204 | menuentry 'openSUSE 12.3, with Linux 3.7.10-1.1-desktop' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.7.10-1.1-desktop-advanced-fd816bcc-251b-4528-a6b5-93c6dff208ef' { | |
205 | load_video | |
206 | set gfxpayload=keep | |
207 | insmod gzio | |
208 | insmod part_gpt | |
209 | insmod ext2 | |
210 | set root='hd0,gpt9' | |
211 | if [ x$feature_platform_search_hint = xy ]; then | |
212 | search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 fd816bcc-251b-4528-a6b5-93c6dff208ef | |
213 | else | |
214 | search --no-floppy --fs-uuid --set=root fd816bcc-251b-4528-a6b5-93c6dff208ef | |
215 | fi | |
216 | echo 'Loading Linux 3.7.10-1.1-desktop ...' | |
217 | linuxefi /boot/vmlinuz-3.7.10-1.1-desktop root=UUID=fd816bcc-251b-4528-a6b5-93c6dff208ef ro quiet splash=silent | |
218 | echo 'Loading initial ramdisk ...' | |
219 | initrdefi /boot/initrd-3.7.10-1.1-desktop | |
220 | } | |
221 | menuentry 'openSUSE 12.3, with Linux 3.7.10-1.1-desktop (recovery mode)' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.7.10-1.1-desktop-recovery-fd816bcc-251b-4528-a6b5-93c6dff208ef' { | |
222 | load_video | |
223 | set gfxpayload=keep | |
224 | insmod gzio | |
225 | insmod part_gpt | |
226 | insmod ext2 | |
227 | set root='hd0,gpt9' | |
228 | if [ x$feature_platform_search_hint = xy ]; then | |
229 | search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt9 --hint-efi=hd0,gpt9 --hint-baremetal=ahci0,gpt9 fd816bcc-251b-4528-a6b5-93c6dff208ef | |
230 | else | |
231 | search --no-floppy --fs-uuid --set=root fd816bcc-251b-4528-a6b5-93c6dff208ef | |
232 | fi | |
233 | echo 'Loading Linux 3.7.10-1.1-desktop ...' | |
234 | linuxefi /boot/vmlinuz-3.7.10-1.1-desktop root=UUID=fd816bcc-251b-4528-a6b5-93c6dff208ef ro showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe | |
235 | echo 'Loading initial ramdisk ...' | |
236 | initrdefi /boot/initrd-3.7.10-1.1-desktop | |
237 | } | |
238 | } | |
239 | ||
240 | ### END /etc/grub.d/10_linux ### | |
241 | ||
242 | ### BEGIN /etc/grub.d/20_linux_xen ### | |
243 | ### END /etc/grub.d/20_linux_xen ### | |
244 | ||
245 | ### BEGIN /etc/grub.d/20_memtest86+ ### | |
246 | ### END /etc/grub.d/20_memtest86+ ### | |
247 | ||
248 | ### BEGIN /etc/grub.d/20_ppc_terminfo ### | |
249 | ### END /etc/grub.d/20_ppc_terminfo ### | |
250 | ||
251 | ### BEGIN /etc/grub.d/30_os-prober ### | |
252 | menuentry 'Ubuntu 13.10 (13.10) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-3d390217-832c-4ce3-a25b-2f89fc3dcc4e' { | |
253 | insmod part_gpt | |
254 | insmod ext2 | |
255 | set root='hd0,gpt1' | |
256 | if [ x$feature_platform_search_hint = xy ]; then | |
257 | search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 3d390217-832c-4ce3-a25b-2f89fc3dcc4e | |
258 | else | |
259 | search --no-floppy --fs-uuid --set=root 3d390217-832c-4ce3-a25b-2f89fc3dcc4e | |
260 | fi | |
261 | linuxefi /boot/vmlinuz-3.11.0-12-generic root=UUID=3d390217-832c-4ce3-a25b-2f89fc3dcc4e ro quiet splash $vt_handoff | |
262 | initrdefi /boot/initrd.img-3.11.0-12-generic | |
263 | } | |
264 | submenu 'Advanced options for Ubuntu 13.10 (13.10) (on /dev/sda1)' $menuentry_id_option 'osprober-gnulinux-advanced-3d390217-832c-4ce3-a25b-2f89fc3dcc4e' { | |
265 | menuentry 'Ubuntu (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.11.0-12-generic--3d390217-832c-4ce3-a25b-2f89fc3dcc4e' { | |
266 | insmod part_gpt | |
267 | insmod ext2 | |
268 | set root='hd0,gpt1' | |
269 | if [ x$feature_platform_search_hint = xy ]; then | |
270 | search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 3d390217-832c-4ce3-a25b-2f89fc3dcc4e | |
271 | else | |
272 | search --no-floppy --fs-uuid --set=root 3d390217-832c-4ce3-a25b-2f89fc3dcc4e | |
273 | fi | |
274 | linuxefi /boot/vmlinuz-3.11.0-12-generic root=UUID=3d390217-832c-4ce3-a25b-2f89fc3dcc4e ro quiet splash $vt_handoff | |
275 | initrdefi /boot/initrd.img-3.11.0-12-generic | |
276 | } | |
277 | menuentry 'Ubuntu, with Linux 3.11.0-12-generic (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.11.0-12-generic--3d390217-832c-4ce3-a25b-2f89fc3dcc4e' { | |
278 | insmod part_gpt | |
279 | insmod ext2 | |
280 | set root='hd0,gpt1' | |
281 | if [ x$feature_platform_search_hint = xy ]; then | |
282 | search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 3d390217-832c-4ce3-a25b-2f89fc3dcc4e | |
283 | else | |
284 | search --no-floppy --fs-uuid --set=root 3d390217-832c-4ce3-a25b-2f89fc3dcc4e | |
285 | fi | |
286 | linuxefi /boot/vmlinuz-3.11.0-12-generic root=UUID=3d390217-832c-4ce3-a25b-2f89fc3dcc4e ro quiet splash $vt_handoff | |
287 | initrdefi /boot/initrd.img-3.11.0-12-generic | |
288 | } | |
289 | menuentry 'Ubuntu, with Linux 3.11.0-12-generic (recovery mode) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-3.11.0-12-generic--3d390217-832c-4ce3-a25b-2f89fc3dcc4e' { | |
290 | insmod part_gpt | |
291 | insmod ext2 | |
292 | set root='hd0,gpt1' | |
293 | if [ x$feature_platform_search_hint = xy ]; then | |
294 | search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 3d390217-832c-4ce3-a25b-2f89fc3dcc4e | |
295 | else | |
296 | search --no-floppy --fs-uuid --set=root 3d390217-832c-4ce3-a25b-2f89fc3dcc4e | |
297 | fi | |
298 | linuxefi /boot/vmlinuz-3.11.0-12-generic root=UUID=3d390217-832c-4ce3-a25b-2f89fc3dcc4e ro recovery nomodeset | |
299 | initrdefi /boot/initrd.img-3.11.0-12-generic | |
300 | } | |
301 | } | |
302 | ||
303 | ### END /etc/grub.d/30_os-prober ### | |
304 | ||
305 | ### BEGIN /etc/grub.d/40_custom ### | |
306 | # This file provides an easy way to add custom menu entries. Simply type the | |
307 | # menu entries you want to add after this comment. Be careful not to change | |
308 | # the 'exec tail' line above. | |
309 | ||
310 | ### END /etc/grub.d/40_custom ### | |
311 | ||
312 | ### BEGIN /etc/grub.d/41_custom ### | |
313 | if [ -f ${config_directory}/custom.cfg ]; then | |
314 | source ${config_directory}/custom.cfg | |
315 | elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then | |
316 | source $prefix/custom.cfg; | |
317 | fi | |
318 | ### END /etc/grub.d/41_custom ### | |
319 | ||
320 | ### BEGIN /etc/grub.d/90_persistent ### | |
321 | ### END /etc/grub.d/90_persistent ### |