Questions tagged [qemu]
QEMU (short for "Quick EMUlator") is a free and open-source hosted virtual machine monitor that performs hardware virtualization.
88 questions
0 votes
1 answer
286 views
Booting a raspberry pi disk image using qemu without an external kernel?
Back in the day, qemu didn't have actual support for the raspberry pi, so while it was possible to boot a raspberry pi disk image in a virtual environment, it required a special kernel. Since then, ...
1 vote
0 answers
543 views
How to emulate Raspberry Pi in 2024
I followed roughly this tutorial: https://www.ravbug.com/tutorials/virtual-rpi/ I used the versatilepb approach and tried to move to bullseye and replaced the Variables of the script accordingly: #!/...
5 votes
1 answer
9k views
Virtualization of Raspberry Pi OS 64-bit arm64 on M1 (arm64) Macbooks
I was wondering whether it was possible to virtualize Raspberry Pi OS Lite Bullseye 64-bit arm64 on an M1 Macbook pro. I've downloaded the '.img' file from the official source and tried to load it ...
0 votes
0 answers
103 views
How is it made that NIC has name eth0 not usb0?
Raspberry Pi network card is internally a USB card. Why then it has name eth0 and not usb0? I need to find a code, which is responsible for this. I am simulating Raspberry Pi with QEMU and having a ...
-1 votes
1 answer
221 views
Prebuilt VM with Raspbian installed
I want to port some of my apps to Rasberry (Arm CPU), and am looking for the easiest way to get there. My apps are C++ & Qt5 based. I've read about cross compiling (looks like lots of headaches), ...
3 votes
1 answer
510 views
Improving file system performance on emulated Raspberry Pi
I am emulating a Raspberry Pi 3B running the latest Raspberry Pi OS Lite on qemu-system-arch64 but the file I/O speed is woefully slow. This is my QEMU command, for starting my virtual machine. sudo ...
1 vote
1 answer
2k views
Unable to login in QEMU Raspberry Pi 3B
I am trying to emulate a Raspberry Pi 3B using QEMU 7 with the following options: qemu-system-aarch64 \ -M raspi3b \ -cpu cortex-a53 \ -append "ttyAMA0,115200 kgdboc=ttyAMA0,115200 ...
0 votes
1 answer
1k views
No video output running on QEMU
I have been trying to set up a RPi 3b emulation on QEMU for testing software related to the framebuffer, and have got it working including networking, but not video. Doing ls /dev/, I can't find the ...
0 votes
0 answers
169 views
raspi3 qemu wont reboot
I finally got raspian to boot in quem by following these instructions. https://github.com/dhruvvyas90/qemu-rpi-kernel/tree/master/native-emulation The only problem is that I can't figure out how to ...
0 votes
0 answers
297 views
How to Install Canon LBP6000 Printer Driver on QEMU?
Canon Printers and CUPS: ARM drivers availabile? Platform: Raspbian Stretch I tried the link above but couldn't get it to work.In the driver guide it says I need to install some packages. # yum ...
0 votes
1 answer
263 views
Checkinstall fails to package QEMU to a deb
I compiled QEMU for my Raspberry pi and want to package it to a deb so I don't need to compile it every time I reflash (it takes a few hours). but every time I run sudo checkinstall I get errors (...
1 vote
1 answer
2k views
QEMU 5.1, rpi2b, (Arch) and ssh. SSH fails
EDIT: I significantly updated this after applying @Nikita Kipriyanov's answer. As of version 5.1 or 5.01 QEMU now supports RPI2 & 3 and USB. As the network on the RPI is behind USB, I should now ...
1 vote
1 answer
464 views
Which file in /boot is the initial RAM disk?
In order to emulate a Pi in the Qemu emulator, I will need to identify which (if any) of the files in /boot is the RAM disk, and which is the appropriate kernel. Booting Raspbian however, there is no ...
25 votes
4 answers
60k views
How to emulate Raspberry Pi in QEMU?
A few years ago, people were saying they were able to emulate a Raspberry Pi 2 or 3 in QEMU. However as of late 2020, I am unable to do so. Can anyone let me know what the correct command line ...
1 vote
1 answer
681 views
How would one emulate a Raspberry Pi guest on a Raspberry Pi 4b 4GB host?
I have a Raspberry Pi 4b, with 4GB of RAM. I would like to run a Virtual Machine with other Raspberry Pi operating systems as Guest (Ubuntu MATE, LibreELEC, possibly RISC OS). I tried using AQEMU, ...