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

The Linux Experiment February 15, 2024
Video Thumbnail
The Linux Experiment Logo

The Linux Experiment

@thelinuxexp

About

Making Linux accessible: no techno babble, no super technical content. Just Linux desktop news, simple tutorials, application spotlights, and opinion pieces trying to stay positive, without gatekeeping. I also often reach out to the community to get feedback and poll results, so subscribe to be a part of that :)

Video Description

Head to https://squarespace.com/thelinuxexperiment to save 10% off your first purchase of a website or domain using code thelinuxexperiment Grab a brand new laptop or desktop running Linux: https://www.tuxedocomputers.com/en# 👏 SUPPORT THE CHANNEL: 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 YouTube: https://www.youtube.com/@thelinuxexp/join Patreon: https://www.patreon.com/thelinuxexperiment Or, you can donate whatever you want: https://paypal.me/thelinuxexp Liberapay: https://liberapay.com/TheLinuxExperiment/ 👕 GET TLE MERCH Support the channel AND get cool new gear: https://the-linux-experiment.creator-spring.com/ 🎙️ LINUX AND OPEN SOURCE NEWS PODCAST: Listen to the latest Linux and open source news, with more in depth coverage, and ad-free! https://podcast.thelinuxexp.com 🏆 FOLLOW ME ELSEWHERE: Website: https://thelinuxexp.com Mastodon: https://mastodon.social/web/@thelinuxEXP Pixelfed: https://pixelfed.social/TLENick PeerTube: https://tilvids.com/c/thelinuxexperiment_channel/videos Discord: https://discord.gg/mdnHftjkja Timecodes: 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: https://github.com/quickemu-project QuickGUI: https://github.com/quickemu-project/quickgui/releases 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: ram="16G" 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: fixed_iso="/path/to/image.iso" 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

You May Also Like

Boost Your Virtualization Setup

AI-recommended products based on this video

Loading...
INIU USB C Charger Block, 100W 3-Port PD Fast Charging, Advanced GaN Power Adapter, Foldable Charger with USB C Cable for MacBook Air 13 Pro, iPad, iPhone 17 16 Pro Max, Samsung S25 S24, Switch 2 etc ClimatePartner certified

INIU USB C Charger Block, 100W 3-Port PD Fast Charging, Advanced GaN Power Adapter, Foldable Charger with USB C Cable for MacBook Air 13 Pro, iPad, iPhone 17 16 Pro Max, Samsung S25 S24, Switch 2 etc ClimatePartner certified

(804)
$36.99
FREE delivery Fri, Feb 13
1K+ bought in past month
Loading...
Phone Holder Car for Magsafe Car Accessories [78+LBS Hyper Suction & 4400gf Strongest Magnetic] 360°Adjustable Car Phone Holder Mount, Phone Holders for Car/Gym/Mirror for iPhone 16 Pro Max & Android

Phone Holder Car for Magsafe Car Accessories [78+LBS Hyper Suction & 4400gf Strongest Magnetic] 360°Adjustable Car Phone Holder Mount, Phone Holders for Car/Gym/Mirror for iPhone 16 Pro Max & Android

(89)
$27.99
Prime
Loading...
LISEN USB C Cable 240W - [6.6ft 2Pack] Nylon Braided Type C Cable Fast Charge PD3.1 USBC Fast Charging Data Cord for iPhone 17 16 Pro Max Samsung MacBook Pro,Xbox,iPad Pro/Air, Switch 2

LISEN USB C Cable 240W - [6.6ft 2Pack] Nylon Braided Type C Cable Fast Charge PD3.1 USBC Fast Charging Data Cord for iPhone 17 16 Pro Max Samsung MacBook Pro,Xbox,iPad Pro/Air, Switch 2

(7,293)
$16.13
Prime
2K+ bought in past month
Loading...
GTOCE Portable Charger,40000mAh Power Bank with 22.5W Fast Charging LED Digital Display Battery Pack with 6 Outputs 2 Inputs, Type C Powerbank Portable Charger for iPhone 16 pro Samsung AirPods,Black

GTOCE Portable Charger,40000mAh Power Bank with 22.5W Fast Charging LED Digital Display Battery Pack with 6 Outputs 2 Inputs, Type C Powerbank Portable Charger for iPhone 16 pro Samsung AirPods,Black

(334)
$42.99
FREE delivery Thu, Oct 16
1K+ bought in past month
Loading...
Western Digital 4TB Elements Desktop External Hard Drive, USB 3.0 external hard drive for plug-and-play storage - WDBWLG0040HBK-NESN

Western Digital 4TB Elements Desktop External Hard Drive, USB 3.0 external hard drive for plug-and-play storage - WDBWLG0040HBK-NESN

(25,657)
$183.49
FREE delivery Tue, Jun 17
Loading...
Western Digital 4TB My Book Desktop External Hard Drive, USB 3.0, External HDD with Password Protection and Backup Software - WDBBGB0040HBK-NESN

Western Digital 4TB My Book Desktop External Hard Drive, USB 3.0, External HDD with Password Protection and Backup Software - WDBBGB0040HBK-NESN

(4,704)
$148.98$138.55
FREE delivery Tue, Jun 17
Loading...
Toshiba Canvio Gaming 4TB Portable External Hard Drive USB 3.0, Black for PlayStation, Xbox, PC, & Mac - HDTX140XK3CA

Toshiba Canvio Gaming 4TB Portable External Hard Drive USB 3.0, Black for PlayStation, Xbox, PC, & Mac - HDTX140XK3CA

(4,354)
$149.99
FREE delivery Jun 17 - 19Only 8 left in stock.
Loading...
Toshiba Canvio Advance 4TB Portable External Hard Drive USB 3.0, Red - HDTCA40XR3CA

Toshiba Canvio Advance 4TB Portable External Hard Drive USB 3.0, Red - HDTCA40XR3CA

(15,111)
$139.99
FREE delivery Jun 17 - 19
50+ bought in past month
Loading...
Laptop Sleeve Case 11–14 Inch MacBook Air MacBook Pro Surface Laptop Dell XPS 13 HP Envy Pavilion Lenovo Yoga Slim IdeaPad Acer Swift Chromebook Samsung Galaxy Book Shockproof Leather Bag Colour Blue

Laptop Sleeve Case 11–14 Inch MacBook Air MacBook Pro Surface Laptop Dell XPS 13 HP Envy Pavilion Lenovo Yoga Slim IdeaPad Acer Swift Chromebook Samsung Galaxy Book Shockproof Leather Bag Colour Blue

(98)
$81.45
Loading...
Gumdrop ProTech Case for Dell New XPS 13 Plus 9320 Laptop- Slim Lightweight Case with Energy Displacement Protection, Non-Skid Rubber Feet and Frosted Exterior for Bumps and Drops (Black)

Gumdrop ProTech Case for Dell New XPS 13 Plus 9320 Laptop- Slim Lightweight Case with Energy Displacement Protection, Non-Skid Rubber Feet and Frosted Exterior for Bumps and Drops (Black)

(49)
$109.43$108.34
FREE delivery Aug 11 - 13
Loading...
65W 45W USB C Laptop Charger Compatible with Dell Latitude 5420 5430 5520 5530 7340 7430 Inspiron 14 16 XPS 13 Chromebook 3100 Dell Computer Type C Fast Charging AC Adapter Power Cord

65W 45W USB C Laptop Charger Compatible with Dell Latitude 5420 5430 5520 5530 7340 7430 Inspiron 14 16 XPS 13 Chromebook 3100 Dell Computer Type C Fast Charging AC Adapter Power Cord

(7)
$19.99
FREE delivery Sun, Aug 24 on your first order
Loading...
45W 65W AC Adapter Laptop Charger for Dell Inspiron 15 14 13 17 3000 5000 7000 Series 5558 5559 Charger Latitude E6440 E6430 3520 3420 XPS 13 14 9333 9350 Notebook Dell Computer Power Supply Cord

45W 65W AC Adapter Laptop Charger for Dell Inspiron 15 14 13 17 3000 5000 7000 Series 5558 5559 Charger Latitude E6440 E6430 3520 3420 XPS 13 14 9333 9350 Notebook Dell Computer Power Supply Cord

(52)
$13.99
FREE delivery Sun, Aug 24 on your first order
100+ bought in past month
Loading...
HSSDTECH CMOS Battery Cable Replacement for Lenovo ThinkPad T490 T590 P53s /P16 Gen 1 Gen 2/P16v Gen 1/T14 Gen 1 Gen 2/P14s Gen 1 Gen 2 02HK903 02HK904 02HK905 SB10G62453 GC000000700

HSSDTECH CMOS Battery Cable Replacement for Lenovo ThinkPad T490 T590 P53s /P16 Gen 1 Gen 2/P16v Gen 1/T14 Gen 1 Gen 2/P14s Gen 1 Gen 2 02HK903 02HK904 02HK905 SB10G62453 GC000000700

(0)
$66.39$64.89
FREE delivery Jun 19 - 23Only 5 left in stock.
Loading...
ThinkPad 65W 45 Watt USB C Laptop Charger for Lenovo Thinkpad T480 T480s T490 T580 T580s T14 E480 E580 E590 E495 X1 C930 C940, Yoga 7i ADLX65YDC2A Chromebook 300e Computer Type-C AC Adapter Power Cord

ThinkPad 65W 45 Watt USB C Laptop Charger for Lenovo Thinkpad T480 T480s T490 T580 T580s T14 E480 E580 E590 E495 X1 C930 C940, Yoga 7i ADLX65YDC2A Chromebook 300e Computer Type-C AC Adapter Power Cord

(1,155)
$26.09
FREE delivery Tue, Jun 17 on your first order
50+ bought in past month
Loading...
65W USB C for Lenovo Laptop Charger for Lenovo Thinkpad/Chromebook/Ideapad/Yoga Series-USB C Laptop Charger for Lenovo T14 Thinkpad T480 T490 Yoga 7i 9i Thinkpad X1 Carbon

65W USB C for Lenovo Laptop Charger for Lenovo Thinkpad/Chromebook/Ideapad/Yoga Series-USB C Laptop Charger for Lenovo T14 Thinkpad T480 T490 Yoga 7i 9i Thinkpad X1 Carbon

(11)
$24.09
FREE delivery Sun, Jun 22 on your first order
500+ bought in past month
Loading...
USB-C Laptop Charger 65W 45W For Lenovo Laptop Charger Lenovo Thinkpad Chromebook Yoga T480 T490 T580 E580 300e 500e C330 S340 730 C930,Hp Chromebook Probook EliteBook,Dell Latitude XPS 3420 5520 7420

USB-C Laptop Charger 65W 45W For Lenovo Laptop Charger Lenovo Thinkpad Chromebook Yoga T480 T490 T580 E580 300e 500e C330 S340 730 C930,Hp Chromebook Probook EliteBook,Dell Latitude XPS 3420 5520 7420

(574)
$28.99
FREE delivery Tue, Jun 17 on your first order
500+ bought in past month
Loading...
MSI MAG MT201D - Premium Heavy Duty Dual Monitor Stand Arms, 17-45" Support, VESA Compatible, Adjustable Spring Mount, 44 lbs per Screen, Clamp & Grommet, Quick Release Plate - Black

MSI MAG MT201D - Premium Heavy Duty Dual Monitor Stand Arms, 17-45" Support, VESA Compatible, Adjustable Spring Mount, 44 lbs per Screen, Clamp & Grommet, Quick Release Plate - Black

(168)
$124.99
FREE delivery Wed, Jan 14
50+ bought in past month
Loading...
Lemorele Docking Station Dual Monitor, 6 in 1 USB C Hub Multiport Adapter w/2 HDMI 4K, 5Gbps USB3.0 & 2 USB2.0, 100W PD Charging - USB C Dock for Laptop Dell/HP/MacBook/Surface - Plug and Play
Best Seller

Lemorele Docking Station Dual Monitor, 6 in 1 USB C Hub Multiport Adapter w/2 HDMI 4K, 5Gbps USB3.0 & 2 USB2.0, 100W PD Charging - USB C Dock for Laptop Dell/HP/MacBook/Surface - Plug and Play

(1,822)
$27.19
Prime
1K+ bought in past month
Loading...
USB C Docking Station Dual Monitor for Dell Hp,15-in-1 Laptop Docking Station 3 Monitors USB C Hub with Dual 4K HDMI,8K DP,Button,PD Charging,Ethernet,6 USB A&C,SD/TF, Audio USB-C Multiport Adapter

USB C Docking Station Dual Monitor for Dell Hp,15-in-1 Laptop Docking Station 3 Monitors USB C Hub with Dual 4K HDMI,8K DP,Button,PD Charging,Ethernet,6 USB A&C,SD/TF, Audio USB-C Multiport Adapter

(1,359)
$67.98
FREE delivery Sun, Aug 24
100+ bought in past month
Loading...
InnoView Laptop Screen Extender 15.6" Dual Portable Monitors 1080P FHD Stacked Folding Triple Monitor HDMI USB-C Portable Dual Monitor for Laptop Windows Mac (No Driver Needed)

InnoView Laptop Screen Extender 15.6" Dual Portable Monitors 1080P FHD Stacked Folding Triple Monitor HDMI USB-C Portable Dual Monitor for Laptop Windows Mac (No Driver Needed)

(605)
$379.99
FREE delivery Mon, Aug 11
Loading...
TEAMGROUP Elite DDR4 16GB Kit (2 x 8GB) 3200MHz PC4-25600 CL22 Unbuffered Non-ECC 1.2V SODIMM 260-Pin Laptop Notebook PC Computer Memory Module Ram Upgrade - TED416G3200C22DC-S01

TEAMGROUP Elite DDR4 16GB Kit (2 x 8GB) 3200MHz PC4-25600 CL22 Unbuffered Non-ECC 1.2V SODIMM 260-Pin Laptop Notebook PC Computer Memory Module Ram Upgrade - TED416G3200C22DC-S01

(3,629)
$57.46
$7.05 delivery Jun 17 - 20Only 3 left in stock.
Loading...
Dell Inspiron 3030 Desktop - Intel Core i7-14700 Processor, 16GB DDR5 RAM, 1TB SSD, Intel UHD 770 Graphics, Windows 11 Pro, Onsite & Migrate Service - Mist Blue

Dell Inspiron 3030 Desktop - Intel Core i7-14700 Processor, 16GB DDR5 RAM, 1TB SSD, Intel UHD 770 Graphics, Windows 11 Pro, Onsite & Migrate Service - Mist Blue

(422)
$1,308.10
$112.52 delivery Sep 2 - 12Only 1 left in stock.
Loading...
acer Aspire Go 15 AG15-31P-31C1-CA, 15.6" FHD, Intel Core i3-N305 Processor, 8GB DDR5, 512GB SSD, Windows 11

acer Aspire Go 15 AG15-31P-31C1-CA, 15.6" FHD, Intel Core i3-N305 Processor, 8GB DDR5, 512GB SSD, Windows 11

(81)
$399.99
FREE delivery Sat, Jun 21
50+ bought in past month
Loading...
Dell Inspiron 7640 Laptop - 16.0-inch 16:10 2.5K (2560x1600) Display, Intel Core Ultra 7-155H Processor, 16GB DDR5 RAM, 1TB SSD, Windows 11 Home, Onsite Service & Migrate - Ice Blue EPEAT

Dell Inspiron 7640 Laptop - 16.0-inch 16:10 2.5K (2560x1600) Display, Intel Core Ultra 7-155H Processor, 16GB DDR5 RAM, 1TB SSD, Windows 11 Home, Onsite Service & Migrate - Ice Blue EPEAT

(395)
$1,719.89
FREE delivery Sun, Aug 24
Loading...
Intel Core i9-12900KF Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unlocked LGA1700 600 Series Chipset 125W

Intel Core i9-12900KF Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unlocked LGA1700 600 Series Chipset 125W

(949)
$459.95