GRUB2 is a modular, multiboot-capable bootloader for many operating systems that can be used as a payload for coreboot.
- The mainline version of GRUB2 has a wiki page on the coreboot port (Update: no longer available)
- Additional information about our former GRUB2 effort (which was part of Google Summer of Code 2007) can be found in the history of this page. Don't expect any link there to work.
- As an alternative, you could consider using FILO. Both FILO and GRUB2 have various advantages and disadvantages. Which of the two is better suited depends on your requirements.
- Yet another alternative is to not put GRUB into the BIOS ROM, but have it run from your disk as you would with a vendor BIOS. For that, you can use SeaBIOS as payload, which will then be able to run either GRUB1 or GRUB2 from your disk.
Compiling GRUB2 for being use as a payload
./autogen.sh ./configure --with-platform=coreboot make
combining with coreboot
cd grub-core ../grub-mkimage -d . -O i386-coreboot -o ../../grub2.elf