How do I emulate (qemu) PureBoot rom?

Hello everyone.
Tell me where can I download the rom and emulate it with qemu?
To make it clear what I mean, I will give an example.
I go to the GnooBoot website and download and unzip rom => gnuboot-0.1-rc6_qemu-pc_2mb.tar.xz. Index of /gnu/gnuboot/gnuboot-0.1-rc6/roms
Next, I download the ISO of any distro, and run the command in the terminal:

$ qemu-system-x86_64 -hda gnuboot-qemu.qcow2 -boot d -cdrom pureos.iso -bios grub_qemu-pc_2mb corebootfb_usqwerty.com -m 2 -smp 2 -enable-kvm

Select Load SeaBios (payload) [b]

Screenshot for example

1 Like

Normally you would download a shell script that goes to some lengths to download the correct firmware so that you don’t brick your computer. I guess in your case you don’t care much which firmware you get. ??

You can grab a firmware file e.g. here and then unzip it. That will give you a folder, that in turn contains a .rom file and the SHA256 hash, and you can verify the integrity of the download with
sha256sum -c ...

After that … I have no idea.

1 Like

Thank you for your answer. It turns out that Purism doesn’t have qemu-rom?
I only see Pureboot for Librem 14.

Picture for example

1 Like