Skip to main content
6 votes

Has anyone managed to run Raspberry Pi 3 with KVM enabled?

This is an old question, but: You won't be able to use KVM to run an x86 guest on the Raspberry Pi (any version), as the Raspberry Pi uses an ARM CPU core. Now, this doesn't mean that you can't run ...
Geoff Maciolek's user avatar
6 votes
Accepted

Raspberry Pi Desktop, Guest Additions: Access denied under root

8. of the preferred answer here. Not much of an explanation, yet it certainly works. # sh /media/cdrom0/VBoxLinuxAdditions.run
Alexey Orlov's user avatar
5 votes
Accepted

Generating Virtual Machines on a Raspberry 4

If you do not want to use hardware virtualization features, your best chance to use containers like Docker or LXC as goldilocks said. When I read your question, my first think was Docker because I ...
Rastlin's user avatar
  • 66
5 votes

Generating Virtual Machines on a Raspberry 4

I've spent nearly a year perfecting a command-line tool for RPi called vdesktop. It does exactly what you want - boot a RaspiOS image in a virtual container. As opposed to manual methods like chroot ...
Botspot's user avatar
  • 1,789
4 votes

Is it possible to use any virtualization technique with the Raspberry Pi 3?

Depending on what performance is acceptable, plain QEMU without KVM may be a viable solution. Assuming you need to run x86 system installed in disk.img, apt-get install qemu-system-x86 qemu-system-...
Dmitry Grigoryev's user avatar
4 votes
Accepted

How can I run 32-bit compiled assembly code on Rasberry PI 4 B, if possible at all?

First of all to clear up ambiguities: Aarch32/Aarch64: These are two main Instruction Set Architectures for ARM (Advanced RISC Machine) architecture processors. Armv7-A/Armv8-A: These are the most ...
Balázs Börcsök's user avatar
4 votes

Generating Virtual Machines on a Raspberry 4

generate some network traffic and conduct some logging That doesn't sound like something you need a heavy weight VM like QEMU for. You don't need to emulate a different hardware platform, right? And ...
goldilocks's user avatar
  • 59.5k
3 votes
Accepted

How to export a Linux instance from VirtualBox to a plain text filesystem?

...from an image file that contains a simple plain-text file tree... This is gobbledygook. You are confused. That is not what an operating system image file is. It is a binary, block-for-block ...
goldilocks's user avatar
  • 59.5k
3 votes

A stable DOS emulator on the Pi (Pi3B+ and 4B)?

The first step to verify what can help you is to install dosbox. It is part of the default Raspbian repository and you only need to install it with: rpi ~$ sudo apt install dosbox Its description ...
Ingo's user avatar
  • 42.4k
2 votes

Is it possible to use any virtualization technique with the Raspberry Pi 3?

You can try Minos, v0.2.1 has support Raspberry Pi 3. https://github.com/minosproject/minos
gogogo's user avatar
  • 21
2 votes

Is it possible to use any virtualization technique with the Raspberry Pi 3?

It appears that VMware are working on a bare-metal hypervisor (ESXi) for 64-bit Arm processors, as they have showed off on their VMworld US shindig in Las Vegas (August 2018). It seems that soon we ...
Slavik Meltser's user avatar
2 votes
Accepted

Why don't LXC containers start on RPi1B (lxc_seccomp policy loading error)?

On my Raspbian Jessie installation, the Kernel (4.4.27) is compiled with CONFIG_SECCOMP but not the filter option (CONFIG_SECCOMP_FILTER and CONFIG_HAVE_ARCH_SECCOMP_FILTER). So you will not be able ...
Huygens's user avatar
  • 723
2 votes
Accepted

How to emulate raspberry pi 2 on Ubuntu 14.04 PC?

I succeeded in launching Raspbian Jessie Lite on Kubuntu 14.04 after I compiled QEMU from git. There's a bit of a problem though: I haven't made the keyboard input work (have to use virtual serial ...
Ruslan's user avatar
  • 175
2 votes

Has anyone managed to run Raspberry Pi 3 with KVM enabled?

Linux Containers Another container technology which can also run on SBCs is Linux Containers (LXC/LXD). LXC shares the host's kernel and is lighter weight than traditional Virtual Machines. But each ...
payomagic's user avatar
2 votes
Accepted

RealVNC Viewer connection refused when headless

I added the following lines to my config.txt file in /boot. # NOOBS Auto-generated Settings: hdmi_force_hotplug=1 hdmi_group=2 hdmi_mode=82 #hdmi_safe=1 This forces the headless pi to 1080p. I've ...
bigmac's user avatar
  • 36
2 votes

One Python Program - Several Raspberries

Load Balancing is the distribution of work over a series of devices in a client server model. It's totally unrelated to what you're trying to accomplish. A local cloud, aka fog computing is simply ...
Jacobm001's user avatar
  • 11.9k
2 votes

Black screen on VirtualBox startup emulation

You can't run an ARM Raspbian image on an x86 system. If you want to run the Raspbian Pixel Desktop you can download the x86 iso at raspberrypi.org
88weighed's user avatar
  • 905
2 votes
Accepted

python.exe file not found; creating "virtual environment"

That video is for installing on Windows. Windows uses .exe files as executables; other operating systems don't. Unix-like systems such as Linux and macOS don't generally use extensions in the same way ...
Aurora0001's user avatar
  • 6,332
2 votes
Accepted

VirtualBox image z RPI

Virtualbox image Realistically you can't, VirtualBox is for x86(-64) ISAs only, whereas Pi oriented images are ARM based. You would have to take the source code for everything in the base image ...
goldilocks's user avatar
  • 59.5k
2 votes

Is there a way to run Raspberry Pi Image on Windows?

The Raspberry Pi has an ARM processor which is incompatible to the x86 processor family of your MS-Windows PC. That's why VirtualBox et al. do nothing. You have to emulate the ARM processor in ...
Janka's user avatar
  • 1,728
2 votes
Accepted

Virtual Machine Image

I hate to be the bearer of bad news, but you can't do what you propose (at least not in a practical way). Reason is that Raspbian is compiled to run on an ARM processor, and AFAIK, there are no ...
Seamus's user avatar
  • 22.6k
2 votes

Raspberry Pi Desktop, Guest Additions: Access denied under root

In my case this worked for me. $ sudo apt update $ sudo apt install build-essential module-assistant dkms $ sudo m-a prepare then select the menu devices/insert guest... CD is mounted and select ...
Juan Ojeda's user avatar
2 votes
Accepted

Automate delivering custom updates to several identical Raspberry PIs?

I would recommend you to have a look at Ansible as I am already using it to update some hundred Pis that are distributed over various places and sometimes also are only connected via LTE. To reach ...
Stefan Wegener's user avatar
2 votes

I would like to virtualize an existing Raspberry Pi 4. Goals are to preserve its setup, avoid losing it due to SD card corruption, and increase speed

Raspberry Pi uses an ARM processor, your MS Windows machine uses an intel or amd processor so with a virtual machine manager (VMM) you cannot use the hardware supported virtual management of the ...
Ingo's user avatar
  • 42.4k
2 votes

I would like to virtualize an existing Raspberry Pi 4. Goals are to preserve its setup, avoid losing it due to SD card corruption, and increase speed

Docker may help you. In this case, you have two choices. You can run the image file which you have read from SD-card to a Linux/Windows docker environment. I didn't test it on windows but the link ...
Mohi Rostami's user avatar
  • 4,349
2 votes

Free App Virtualization Software

You can emulate software for Windows 98 or 3.1, but because of system requirements you cannot virtualize anything that requires more ram / CPU. Use qemu as it is great for emulating most platforms.
fizz's user avatar
  • 91
2 votes

How can I run 32-bit compiled assembly code on Rasberry PI 4 B, if possible at all?

You can always run 32 bit programs/operating systems on a 64 bit architecture. That is downstream compatible. You cannot run 64 bit programs on a 32 bit architecture, of course. So it is no problem to ...
Ingo's user avatar
  • 42.4k
1 vote
Accepted

Virtualizing raspberry pi (as guest) on bochs?

No, this does not work. Bochs emulates IA-32 alias x86 architecture. It is NOT a hypervisor. Raspberry Pi is running on ARM Cortex A series (or ARM 11 in case of the original Pi and Pi Zero). You will ...
kwasmich's user avatar
  • 2,702
1 vote

How to activate the Python Virtual Environment

When you executed this line in step 3: echo "alias workoncv-$cvVersion=\"source $cwd/OpenCV-$cvVersion-py3/bin/activate\"" >> ~/.bashrc It should have added a line to the end of your ~/.bashrc ...
Heath Raftery's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible