This is my grub.cfg. Nothing fancy. It auto boots Fossa... but how would I code it to pick one of the 3 frugal installs automatically? I can create code for a random number, but I do not understand how to send the 1, 2, or 3 to the system.
Any tips? Thanks for your time.
#
set default=0
set timeout=5
set menu_color_normal='yellow/blue'
set menu_color_highlight='black/cyan'
if [ $grub_platform = 'efi' ]; then
loadfont /boot/grub/fonts/DejaVuSansMono18.pf2
set gfxmode=auto
terminal_output gfxterm
fi
menuentry "Puppy fossapup64 9.5" {
insmod ext2
search --no-floppy --fs-uuid --set 58c7bf7f-233e-4e72-b9d0-436d926a3032
echo "Loading vmlinuz"
linux /fos/vmlinuz pmedia=atahd pdrv=58c7bf7f-233e-4e72-b9d0-436d926a3032 psubdir=/fos pfix=fsck,fsckp TZ=EST5EDT,M3.2.0,M11.1.0
echo "Loading initrd.gz"
initrd /fos/initrd.gz
}
if [ $grub_platform = 'efi' ]; then
menuentry 'System BIOS setup' {
fwsetup
}
fi
menuentry "Shutdown computer" {
halt
}
menuentry "Reboot computer" {
reboot
}