2014-08-27 23:27:52 +00:00
|
|
|
set default=0
|
|
|
|
set timeout=5
|
|
|
|
|
|
|
|
echo -e "\nWelcome to the @PRODUCT@ @VERSION@ installer!\n\n"
|
|
|
|
|
|
|
|
for BITS in 32 64; do
|
|
|
|
if [ -d "/ppc/ppc${BITS}" ]; then
|
|
|
|
menuentry "Start @PRODUCT@ @VERSION@ (${BITS}-bit kernel)" $BITS --class fedora --class gnu-linux --class gnu --class os {
|
2019-06-18 18:33:05 +00:00
|
|
|
linux /ppc/ppc${2}/vmlinuz @ROOT@ @EXTRA@ ro rd.live.image quiet
|
2014-08-27 23:27:52 +00:00
|
|
|
initrd /ppc/ppc${2}/initrd.img
|
|
|
|
}
|
|
|
|
|
|
|
|
menuentry "Test this media & start @PRODUCT@ @VERSION@ (${BITS}-bit kernel)" $BITS --class fedora --class gnu-linux --class gnu --class os {
|
2019-06-18 18:33:05 +00:00
|
|
|
linux /ppc/ppc${2}/vmlinuz @ROOT@ @EXTRA@ rd.live.image rd.live.check ro quiet
|
2014-08-27 23:27:52 +00:00
|
|
|
initrd /ppc/ppc${2}/initrd.img
|
|
|
|
}
|
|
|
|
|
|
|
|
menuentry "Rescue a @PRODUCT@ system (${BITS}-bit kernel)" $BITS --class fedora --class gnu-linux --class gnu --class os {
|
|
|
|
linux /ppc/ppc${2}/vmlinuz @ROOT@ rd.live.image rescue ro
|
|
|
|
initrd /ppc/ppc${2}/initrd.img
|
|
|
|
}
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
submenu 'Other options...' {
|
|
|
|
menuentry 'Reboot' {
|
|
|
|
reboot
|
|
|
|
}
|
|
|
|
|
|
|
|
menuentry 'Exit to Open Firmware' {
|
|
|
|
exit
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|