Kali-OVA-on-Apple-Silicon
Running the Instructor's Kali .ova on an Apple Silicon Mac (M1/M2/M3/M4)
This guide takes the .ova file the instructor gave you and gets it running on an Apple Silicon Mac using UTM.
Read this first
- The instructor's VM is an Intel (x86-64) machine. Apple Silicon Macs use ARM chips, so the VM has to be emulated. It works, but it is noticeably slower than on an Intel PC. That is expected.
- VirtualBox and VMware Fusion will NOT work. On Apple Silicon they only run ARM operating systems. UTM is the only practical option for this
.ova.- You need a lot of free disk space (see Step 0). Running out of space mid-setup is the #1 cause of failures.
Step 0 — Check your free disk space
You need at least 60 GB free during setup. When you're finished, you'll get most of that back.
| What | Size (approx.) |
|---|---|
The .ova you downloaded | ~20 GB |
Extracted .vmdk (temporary) | ~20 GB |
Converted .qcow2 (the final VM disk) | ~20 GB |
To check your free space, open Terminal and run:
df -h ~ | tail -1Look at the Avail column. If you have less than 60 GB, free up space before continuing.
Step 1 — Install the tools
- UTM: download it from https://mac.getutm.app and drag it into Applications.
- Homebrew: skip this if
brew --versionalready works in Terminal. Otherwise, install it from https://brew.sh. - QEMU gives you the
qemu-imgdisk conversion tool:
brew install qemuStep 2 — Extract the .ova
An .ova is just a tar archive. In these commands, replace the filename with the name of your .ova, and keep the quotes because the name contains spaces.
cd ~/Downloads
mkdir -p KaliVM
cd KaliVM
tar -xvf "../Ethical Hacking Kali.ova"
ls -lhYou should see three files:
Ethical Hacking Kali.ovf: the VM's settingsEthical Hacking Kali-disk001.vmdk: the virtual hard disk, about 20 GBEthical Hacking Kali.mf: checksums
The extraction takes a few minutes.
Step 3 — Convert the disk to .qcow2
UTM can't use .vmdk disks, so convert it:
qemu-img convert -p -c -f vmdk -O qcow2 "Ethical Hacking Kali-disk001.vmdk" kali.qcow2-pshows a progress bar. The conversion takes 10–20 minutes.-ccompresses the disk. Don't skip it. Without it, the file grows to about 70 GB, which can fill your disk.
When it finishes, verify the result:
qemu-img check kali.qcow2You should see "No errors were found on the image."
Step 4 — Create the VM in UTM
Related
- Open UTM and click + (Create a New Virtual Machine).
- Choose Emulate, not Virtualize.
- Operating System: Other.
- Boot Device: None. Click Continue.
- Hardware:
- Architecture: x86_64
- System: leave the default, Standard PC (Q35)
- Memory: 4096–8192 MB (8192 if your Mac has 16 GB of RAM or more)
- CPU Cores: 4. Don't leave it on the default, or it will be very slow.
- Storage: set the size to 1 GB. This is a temporary placeholder disk that you replace in Step 5. Click Continue.
- Shared Directory: skip it. Click Continue.
- Summary: name the VM
Kali, tick Open VM Settings, and click Save. - In the settings window that opens:
- QEMU: untick "UEFI Boot". ⚠️ This is required, because the VM uses legacy BIOS and won't boot with UEFI enabled.
- Drives: click the drive. Make sure the Interface is IDE.
- Display:
virtio-vga - Network: leave the default (Shared Network).
- Click Save.
Don't start the VM yet.
Step 5 — Swap in the real disk
Why not just use "Import Drive" in UTM? When UTM imports a disk, it decompresses it, and the copy grows to about 70 GB. On most laptops that fills the disk, and the import fails partway through. Swapping the file in manually keeps it at about 20 GB.
-
Quit UTM completely with ⌘Q.
-
Open the folder that holds the placeholder disk:
open ~/Library/Containers/com.utmapp.UTM/Data/Documents/Kali.utm/DataThe path assumes you named the VM
Kaliin Step 4. Use your name if it's different. -
A Finder window opens with one
.qcow2file that has a long random name, likeA1B2C3D4-....qcow2. Copy that filename:
4. Select the file.
5. Press Return to edit the name.
6. Press ⌘A then ⌘C.
7. Press Esc. -
Move the real disk in and give it the placeholder's name. This replaces the placeholder. In these commands, replace
PASTE-NAME-HERE.qcow2with the name you copied:cd ~/Library/Containers/com.utmapp.UTM/Data/Documents/Kali.utm/Data mv -f ~/Downloads/KaliVM/kali.qcow2 "PASTE-NAME-HERE.qcow2" ls -lhThe file should now be about 20 GB, not 1 GB.
Step 6 — Start Kali
- Open UTM, select Kali, and press ▶️ once.
- Be patient. A black screen for 1–3 minutes is normal under emulation. Don't press ▶️ again; see the troubleshooting section if you already have.
- Log in with the username and password your instructor gave you.
Step 7 — Install guest tools (recommended)
The guest tools add copy/paste between your Mac and Kali and make the screen resize with the window. In a terminal inside Kali, run:
sudo apt update && sudo apt install -y spice-vdagent qemu-guest-agent
sudo rebootAfter the reboot, if copy/paste or resizing still doesn't work, the VM probably has leftover VirtualBox tools. Remove them:
sudo apt purge -y 'virtualbox-guest-*' && sudo rebootIf clipboard sharing still doesn't work, shut down the VM, then in UTM go to VM Settings → Sharing and enable Clipboard Sharing.
Step 8 — Clean up
Once Kali boots, you no longer need these:
rm -rf ~/Downloads/KaliVM # extracted .vmdk (~20 GB)
rm ~/Downloads/"Ethical Hacking Kali.ova" # original download (~20 GB). Optional, see belowKeeping the .ova costs 20 GB but lets you start over from scratch if something breaks. Your call.
Where the VM lives
~/Library/Containers/com.utmapp.UTM/Data/Documents/Kali.utm
Data/*.qcow2is Kali's hard disk. Everything you do inside Kali is stored here.- The disk grows as you install tools and save files, up to the 80 GB size Kali sees. Keep an eye on your Mac's free space.
- To back up the VM, quit UTM and copy the whole
Kali.utmfolder somewhere else, such as an external drive. To restore it, double-click the copy.
To shut down, use the power button in UTM or run sudo poweroff inside Kali. Don't just close the window.
Troubleshooting
| Problem | Cause | Fix |
|---|---|---|
failed to initialize spice server | Your Mac's disk is full. | Run df -h ~, free up space, then start the VM again. If this happened during a UTM "Import Drive", that disk copy is probably incomplete. Redo Step 5. |
Is another process using the image [...]? | An earlier start of the VM is still running invisibly in the background. This usually happens after pressing ▶️ more than once. | Quit UTM with ⌘Q. If the error persists, open Activity Monitor, search for QEMULauncher, and Force Quit it. Then start the VM again, pressing ▶️ only once. |
| Black screen / "No bootable device" / UEFI shell | UEFI Boot is on. | Shut down the VM. In Settings → QEMU, untick UEFI Boot. This setting can switch back on after you edit settings, so check it again. |
Stuck at a (initramfs) prompt | Wrong drive interface. | In Settings → Drives, set the Interface to IDE. |
| Very slow | Emulation, or too few CPU cores. | Set CPU Cores to 4 in Settings → System. Some slowness is unavoidable; this is an Intel VM running on an ARM Mac. |
| The window doesn't resize | Guest tools are missing. | Do Step 7, then enable Resize display to window size automatically in UTM's display options. |