Mixer image with qemu

Hi,

I’ve been trying to make my own mix and followed the example on this page: https://docs.01.org/clearlinux/latest/guides/clear/mixer.html

When trying to start the image with qemu as outlined in one of the later examples, it will just drop me to an uefi shell and I can’t really figure out how to boot the system from there. I couldn’t find sufficient documentation or comparable examples on the internet, but as it looks like there seems to be something wrong. I suppose the boot shell should be able to identify an accessible file system that contains the uefi bootloader, but such a filesystem does not appear.

Anyway, could someone help me figure out why the image builing and running examples on the mixer documentation page won’t work as promised?

cheers,
hans

Hey, welcome and thanks for joining!

Can you try this after powering off the VM?

rm -v OVMF*.fd
curl -O https://cdn.download.clearlinux.org/image/OVMF.fd
curl -O https://cdn.download.clearlinux.org/image/OVMF_CODE.fd
curl -O https://cdn.download.clearlinux.org/image/OVMF_VARS.fd
curl -O https://cdn.download.clearlinux.org/image/start_qemu.sh

chmod +x start_qemu.sh
sudo ./start_qemu.sh release.img

Hi,

thanks for the fast reply. After some further analysis I noticed that the ister.py config file of example 4 on the mixer documentation page does not include the bootloader bundle to be pre-installed on the image. Everything works just fine after adding it to the list of bundles.
It’d be nice if you could apply this fix to the documentation, it is just one word.

Excellent. I’m glad you got it working.

The bootloader should be coming in as part of the kernel-kvm bundle. We will certainly investigate and update the documentation as needed.

P.S. you can log issues with documentation or directly contribute in this repo: https://github.com/clearlinux/clear-linux-documentation