set default=0 set timeout=5 echo -e "\nWelcome to the Fedora 20 installer!\n\n" for BITS in 32 64; do if [ -d "/ppc/ppc${BITS}" ]; then menuentry "Install Fedora 20 (${BITS}-bit kernel)" $BITS --class fedora --class gnu-linux --class gnu --class os { linux /ppc/ppc${2}/vmlinuz ro initrd /ppc/ppc${2}/initrd.img } menuentry "Test this media & install Fedora 20 (${BITS}-bit kernel)" $BITS --class fedora --class gnu-linux --class gnu --class os { linux /ppc/ppc${2}/vmlinuz rd.live.check ro initrd /ppc/ppc${2}/initrd.img } menuentry "Rescue a Fedora system (${BITS}-bit kernel)" $BITS --class fedora --class gnu-linux --class gnu --class os { linux /ppc/ppc${2}/vmlinuz rescue ro initrd /ppc/ppc${2}/initrd.img } fi done submenu 'Other options...' { menuentry 'Reboot' { reboot } menuentry 'Exit to Open Firmware' { exit } }