Skip to content

Emu bootloader support#35

Open
immolo wants to merge 3 commits into
gentoo:masterfrom
immolo:sparcloader
Open

Emu bootloader support#35
immolo wants to merge 3 commits into
gentoo:masterfrom
immolo:sparcloader

Conversation

@immolo

@immolo immolo commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

When using qemu-user to build ISOs, Catalyst runs into an issue where the bootloader creation is called from the host machine rather than chroot.

This results in an unbootable image.

For GRUB based media this is an easy fix by adding sys-boot/grub to the stage1 then this addition to create-iso.sh can use grub-mkrescue's directory switch to use the chroot's /usr/lib/grub/sparc64-ieee1275

This is only tested in qemu-system-sparc64 for now.

immolo added 3 commits June 24, 2026 01:38
When using qemu-user to build ISOs, Catalyst runs into
an issue where the bootloader creation is called from
the host machine rather than chroot.

This results in an unbootable image.

For GRUB based media this is an easy fix by adding
sys-boot/grub to the stage1 then this addition to
create-iso.sh can use grub-mkrescue's directory
switch to use the chroot's /usr/lib/grub/sparc64-ieee1275

This is onlt tested in qemu-system-sparc64 for now.

Signed-off-by: Ian Jordan <immoloism@gmail.com>
When using qemu-user to build ISOs, Catalyst runs
into an issue where the bootloader creation is
called from the host machine rather than chroot.

This results in an unbootable image.

For GRUB based media this is an easy fix by adding
sys-boot/grub to the stage1 then this addition to
create-iso.sh can use grub-mkrescue's directory
switch to use the chroot's
/usr/lib/grub/riscv64-efi

Signed-off-by: Ian Jordan <immoloism@gmail.com>
When using qemu-user to build ISOs, Catalyst runs into
an issue where the bootloader creation is called from
the host machine rather than chroot.

This results in an unbootable image.

For GRUB based media this is an easy fix by adding
sys-boot/grub to the stage1 then this addition to
create-iso.sh can use grub-mkrescue's directory
switch to use the chroot's
/usr/lib/grub/loongarch64-efi

Signed-off-by: Ian Jordan <immoloism@gmail.com>
@immolo immolo changed the title SPARC emu bootloader Emu bootloader support Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant