Annotation of /trunk/grubby/test/grub2.20
Parent Directory | Revision Log
Revision 3140 -
(hide annotations)
(download)
Tue Jul 7 11:13:24 2020 UTC (4 years, 2 months ago) by niro
File size: 3473 byte(s)
Tue Jul 7 11:13:24 2020 UTC (4 years, 2 months ago) by niro
File size: 3473 byte(s)
Add tests for btrfs support
1 | niro | 3140 | # |
2 | # DO NOT EDIT THIS FILE | ||
3 | # | ||
4 | # It is automatically generated by grub2-mkconfig using templates | ||
5 | # from /etc/grub.d and settings from /etc/default/grub | ||
6 | # | ||
7 | |||
8 | ### BEGIN /etc/grub.d/00_header ### | ||
9 | set pager=1 | ||
10 | |||
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 | terminal_output console | ||
61 | if [ x$feature_timeout_style = xy ] ; then | ||
62 | set timeout_style=menu | ||
63 | set timeout=15 | ||
64 | # Fallback normal timeout code in case the timeout_style feature is | ||
65 | # unavailable. | ||
66 | else | ||
67 | set timeout=15 | ||
68 | fi | ||
69 | ### END /etc/grub.d/00_header ### | ||
70 | |||
71 | ### BEGIN /etc/grub.d/10_linux ### | ||
72 | menuentry 'Fedora, with Linux 3.15.0-0.rc7.git2.1.fc21.x86_64' --class gnu-linux --class gnu --class os { | ||
73 | load_video | ||
74 | set gfxpayload=keep | ||
75 | insmod gzio | ||
76 | insmod part_msdos | ||
77 | insmod btrfs | ||
78 | set root='hd0,msdos1' | ||
79 | if [ x$feature_platform_search_hint = xy ]; then | ||
80 | search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' 1bab15a4-93ce-4373-8d7d-b77f907fd0c6 | ||
81 | else | ||
82 | search --no-floppy --fs-uuid --set=root 1bab15a4-93ce-4373-8d7d-b77f907fd0c6 | ||
83 | fi | ||
84 | linux16 /boot6/vmlinuz-3.15.0-0.rc7.git2.1.fc21.x86_64 root=UUID=1bab15a4-93ce-4373-8d7d-b77f907fd0c6 ro rootflags=subvol=root6 rhgb quiet | ||
85 | initrd16 /boot6/initramfs-3.15.0-0.rc7.git2.1.fc21.x86_64.img | ||
86 | } | ||
87 | menuentry 'Fedora, with Linux 0-rescue-81378818f7a24478b496ebef90e1dd69' --class gnu-linux --class gnu --class os { | ||
88 | load_video | ||
89 | insmod gzio | ||
90 | insmod part_msdos | ||
91 | insmod btrfs | ||
92 | set root='hd0,msdos1' | ||
93 | if [ x$feature_platform_search_hint = xy ]; then | ||
94 | search --no-floppy --fs-uuid --set=root --hint='hd0,msdos1' 1bab15a4-93ce-4373-8d7d-b77f907fd0c6 | ||
95 | else | ||
96 | search --no-floppy --fs-uuid --set=root 1bab15a4-93ce-4373-8d7d-b77f907fd0c6 | ||
97 | fi | ||
98 | linux16 /boot6/vmlinuz-0-rescue-81378818f7a24478b496ebef90e1dd69 root=UUID=1bab15a4-93ce-4373-8d7d-b77f907fd0c6 ro rootflags=subvol=root6 rhgb quiet | ||
99 | initrd16 /boot6/initramfs-0-rescue-81378818f7a24478b496ebef90e1dd69.img | ||
100 | } | ||
101 | |||
102 | ### END /etc/grub.d/10_linux ### | ||
103 | |||
104 | ### BEGIN /etc/grub.d/20_linux_xen ### | ||
105 | |||
106 | ### END /etc/grub.d/20_linux_xen ### | ||
107 | |||
108 | ### BEGIN /etc/grub.d/20_ppc_terminfo ### | ||
109 | ### END /etc/grub.d/20_ppc_terminfo ### | ||
110 | |||
111 | ### BEGIN /etc/grub.d/30_os-prober ### | ||
112 | ### END /etc/grub.d/30_os-prober ### | ||
113 | |||
114 | ### BEGIN /etc/grub.d/40_custom ### | ||
115 | # This file provides an easy way to add custom menu entries. Simply type the | ||
116 | # menu entries you want to add after this comment. Be careful not to change | ||
117 | # the 'exec tail' line above. | ||
118 | ### END /etc/grub.d/40_custom ### | ||
119 | |||
120 | ### BEGIN /etc/grub.d/41_custom ### | ||
121 | if [ -f ${config_directory}/custom.cfg ]; then | ||
122 | source ${config_directory}/custom.cfg | ||
123 | elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then | ||
124 | source $prefix/custom.cfg; | ||
125 | fi | ||
126 | ### END /etc/grub.d/41_custom ### |