I’m facing the same issue with post Rocky Linux 9 QCOW2 Image - end kernel panic - on Windows which is closed automatically.
I am trying to create a Qemu vm on Windows 10. That is why I installed Qemu on my Windows. Then I downloaded Rocky Linux QCOW2 image and ISO files.
When I try to run
qemu-system-x86_64 -m 2048 -accel whpx -cdrom "D:\qemu\os\Rocky-10.0-x86_64-minimal.iso" -drive file="D:\qemu\vm\rocky10.qcow2",if=virtio -boot d -net nic,model=virtio -net user
or
qemu-system-x86_64 -m 2048 -cdrom "D:\qemu\os\Rocky-10.0-x86_64-minimal.iso" -drive file="D:\qemu\vm\rocky10.qcow2",if=virtio -boot d -net nic,model=virtio -net user -drive if=pflash,format=raw,file="C:\qemu\share\edk2-x86_64-code.fd",readonly=on -drive if=pflash,format=raw,file="D:\qemu\vm\edk2-x86_64-vars.fd"
I always get the following error:
end kernel panic - not syncing - Attempted to kill init
I tried with Ubuntu’ s QCOW2 image to check if there is a problem with qemu itself, but it worked. How can I solve it?
Thanks!