Kali as a VM with virt-manager on Pi

What have you tried: I have installed virt-manager (Virtual Machine Manager) on my Raspberry Pi, I have ran sudo apt update && sudo apt upgrade. I am using the kali-linux-2025.1-raspberry-pi-arm64.img.xz I downloaded from **Get Kali | Kali Linux ** and extracted to ** var/lib/libvirt/images **.

I go through the installation wizard for Virtual Machine Manager, select the image, select Debian 11 for the OS, leave everything else as default (even using the other options ends up with the same results).

What is the error: When I create the VM I am only presented with a shell, I either get the mapping table which includes FS0 or I get a very long error starting with BdsDxe: failed to load Boot0002 “UEFI Misc Device” from PciRoot(0x0)/Pci(0x1,0x4)/Pci(0x0,0x0): Not Found…

What device is this on: Raspberry Pi 5

Have you tried installing kali-arm64 image? I’am meaning generic, not pi/other vendor specific.
You can get them here: Index of /kali-2025.1c/

Don’t extract to var/lib/libvirt/images by default that location is owned by root and you dont have permission to execute an image from there.

Just download it to your normal downloads folder, or other folder under your username and virt manager will take care of importing it and will set it up correctly with permissions etc.

It will still end up in var/lib/libvirt/images yes, but then it will have the correct permisions..

I haven’t but thanks for sharing artemxbm, I will give that a go ASAP.

Hey Fred,

thanks for suggesting that.

So using the same image from the office Kali page, as mentioned in my first post, it is a .img file and I kept it in my downloads and then just tried to create a VM with it, but still got that error.

What I am going to try now is getting an image Artemxbm mentioned, and leaving it in my downloads like you did and I will try again.