How can i run dietpi in a qemu vm on my rpi4?

how can i run dietpi in a qemu vm on my rpi4?

Probably you would need to start with a native Debian installation followed by running our conversion script [Image] dietpi debian 12 QEMU/KVM image (arm64) - #16 by Ludger.Kuehm

yes ist is possible:

step 1
Install proxmox for Rpi 4/5 on your Host (Debian/Dietpi System) . See Proxmox 8 auf dem Raspberry Pi 4 installieren – bachmann-lan.de

step 2
After setting up proxmox (Network,Storae etc.) you can create the VM:

  • Download debian-netinstall ISO for ARM64 Architektur

  • Install Debian as minimal installation (ca.3GB) wihtout swapspace with ssh-server

  • run the dietpi-installer-scrpi and setting up as a “generic device”

  • before reboot setting up the network maually , while the network
    is after running the installer scrpit lost.

  • optonal : kernelparameter in the GRUB (net.ifnames=0 biosdefname=0) are useful to change the networkdevicename enp0s1 or ohther to eth0 .

On a RPi with 4 GB RAM can you use 2 GB RAM for the VMs (2 VMs wiht 1GB or 4 VMs with 512 MB ) and 2 GB for the Host.
A RPi5 runs very faster,and 8GB RAM a comfortable.