]> git.ozlabs.org Git - petitboot/blob - test/parser/data/grub2-f18-ppc64.conf
test/parser: Cleanup Makefile.am
[petitboot] / test / parser / data / grub2-f18-ppc64.conf
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="0"
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 [ x$feature_default_font_path = xy ] ; then
52    font=unicode
53 else
54 insmod part_msdos
55 insmod lvm
56 insmod ext2
57 set root='lvm/fedora_ltcfbl8eb-root'
58 if [ x$feature_platform_search_hint = xy ]; then
59   search --no-floppy --fs-uuid --set=root --hint='lvm/fedora_ltcfbl8eb-root'  ae785c7f-5e63-431f-9b9a-aabbf04f183f
60 else
61   search --no-floppy --fs-uuid --set=root ae785c7f-5e63-431f-9b9a-aabbf04f183f
62 fi
63     font="/usr/share/grub/unicode.pf2"
64 fi
65
66 if loadfont $font ; then
67   set gfxmode=auto
68   load_video
69   insmod gfxterm
70   set locale_dir=$prefix/locale
71   set lang=en_US
72   insmod gettext
73 fi
74 terminal_output gfxterm
75 insmod part_msdos
76 insmod ext2
77 set root='hd0,msdos2'
78 if [ x$feature_platform_search_hint = xy ]; then
79   search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//pci@800000020000203/pci1014\,0339@0/disk@0\,0,msdos2' --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2'  773653a7-660e-490e-9a74-d9fdfc9bbbf6
80 else
81   search --no-floppy --fs-uuid --set=root 773653a7-660e-490e-9a74-d9fdfc9bbbf6
82 fi
83 insmod gfxmenu
84 loadfont ($root)/grub2/themes/system/DejaVuSans-10.pf2
85 loadfont ($root)/grub2/themes/system/DejaVuSans-12.pf2
86 loadfont ($root)/grub2/themes/system/DejaVuSans-Bold-14.pf2
87 loadfont ($root)/grub2/fonts/unicode.pf2
88 insmod png
89 set theme=($root)/grub2/themes/system/theme.txt
90 export theme
91 set timeout=5
92 ### END /etc/grub.d/00_header ###
93
94 ### BEGIN /etc/grub.d/10_linux ###
95 menuentry 'Fedora' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-ae785c7f-5e63-431f-9b9a-aabbf04f183f' {
96         load_video
97         insmod gzio
98         insmod part_msdos
99         insmod ext2
100         set root='hd0,msdos2'
101         if [ x$feature_platform_search_hint = xy ]; then
102           search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//pci@800000020000203/pci1014\,0339@0/disk@0\,0,msdos2' --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2'  773653a7-660e-490e-9a74-d9fdfc9bbbf6
103         else
104           search --no-floppy --fs-uuid --set=root 773653a7-660e-490e-9a74-d9fdfc9bbbf6
105         fi
106         echo    'Loading Linux 3.6.10-4.fc18.ppc64p7 ...'
107         linux   /vmlinuz-3.6.10-4.fc18.ppc64p7 root=/dev/mapper/fedora_ltcfbl8eb-root ro rd.lvm.lv=fedora_ltcfbl8eb/swap rd.dm=0 rd.lvm.lv=fedora_ltcfbl8eb/root  rd.md=0 rd.luks=0 vconsole.keymap=us rhgb quiet
108         echo    'Loading initial ramdisk ...'
109         initrd  /initramfs-3.6.10-4.fc18.ppc64p7.img
110 }
111
112 submenu 'Advanced options for Fedora' $menuentry_id_option 'gnulinux-advanced-ae785c7f-5e63-431f-9b9a-aabbf04f183f' {
113         menuentry 'Fedora, with Linux 3.6.10-4.fc18.ppc64p7' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.6.10-4.fc18.ppc64p7-advanced-ae785c7f-5e63-431f-9b9a-aabbf04f183f' {
114                 load_video
115                 insmod gzio
116                 insmod part_msdos
117                 insmod ext2
118                 set root='hd0,msdos2'
119                 if [ x$feature_platform_search_hint = xy ]; then
120                   search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//pci@800000020000203/pci1014\,0339@0/disk@0\,0,msdos2' --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 --hint='hd0,msdos2'  773653a7-660e-490e-9a74-d9fdfc9bbbf6
121                 else
122                   search --no-floppy --fs-uuid --set=root 773653a7-660e-490e-9a74-d9fdfc9bbbf6
123                 fi
124                 echo    'Loading Linux 3.6.10-4.fc18.ppc64p7 ...'
125                 linux   /vmlinuz-3.6.10-4.fc18.ppc64p7 root=/dev/mapper/fedora_ltcfbl8eb-root ro rd.lvm.lv=fedora_ltcfbl8eb/swap rd.dm=0 rd.lvm.lv=fedora_ltcfbl8eb/root  rd.md=0 rd.luks=0 vconsole.keymap=us rhgb quiet
126                 echo    'Loading initial ramdisk ...'
127                 initrd  /initramfs-3.6.10-4.fc18.ppc64p7.img
128         }
129 }
130
131 ### END /etc/grub.d/10_linux ###
132
133 ### BEGIN /etc/grub.d/20_linux_xen ###
134 ### END /etc/grub.d/20_linux_xen ###
135
136 ### BEGIN /etc/grub.d/20_ppc_terminfo ###
137   terminfo -g 80x24 ofconsole
138 ### END /etc/grub.d/20_ppc_terminfo ###
139
140 ### BEGIN /etc/grub.d/30_os-prober ###
141 ### END /etc/grub.d/30_os-prober ###
142
143 ### BEGIN /etc/grub.d/40_custom ###
144 # This file provides an easy way to add custom menu entries.  Simply type the
145 # menu entries you want to add after this comment.  Be careful not to change
146 # the 'exec tail' line above.
147 ### END /etc/grub.d/40_custom ###
148
149 ### BEGIN /etc/grub.d/41_custom ###
150 if [ -f  ${config_directory}/custom.cfg ]; then
151   source ${config_directory}/custom.cfg
152 elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
153   source $prefix/custom.cfg;
154 fi
155 ### END /etc/grub.d/41_custom ###