# \[Image\] dietpi debian 12 QEMU/KVM image (arm64)

**URL:** <https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055>\
**Category:** General Discussion\
**Created:** [28 November 2024 23:47 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055 "2024-11-28T23:47:55Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![urostor](https://dietpi.com/forum/user_avatar/dietpi.com/urostor/32/1891_2.png) [@urostor](https://dietpi.com/forum/u/urostor)\
**Post date:** [28 November 2024 23:47 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/1 "2024-11-28T23:47:55Z")

</div>

Hello,

I have successfully converted a Debian 12 image (nocloud-arm64) to a fresh dietpi image. It boots using arm64 kvm and qemu emulation. But with KVM it is at least 10x faster.

Could you folks let me know if anyone is interested? I will then share the image.

It was not so straightforward as after my first attempts, networking did not work (but now it does). Maybe if there is sufficient interest, it would be worth adding this image?

Cheers!

---

<div class="post-metadata">

**Author:** ![urostor](https://dietpi.com/forum/user_avatar/dietpi.com/urostor/32/1891_2.png) [@urostor](https://dietpi.com/forum/u/urostor)\
**Post date:** [4 December 2024 08:12 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/2 "2024-12-04T08:12:50Z")

</div>

No interest, I guess!

---

<div class="post-metadata">

**Author:** ![StephanStS](https://dietpi.com/forum/user_avatar/dietpi.com/stephansts/32/2522_2.png) [@StephanStS](https://dietpi.com/forum/u/StephanStS)\
**Post date:** [4 December 2024 17:00 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/3 "2024-12-04T17:00:14Z")

</div>

As I understand, the image would be used e.g. within Proxmox on Raspberries etc.  
I assume there are only few users having this environment.

---

<div class="post-metadata">

**Author:** ![urostor](https://dietpi.com/forum/user_avatar/dietpi.com/urostor/32/1891_2.png) [@urostor](https://dietpi.com/forum/u/urostor)\
**Post date:** [4 December 2024 17:02 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/4 "2024-12-04T17:02:19Z")

</div>

Or any type of virtualized environment on ARM. I have been using it on an rk3588 with virt-manager.

---

<div class="post-metadata">

**Author:** ![Ludger.Kuehm](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/l/cc9497/32.png) [@Ludger.Kuehm](https://dietpi.com/forum/u/Ludger.Kuehm)\
**Post date:** [9 December 2024 23:23 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/5 "2024-12-09T23:23:19Z")

</div>

Hello,  
I have installed Proxmox for ARM64 under DietPiOS on a Raspberry Pi 5 and use it to run various ARM64 VMs, mainly under DietPiOS (e.g. a DietPiOS ARM64 VM with Openmediavault 7.X installed).  
You can also generate various ParrotOS.6.2 ARM64 VMs from a Debian12 ARM64 VM using an installer script, similar to DietPi.  
Kali Linux also has an ARM64 live ISO that you can boot under RaspberryPi Proxmox.  
So everything can be used in a variety of ways.

VM use under ARM64 seems to be rare, and you have to rely on “homebrew” for that.

If the Proxmox-ARM64 installation could be integrated into the DietPi installer and a blank DietPiOS-ARM64-VM could be provided, then its use might be more widespread. Adding the ARM64 VM to the DietPi installer script (copying the “Generic Device” section as an ARM64 VM) would be desirable.

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [16 December 2024 15:22 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/6 "2024-12-16T15:22:16Z")

</div>

Request is also here: [Image | Add support for ARMv8 VMs · Issue #5637 · MichaIng/DietPi · GitHub](https://github.com/MichaIng/DietPi/issues/5637)  
I just never found the time to implement it, though collected ideas about how it can be done.

---

<div class="post-metadata">

**Author:** ![urostor](https://dietpi.com/forum/user_avatar/dietpi.com/urostor/32/1891_2.png) [@urostor](https://dietpi.com/forum/u/urostor)\
**Post date:** [16 December 2024 15:50 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/7 "2024-12-16T15:50:46Z")

</div>

I can send my changed conversion script if you’d like @MichaIng

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [16 December 2024 15:52 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/8 "2024-12-16T15:52:53Z")

</div>

That would be great, as a basis for me, when implementing it, so I may have some take aways from your solution.

---

<div class="post-metadata">

**Author:** ![urostor](https://dietpi.com/forum/user_avatar/dietpi.com/urostor/32/1891_2.png) [@urostor](https://dietpi.com/forum/u/urostor)\
**Post date:** [16 December 2024 16:02 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/9 "2024-12-16T16:02:59Z")

</div>

[dietpi-installer-shimmed.txt](https://dietpi.com/forum/uploads/short-url/wA8kZe4MUW3hyDgwmRMUg0pJnU.txt) (103.4 KB)  
Here it is. I changed the packages that are not uninstalled by default and the tty that is left activated. It should work for “Generic Device” (22). Getting some “could not connect to dbus” errors while shutting down the VM but they don’t seem to affect anything.

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [16 December 2024 16:16 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/10 "2024-12-16T16:16:40Z")

</div>

So you basically just enable the RPi specific serial console and install an alternative network stack, right? For what is the alternative network tool needed? Does not not work with `ifupdown` alone?

About the error on shutdown, either assure `systemd-logind` is masked, or instal `dbus`:

```sh
systemctl mask --now systemd-logind

```

or

```sh
apt install dbus

```

If you aim to use ACPI functionality, `systemd-logind` is required. We hence enabled it for all VM images, effective until next release. We’d to the same for ARMv8 VM images, once implemented.

---

<div class="post-metadata">

**Author:** ![urostor](https://dietpi.com/forum/user_avatar/dietpi.com/urostor/32/1891_2.png) [@urostor](https://dietpi.com/forum/u/urostor)\
**Post date:** [16 December 2024 16:22 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/11 "2024-12-16T16:22:57Z")

</div>

If I used the default installer the networking was not working after conversion (with ifupdown probably, yes). So I compared the manually installed packages list in the starting and the converted image and looked for network related stuff, netplan was the one that seemed fitting and leaving it solved the problem.  
This serial console is the one used by qemu, I don’t know about other virtualization solutions.

I’m not sure what acpi is for, probably shutting the vm off from the host? Yes, it does not seem to work and would be useful.

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [16 December 2024 16:35 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/12 "2024-12-16T16:35:49Z")

</div>

> [@urostor](#):
>
> I’m not sure what acpi is for, probably shutting the vm off from the host? Yes, it does not seem to work and would be useful.

Right, to issue regular shutdowns and reboots from the host. Else it can only hard kill the VM, while a regular shutdown can then only be done from the guest.

---

<div class="post-metadata">

**Author:** ![urostor](https://dietpi.com/forum/user_avatar/dietpi.com/urostor/32/1891_2.png) [@urostor](https://dietpi.com/forum/u/urostor)\
**Post date:** [16 December 2024 16:54 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/13 "2024-12-16T16:54:42Z")

</div>

[https://cloud.debian.org/images/cloud/bookworm/latest/](https://cloud.debian.org/images/cloud/bookworm/latest/)  
Here is the link to the images, I used the nocloud qcow2 one. Please let me know if this still works for you.

I ran 1 more command after converting:  
`apt-mark auto linux-image-6.1.*` - because `linux-image-arm64` provides this.

---

<div class="post-metadata">

**Author:** ![urostor](https://dietpi.com/forum/user_avatar/dietpi.com/urostor/32/1891_2.png) [@urostor](https://dietpi.com/forum/u/urostor)\
**Post date:** [17 December 2024 11:57 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/14 "2024-12-17T11:57:32Z")

</div>

Indeed, when I installed dbus and also unmasked `systemd-logind`, everything works. Is it a problem for dietpi that this alternative network stack `netplan.io` is installed?

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [8 January 2025 07:59 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/15 "2025-01-08T07:59:36Z")

</div>

> [@urostor](#):
>
> Is it a problem for dietpi that this alternative network stack `netplan.io` is installed?

Network configuration via `dietpi-config` (which uses `ifupdown`) may not work, colliding with the other installed network stack. There is surely a way to avoid installing them, and configure the network via `ifupdown` resp. `/etc/network/interface(.d/)` only.

---

<div class="post-metadata">

**Author:** ![Ludger.Kuehm](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/l/cc9497/32.png) [@Ludger.Kuehm](https://dietpi.com/forum/u/Ludger.Kuehm)\
**Post date:** [8 January 2025 21:34 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/16 "2025-01-08T21:34:15Z")

</div>

Hello MichIng,  
I have been running over 1 year of DietPi-ARM64-VMs  
successfully with Proxmox 8 on a RaspberryPi 5, among others  
also a DietPi-ARM64-VM as an Openmediavault 7 NAS server which also works wonderfully.  
Unfortunately, these VMs, which come from a Debian installation with the DietPi- installer script are only displayed as “Generic Device (aarch64)”, which is actually only a cosmetic problem.

Unfortunately, these VMs, which come from a Debian installation with the DietPi- installer script are only displayed as “Generic Device (aarch64)”, which is actually only a cosmetic problem.

The first and easiest measure would be if you could adapt the script (e.g. by duplicating parts and naming the part accordingly) so that the VM is displayed as “Virtual Machine (aarch64)”.

I use a small minimal DietPi-ARM64-VM with only CLI as master which can be copied and modified as a Proxmox backup to other Rpi5 or Rpi4 machines running Proxmox.

Backup and Restore of the VMs are very small, quick and easy. I don’t want to be without this anymore

Greetings  
Ludger

PS: sorry, i’m from Germany, my English is not the yellow from the egg . 😉

---

<div class="post-metadata">

**Author:** ![urostor](https://dietpi.com/forum/user_avatar/dietpi.com/urostor/32/1891_2.png) [@urostor](https://dietpi.com/forum/u/urostor)\
**Post date:** [8 January 2025 22:15 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/17 "2025-01-08T22:15:04Z")

</div>

I know little about how these things work, as much as I would like to help. Have you tested the script yourself?

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [9 January 2025 04:48 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/18 "2025-01-09T04:48:45Z")

</div>

Not yet, fiddling with other stuff at the moment. I would just implement ARM VM support into our build/installer scripts directly, see whether it works, and in case compare the result/implementation with your script, to check missing parts. But will likely not be able to start with this earlier than in 2 weeks, when I am home again.

---

<div class="post-metadata">

**Author:** ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)\
**Post date:** [8 July 2025 04:49 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/19 "2025-07-08T04:49:20Z")

</div>

Closed on 8 July 2025 04:49 UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)\
**Post date:** [23 July 2025 15:37 UTC](https://dietpi.com/forum/t/image-dietpi-debian-12-qemu-kvm-image-arm64/22055/20 "2025-07-23T15:37:06Z")

</div>

Opened on 23 July 2025 15:37 UTC


