Files
RedBear-OS/local/recipes/core/grub/grub.cfg
T
vasilito 8bc64b0a5e Harden GRUB recipe with error guards and host-tool verification
Add || exit 1 to all critical build steps (mkdir, cd, touch, configure,
make, grub-mkimage) so failures surface immediately instead of silently
continuing. Verify gcc/make/bison/flex are present before starting the
build. Update grub.cfg help text to reference fat_tool.py instead of
unavailable mtools.
2026-04-17 22:02:47 +01:00

29 lines
740 B
INI

# Red Bear OS GRUB Configuration
#
# GRUB presents this menu at boot and chainloads the Redox bootloader.
# The Redox bootloader then reads the RedoxFS partition and boots the kernel.
#
# Place this file at EFI/BOOT/grub.cfg on the ESP.
# The install-grub.sh script handles this automatically.
#
# To customize: edit this file before building GRUB (make r.grub),
# or modify the ESP directly with fat_tool.py:
# python3 local/scripts/fat_tool.py cp-in harddrive.img 1048576 grub.cfg EFI/BOOT/grub.cfg
set default=0
set timeout=5
# Default: boot Red Bear OS via Redox bootloader chainload
menuentry "Red Bear OS" {
chainloader /EFI/REDBEAR/redbear.efi
boot
}
menuentry "Reboot" {
reboot
}
menuentry "Shutdown" {
halt
}