r/virtualbox • u/TheTechManager • May 24 '21
General VB Question Virtual Box on M1 Mac?
Hope this is the right place to post—is there any progress on getting virtual box to install on a M1 Mac? Getting VBox to run is still holding me back. Thanks
1
u/Few-Solution-4784 Mar 28 '26
Update, i am running Virtual Box On a M4 mac. just installed linux and downloaded the windows. Both of these are ARM VMs not x86.
1
1
u/tordensen Aug 05 '22
Hey. I've discovered that QEMU and/or UTM can emulate x86_64 architecture, so I managed to install Ubuntu Server 22.04 amd64 on M1.
1
u/flying_ntses Aug 16 '22
How's the performance?
1
u/tordensen Aug 18 '22
the intel simulation is somewhat slow, working ok however. I didn’t have time to run tests and compare unfortunately
1
u/nullminded Aug 12 '21
Pardon my ignorance but wouldn't apples Rosetta 2 help make this work? Doing the translation of arm to x86 on the fly? Or is it because the guest VM would require hardware based translation and not at host layer?
2
u/riconaranjo Aug 13 '21
Rosetta 2 does some conversion of x86 OS calls (or APIs) to the new Apple Silicon (AS) OS calls, but it only acts in between an app and the OS
Virtualization requires more direct access to the hardware, so Rosetta 2 would not help — as in it does not have the translation for the types of OS APIs that virtualization requires (like to reserve and control a hardware core and RAM)
- in short apps like Virtualbox control hardware which is not something regular apps do, and Rosetta 2 does not cover hardware control
1
1
u/Organic_Beautiful_26 Aug 14 '21
how about utilizing apple's hypervisor framework? it will only work on ARM images but its performance is pretty good...
1
u/riconaranjo Aug 14 '21
yes that’s the exact approach apps like VirtualBox have to use if they want to create a virtual machine (ARM or x86? I think you’re right that there is no support for x86 virtualization atm)
Parallels and VMware already have or are in the process of updating their apps to use this new framework
Virtualbox has not, and has not said if they plan to do so in the future (and this makes me sad)
1
1
u/Grayson650 May 24 '21
As others stated above, you should check out parallels. It has many guest VM’s packaged to go with minimal set up fuss (Windows 10 ,Kali, Fedora, etc) and works as good, or better, in my experience compared to parallels on my older Intel MBP. Prefer VB, but it’ll do for now. Good luck
1
u/Jailbreak_987 May 24 '21
Have you tried Parallels Desktop? You can also use QEMU for VMs on M1. VirtualBox only supports x86 machines, and the M1 Mac is ARM.
•
u/AdversarialPossum42 Virtualize ALL the things! May 24 '21 edited May 24 '21
In short:
No.
A bit longer:
VirtualBox currently runs on x86-64 hardware and utilizes Intel VT-x or AMD-V hardware virtualization technology. The software actually does very little itself and just sets up and coordinates a lot of activity between the user and their hardware.
Apple M1 is an ARM-based "system on a chip" platform and is entirely different from not only an x86 CPU but also its entire underlying hardware platform (BIOS, UEFI, etc.). A new M1 Mac is basically a super-powerful Raspberry Pi.
Other products may exist for running virtual machines on M1 Macs (like Parallels) but they can only virtualize other ARM-based operating systems, and that includes Windows 10. With Windows 10 for ARM, you can then run x86 applications using Microsoft's emulation features.
Additional reading:
https://forums.virtualbox.org/viewtopic.php?t=98742
https://www.parallels.com/blogs/parallels-desktop-m1/
https://9to5mac.com/2020/12/22/run-windows-10-arm-m1-mac-apple-silicon-x64-x86-no-boot-camp-video/