Ok I'm finally getting somewhere, used virt-builder to get a debian image
sudo virt-builder debian-11
then ran it with
qemu-system-x86_64 -nographic debian-11.img