genode/tool/run/iso.inc
Alexander Boettcher 97d7d4b49d grub2: update to newer grub2 2.06 version
In UEFI case the lower RAM will not be used for internal allocation, which
should prevent overrides in the former legacy BDA (first page).

Issue #4426
2022-08-10 13:33:00 +02:00

19 lines
468 B
PHP

##
# Install files needed to create a bootable ISO image
#
# The ISO boot concept uses GRUB2 and xorriso to boot from ISO and USB stick.
#
source [genode_dir]/tool/run/grub2.inc
proc install_iso_bootloader_to_run_dir { } {
puts "install bootloader"
set grub2_path [get_grub2_dir]
exec mkdir -p [run_dir]/boot/grub/i386-pc
exec cp $grub2_path/boot/grub2/eltorito.img [run_dir]/boot/grub/i386-pc/.
exec cp [genode_dir]/tool/boot/bender [run_dir]/boot/bender
}