Magellan Linux

Contents of /trunk/grubby/test/grub2.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: 5486 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 'Fedora Linux' --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 Linux 3.3.0-0.rc4.git1.4.fc17.x86_64 ...'
78 linux /vmlinuz-3.3.0-0.rc4.git1.4.fc17.x86_64 root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb
79 echo 'Loading initial ramdisk ...'
80 initrd /initramfs-3.3.0-0.rc4.git1.4.fc17.x86_64.img
81 }
82 submenu 'Advanced options for Fedora Linux' $menuentry_id_option 'gnulinux-advanced-fe7b6773-70ed-4eac-b323-16ed459c7f86' {
83 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' {
84 savedefault
85 load_video
86 set gfxpayload=keep
87 insmod gzio
88 insmod part_msdos
89 insmod ext2
90 set root='hd0,msdos1'
91 if [ x$feature_platform_search_hint = xy ]; then
92 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
93 else
94 search --no-floppy --fs-uuid --set=root df0170c9-7d05-415c-bbd1-d4d503ba0eed
95 fi
96 echo 'Loading Linux 3.3.0-0.rc4.git1.4.fc17.x86_64 ...'
97 linux /vmlinuz-3.3.0-0.rc4.git1.4.fc17.x86_64 root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb
98 echo 'Loading initial ramdisk ...'
99 initrd /initramfs-3.3.0-0.rc4.git1.4.fc17.x86_64.img
100 }
101 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' {
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.2.9-1.fc16.x86_64 ...'
115 linux /vmlinuz-3.2.9-1.fc16.x86_64 root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb
116 echo 'Loading initial ramdisk ...'
117 initrd /initramfs-3.2.9-1.fc16.x86_64.img
118 }
119 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' {
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.7-1.fc16.x86_64 ...'
133 linux /vmlinuz-3.2.7-1.fc16.x86_64 root=/dev/mapper/vg_pjones5-lv_root ro quiet rhgb
134 echo 'Loading initial ramdisk ...'
135 initrd /initramfs-3.2.7-1.fc16.x86_64.img
136 }
137 }
138
139 ### END /etc/grub.d/10_linux ###
140
141 ### BEGIN /etc/grub.d/20_linux_xen ###
142
143 ### END /etc/grub.d/20_linux_xen ###
144
145 ### BEGIN /etc/grub.d/30_os-prober ###
146 ### END /etc/grub.d/30_os-prober ###
147
148 ### BEGIN /etc/grub.d/40_custom ###
149 # This file provides an easy way to add custom menu entries. Simply type the
150 # menu entries you want to add after this comment. Be careful not to change
151 # the 'exec tail' line above.
152 ### END /etc/grub.d/40_custom ###
153
154 ### BEGIN /etc/grub.d/41_custom ###
155 if [ -f $prefix/custom.cfg ]; then
156 source $prefix/custom.cfg;
157 fi
158 ### END /etc/grub.d/41_custom ###
159
160 ### BEGIN /etc/grub.d/90_persistent ###
161 ### END /etc/grub.d/90_persistent ###