Matthew Palmer Top Articles Vanilla Rocket Kubernetes Book Standing Invitation

How to Install VirtualBox on macOS Mojave and High Sierra

I tried to install VirtualBox on macOS High Sierra, but I got an error about kernel drivers, system extensions, and kernel modules not being installed. The VirtualBox installer fails with “The installation failed” where it “encountered an error that caused the installation to fail.”

This guide has been updated for macOS Mojave as well.

Go to System Preferences > Security & Privacy. Click the ‘Allow’ button at the bottom. Re-run the installer. More detailed instructions are below.

VirtualBox on macOS failed to install

VirtualBox has an error when installing.

VirtualBox allow kernel modules

VirtualBox install success on High Sierra

How to add a shared folder for Ubuntu on a macOS High Sierra Host?

Here’s how to share files between a Ubuntu virtual machine and macOS High Sierra on VirtualBox.

My products
💅 Vanilla – hide icons from your Mac menu bar for free
🚀 Rocket – super-fast emoji shortcuts everywhere on Mac… :clap: → 👏
📖 Kubernetes – my book on Kubernetes for web app developers
😄 Emoji Bullet List – easily emojify your bullet point lists (like this one!)

Jump on my email list to get sent the stuff that’s too raunchy for the blog.
(Seriously though, it’s a once-a-month update on apps I’ve built, tips for your Mac, and other relevant info.)