Page 1 of 1

Virtual Machine on Raspberry Pi

Posted: Fri May 31, 2019 5:53 pm
by Vairetz
Hi everyone, I'm looking for a OS emulator like VirtualBox, VMWare, etc.. to install on Raspbian or other Raspberry Pi OS. I'd like to emulate another ARM OS but I don't know any software to do this. Any idea or suggestion?

Re: Virtual Machine on Raspberry Pi

Posted: Fri May 31, 2019 7:47 pm
by DarkPlatinum
Your going to have problems with with virtual machines on a Pi. A Pi only has 1 GB of Ram! (2B , 3B and3B+) This is not going to work very well.

But if your doing this just for the fun of it, OS your using is very lightweight. You can use QEMU for emulation.

Re: Virtual Machine on Raspberry Pi

Posted: Fri May 31, 2019 8:50 pm
by Vairetz
Thank you I'll try it on Raspbian Lite to have more RAM for virtual machine :D

Re: Virtual Machine on Raspberry Pi

Posted: Sat Jun 01, 2019 3:54 am
by W. H. Heydt
DarkPlatinum wrote:
Fri May 31, 2019 7:47 pm
A Pi only has 1 GB of Ram! (2B , 3B and B+)
Nitpick... a Pi3B+ has 1GB. A B+ has 512MB. (I am assuming probable typo and you meant 3B+.)

Re: Virtual Machine on Raspberry Pi

Posted: Sat Jun 01, 2019 3:55 am
by W. H. Heydt
Vairetz wrote:
Fri May 31, 2019 8:50 pm
Thank you I'll try it on Raspbian Lite to have more RAM for virtual machine :D
You will still only have 1GB or less RAM. Granted, more of it will be available for your use, but just going to Raspbian Lite won't add any RAM.

Re: Virtual Machine on Raspberry Pi

Posted: Thu Mar 05, 2020 3:24 pm
by Botspot
Vairetz wrote:
Fri May 31, 2019 5:53 pm
Hi everyone, I'm looking for a OS emulator like VirtualBox, VMWare, etc.. to install on Raspbian or other Raspberry Pi OS. I'd like to emulate another ARM OS but I don't know any software to do this. Any idea or suggestion?
If the ARM OS you're trying to run will work under Raspbian's kernel, then you won't need an emulator, but a container.
Instead of allocating a large chunk of RAM and emulating every CPU cycle, a container just runs the programs of the second OS.

For example, my Pi Power Tools uses systemd-nspawn to run a second instance of Raspbian in a container. Just give it a raspbian .img file, and push the boot button.
img-mode.png
img-mode.png (21.47 KiB) Viewed 2216 times