How to run macOS on Linux (without too much hassle)

Head to to save 10% off your first purchase of a website or domain using code thelinuxexperiment

Grab a brand new laptop or desktop running Linux:

Get access to:
- a Daily Linux News show
- a weekly patroncast for more personal thoughts
- polls on the next topics I cover,
- your name in the credits


Or, you can donate whatever you want:

Support the channel AND get cool new gear:

Listen to the latest Linux and open source news, with more in depth coverage, and ad-free!



00:00 Intro
00:35 Sponsor: Squarespace
01:33 Quickemu & QuickGUI
03:02 Graphical Setup
04:51 CLI setup
05:18 Install macOS
07:38 Configure the VM
09:56 Limitations
13:01 What you can do
15:25 Sponsor: Tuxedo Computers
16:34 Support the channel

#Linux #vm #macos #macosventura #macosmonterey


Quickemu thing is a simple program that uses Qemu to automatically create vms for a bunch of operating systems, whether that's macOS, Linux or Windows.

So, if you went for the GUI, it's all extremely simple: you launch QuickGUI after installing it. The app might take a while to display anything inside the window, but once it does, you can click on "Create new machines".

You then get to pick the directory where you want to set things up, and the operating system you want to install. Once the download is done, click "dismiss", and then the little "X" in the top left to close the downloader part of the app. You can then click "manage existing machines", and click the little "play" button next to your macOS VM, and you're good to go, you should land in the setup for macOS.

If you don't want to use a GUI, you can run quickemu using the command line.

quickget macos monterey
quickemu --vm macos-monterey.conf

Inside macOS, open disk utility, and select the hard drive that was created for you, it should be about 100 gigs. Click the erase button in the top right corner, and rename the disk.

Confirm, and then close Disk utility. Click "reinstall mac os monterey", and proceed to select your recently erased hard drive, and to accept the licensing terms.

The install will then run, it takes a long while. On my own computer, it took about 1h to complete, so be patient. Once the install is done, you should be able to reboot into a macOS session.

To change the configuration of the VM, you have a text file, that is stored in the directory you picked at install, in my case, it's in my home folder. It should be called macos-monterey.conf.

By default, you'll only use 2 CPU cores, I changed that to 4, as my system can handle that without any problem. Just change the number after the cpu_cores parameter.

If you want to give the VM more RAM, add the following line:

You'll also want to enable TRIM: open the terminal app from macOS

sudo trimforce enable

If you want to pass a CD ROM as an ISO to the VM, add this to the config file of the VM:


Now, of course, it's a VM, so there are limitations. First, 3D acceleration won't be good here.

If you can't login to any icloud services or the mac App Store, you'll also have to run a little command.
To solve that, you can open the macOS system preferences, then go to network, and delete all the network devices.

Then you'll need to open the macOS terminal app, and type the following command line:

sudo rm /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist

Дата на публикация: 19 февруари, 2024
Категория: Наука и технология
Ключови думи: to On Too How without run much Linux hassle macOS

Показване на още

Коментарите под този видео клип са забранени.