Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5847

Raspberry Pi OS • Re: Qemu / Virtual Box on ARM?

$
0
0
An .iso file is a CD-ROM installer. A PiOS .img file is a pre-installed modified Debian installation with a kernel that is tailored for the RaspberryPi and does not boot and run a the QEMU/libvirt/KVM environment. You need the generic vanilla Debian kernel and also an EFI bootloader as the RaspberryPi firmware/bootloader is propietatry and not understood by virt-manager. Look for generic Aarch64 UEFI Linux OS images, most major commercial distros provide one. For Debian you could use https://raspi.debian.net/tested-images/, I use Armbian as well as it is easy to boot those unmodified on real HW as well.
For RPiOS images, you first need to add grub-efi and standard arm64 kernel. Then on first boot press ESC and via Bootmanager menu or so select the grub efi file. Or copy some kernel+modules into the image and use direct kernel load at first boot. Search this forum, I repeat myself more or less viewtopic.php?p=2167459&hilit=grub+efi#p2167459

Statistics: Posted by redvli — Thu Sep 05, 2024 5:57 am



Viewing all articles
Browse latest Browse all 5847

Trending Articles