How do I get Librem 5 in ISO image format to test on VirtualBox?

Ah okay, I see i migth be dificult to navigate in the thread I have linked,
how ever there is some relevant troubleshooting.

So the short story is to get the lattes “qemu-x86_64.img.xz” build from the build page:
https://arm01.puri.sm/job/Images/job/Image%20Build/

Unpack the raw .img using the tool “unxz”.
unxz qemu-x86_64.img.xz

Then use the “VBoxManage” to convert it into a .vdi which is the format of a hard drive in VirtualBox:
VBoxManage convertdd qemu-x86_64.img pureOS.vdi --format VDI

From VirtualBox mount the .vdi as hard drive for the virtual machine.
I used the graphics controller: VMSVGA (which also is a setting in VirtualBox. )

Note that I needed VirtualBox version 6.0.10 to get it to work, because there have been some bug with Wayland in VirtualBox