Magellan Linux

Contents of /trunk/grubby/test/results/add/g2-1.5

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1838 - (show annotations) (download)
Mon Jul 2 12:46:41 2012 UTC (11 years, 9 months ago) by niro
File size: 6221 byte(s)
Fix failures with grub 2.00~beta2 and 8.10, and add a test case.
1 #
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 if [ -s $prefix/grubenv ]; then
10 load_env
11 fi
12 set default="${saved_entry}"
13
14 if [ x"${feature_menuentry_id}" = xy ]; then
15 menuentry_id_option="--id"
16 else
17 menuentry_id_option=""
18 fi
19
20 export menuentry_id_option
21
22 if [ "${prev_saved_entry}" ]; then
23 set saved_entry="${prev_saved_entry}"
24 save_env saved_entry
25 set prev_saved_entry=
26 save_env prev_saved_entry
27 set boot_once=true
28 fi
29
30 function savedefault {
31 if [ -z "${boot_once}" ]; then
32 saved_entry="${chosen}"
33 save_env saved_entry
34 fi
35 }
36
37 function load_video {
38 if [ x$feature_all_video_module = xy ]; then
39 insmod all_video
40 else
41 insmod efi_gop
42 insmod efi_uga
43 insmod ieee1275_fb
44 insmod vbe
45 insmod vga
46 insmod video_bochs
47 insmod video_cirrus
48 fi
49 }
50
51 if loadfont unicode ; then
52 set gfxmode=auto
53 load_video
54 insmod gfxterm
55 set locale_dir=$prefix/locale
56 set lang=en_US
57 insmod gettext
58 fi
59 terminal_output gfxterm
60 set timeout=5
61 ### END /etc/grub.d/00_header ###
62
63 ### BEGIN /etc/grub.d/10_linux ###
64 menuentry 'title' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-fe7b6773-70ed-4eac-b323-16ed459c7f86' {
65 savedefault
66 load_video
67 set gfxpayload=keep
68 insmod gzio
69 insmod part_msdos
70 insmod ext2
71 set root='hd0,msdos1'
72 if [ x$feature_platform_search_hint = xy ]; then
73 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' df0170c9-7d05-415c-bbd1-d4d503ba0eed
74 else
75 search --no-floppy --fs-uuid --set=root df0170c9-7d05-415c-bbd1-d4d503ba0eed
76 fi
77 echo 'Loading title'
78 linux /new-kernel.img root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb
79 echo 'Loading initial ramdisk ...'
80 initrd /new-initrd
81 }
82 menuentry 'Fedora Linux' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-fe7b6773-70ed-4eac-b323-16ed459c7f86' {
83 savedefault
84 load_video
85 set gfxpayload=keep
86 insmod gzio
87 insmod part_msdos
88 insmod ext2
89 set root='hd0,msdos1'
90 if [ x$feature_platform_search_hint = xy ]; then
91 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' df0170c9-7d05-415c-bbd1-d4d503ba0eed
92 else
93 search --no-floppy --fs-uuid --set=root df0170c9-7d05-415c-bbd1-d4d503ba0eed
94 fi
95 echo 'Loading Linux 3.3.0-0.rc4.git1.4.fc17.x86_64 ...'
96 linux /vmlinuz-3.3.0-0.rc4.git1.4.fc17.x86_64 root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb
97 echo 'Loading initial ramdisk ...'
98 initrd /initramfs-3.3.0-0.rc4.git1.4.fc17.x86_64.img
99 }
100 submenu 'Advanced options for Fedora Linux' $menuentry_id_option 'gnulinux-advanced-fe7b6773-70ed-4eac-b323-16ed459c7f86' {
101 menuentry 'Fedora Linux, with Linux 3.3.0-0.rc4.git1.4.fc17.x86_64' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.3.0-0.rc4.git1.4.fc17.x86_64-advanced-fe7b6773-70ed-4eac-b323-16ed459c7f86' {
102 savedefault
103 load_video
104 set gfxpayload=keep
105 insmod gzio
106 insmod part_msdos
107 insmod ext2
108 set root='hd0,msdos1'
109 if [ x$feature_platform_search_hint = xy ]; then
110 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' df0170c9-7d05-415c-bbd1-d4d503ba0eed
111 else
112 search --no-floppy --fs-uuid --set=root df0170c9-7d05-415c-bbd1-d4d503ba0eed
113 fi
114 echo 'Loading Linux 3.3.0-0.rc4.git1.4.fc17.x86_64 ...'
115 linux /vmlinuz-3.3.0-0.rc4.git1.4.fc17.x86_64 root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb
116 echo 'Loading initial ramdisk ...'
117 initrd /initramfs-3.3.0-0.rc4.git1.4.fc17.x86_64.img
118 }
119 menuentry 'Fedora Linux, with Linux 3.2.9-1.fc16.x86_64' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.9-1.fc16.x86_64-advanced-fe7b6773-70ed-4eac-b323-16ed459c7f86' {
120 savedefault
121 load_video
122 set gfxpayload=keep
123 insmod gzio
124 insmod part_msdos
125 insmod ext2
126 set root='hd0,msdos1'
127 if [ x$feature_platform_search_hint = xy ]; then
128 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' df0170c9-7d05-415c-bbd1-d4d503ba0eed
129 else
130 search --no-floppy --fs-uuid --set=root df0170c9-7d05-415c-bbd1-d4d503ba0eed
131 fi
132 echo 'Loading Linux 3.2.9-1.fc16.x86_64 ...'
133 linux /vmlinuz-3.2.9-1.fc16.x86_64 root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb
134 echo 'Loading initial ramdisk ...'
135 initrd /initramfs-3.2.9-1.fc16.x86_64.img
136 }
137 menuentry 'Fedora Linux, with Linux 3.2.7-1.fc16.x86_64' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.2.7-1.fc16.x86_64-advanced-fe7b6773-70ed-4eac-b323-16ed459c7f86' {
138 savedefault
139 load_video
140 set gfxpayload=keep
141 insmod gzio
142 insmod part_msdos
143 insmod ext2
144 set root='hd0,msdos1'
145 if [ x$feature_platform_search_hint = xy ]; then
146 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' df0170c9-7d05-415c-bbd1-d4d503ba0eed
147 else
148 search --no-floppy --fs-uuid --set=root df0170c9-7d05-415c-bbd1-d4d503ba0eed
149 fi
150 echo 'Loading Linux 3.2.7-1.fc16.x86_64 ...'
151 linux /vmlinuz-3.2.7-1.fc16.x86_64 root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb
152 echo 'Loading initial ramdisk ...'
153 initrd /initramfs-3.2.7-1.fc16.x86_64.img
154 }
155 }
156
157 ### END /etc/grub.d/10_linux ###
158
159 ### BEGIN /etc/grub.d/20_linux_xen ###
160
161 ### END /etc/grub.d/20_linux_xen ###
162
163 ### BEGIN /etc/grub.d/30_os-prober ###
164 ### END /etc/grub.d/30_os-prober ###
165
166 ### BEGIN /etc/grub.d/40_custom ###
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 ### END /etc/grub.d/40_custom ###
171
172 ### BEGIN /etc/grub.d/41_custom ###
173 if [ -f $prefix/custom.cfg ]; then
174 source $prefix/custom.cfg;
175 fi
176 ### END /etc/grub.d/41_custom ###
177
178 ### BEGIN /etc/grub.d/90_persistent ###
179 ### END /etc/grub.d/90_persistent ###