VirtualBox one Raspberry Pi 2

Discussions related to using VirtualBox on Linux hosts.
Post Reply
SAMc
Posts: 1
Joined: 12. Sep 2015, 23:13

VirtualBox one Raspberry Pi 2

Post by SAMc »

Hi everyone,

As you know it's still hard to find a good desktop running on Raspberry Pi 2. Maybe Using a virtualbox on it can be a good way to run a windows desktop interface on it !

But as you know virtualbox only run under i386 or amd64 architectures...

Do you know if their is a way to use virtual box on a Raspberry anyway ?

Thanks for help !
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: VirtualBox one Raspberry Pi 2

Post by noteirak »

Except rewriting massive parts of the code, no there is no way.
It's not that VirtualBox is missing some libraries or anything like that. VirtualBox whole design is to run on x86/64 architecture. There is just no "solution".
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: VirtualBox one Raspberry Pi 2

Post by mpack »

Even rewriting massive parts of the code would be useless.

VirtualBox is a hypervisor, not a CPU simulator [*]. It prevents applications accessing host hardware directly, but otherwise guest code runs at full speed on the native processor.

In RPi2 the native processor is a Broadcom chip with an ARM core. It can't run x86 code.

Anyway, if I might suggest as an aside.... what's the point of using the RPi2 as a crappy PC, or even a crappy Linux box? IMHO you might have more fun learning to use it as it's meant to be used - in your own hardware control or embedded OS development projects. Though I must say that I find the RPi to be overblown for such projects: I'm an Arduino fan myself (really an AVR fan - I don't need the Arduino IDE).

[*]I should add that the important difference between a hypervisor and a CPU simulator is that the latter is about 10000 times slower than the former. The CPU simulator is a godsend for debugging, but it's useless for pretty much anything else.
RobAldw
Posts: 1
Joined: 11. Sep 2019, 20:11

Re: VirtualBox one Raspberry Pi 2 , 3b+

Post by RobAldw »

Where can i get a vbox download for RpI3b or 2 that works?
what i found in Synaptic did not run on Ubuntu 16.
Do i have to use Raspbian?
Is there a VBox booting OS for Pi?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: VirtualBox one Raspberry Pi 2

Post by mpack »

VirtualBox for RPi hosts does not exist. Nor can it ever exist while RPis have ARM cores. Did you actually read the above discussion?
Post Reply