Problems
I’m now currently using MacBook Pro 14-inch 2021 which uses Apple Silicon (based on Aarch64).
While the .ovi
image given by our professor is based on x86_64.
VMWare Fusion 13 can run on Apple Silicon Mac, but can not run x86 virtual machines.
Oracle VirtualBox 7 beta can run also run on Apple Silicon Mac (Using rosetta), but can not create x86 virtual machines.
After several hours trying, I finally find a proper way to solve this problem.
Preparation
- Install UTM for Mac (actually it is also available for iOS and iPadOS) [LINK]
PintOS.ova
/PintOS.qcow2
(EXCELLENT!!! 👐)
Step1 Convert .ova into .qcow2
Run in Terminal:
brew install qemu
tar -xvf OS.ova
qemu-img convert -O qcow2 Ubuntu-disk001.vmdk PintOS.qcow2
Now, we only need the PintOS.qcow2
file, everything else from .ova is not needed any more.
Step2 Create the Machine
- Open UTM.
- Choose ‘Create a New Virtual Machine’
- Choose ‘Emulate’
- Choose ‘Other’ and pick ‘Skip ISO boot’
- Deploy as much Memory and CPU Cores as you can. Reference: my MacBook is 8 Cores + 16 GB.
- For storage, I guess for learning purpose, 64GB is enough.
- Choose a shared folder if needed.
- Name your machine and done.
- Right click your machine and edit.
- System - ✅Force Multicore
- QEMU - ❌UEFI Boot
- Display - ✅Retina Display
- New Drive - NVMe - Choose the
PintOS.qcow2
file. - Save settings.
Step3 Boot the Machine
- Run and press <ESC> immediately.
- Press
2
to choose NVMe option. - Pray for the success!!!