Files
RedBear-OS/local/recipes/core/grub/grub.cfg
T
vasilito ee761276de Add GRUB EFI build recipe and chainload configuration
Builds GRUB 2.12 for the host machine (not Redox target) using template=custom.
Produces a 540 KiB standalone PE32+ EFI binary with GPT, FAT, ext2,
chainloader, and utility modules. The grub.cfg chainloads the Redox
bootloader from EFI/REDBEAR/redbear.efi.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-04-17 21:04:39 +01:00

29 lines
703 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 running install-grub.sh,
# or modify the ESP directly with mtools:
# mcopy -i 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
}