Three macOS VMs in Linux: One Success

Опубликовано: 21 Октябрь 2025
на канале: Studio 3B Rocks
785
19

I tried three different ways to get a macOS virtual machine (Ventura) on Linux. One way worked. Let's take a look a what worked (and what didn't).

Using macOS Ventura on Fedora 30 Workstation

To Create a macOS ISO:
--------------------------------------
softwareupdate --list-full-installers;echo;echo "Please enter version number you wish to download:";read;$(if [ -n "$REPLY" ]; then; echo "softwareupdate --fetch-full-installer --full-installer-version "$REPLY; fi);

hdiutil create -o /tmp/Ventura -size 15000m -volname Ventura -layout SPUD -fs HFS+J
hdiutil attach /tmp/Ventura.dmg -noverify -mountpoint /Volumes/Ventura
sudo /Applications/Install\ macOS\ Ventura.app/Contents/Resources/createinstallmedia --volume /Volumes/Ventura --nointeraction
hdiutil detach /Volumes/Install\ macOS\ Ventura
hdiutil convert /tmp/Ventura.dmg -format UDTO -o ~/Desktop/Ventura.cdr
mv ~/Desktop/Ventura.cdr ~/Desktop/Ventura.iso

Oracle Virtualbox Commands:
-----------------------------------------------
VBoxManage modifyvm "macOS Ventura" --cpuid-set 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "macOS Ventura" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro15,1"
VBoxManage setextradata "macOS Ventura" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "macOS Ventura" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-551B86E5744E2388"
VBoxManage setextradata "macOS Ventura" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "---"
VBoxManage setextradata "macOS Ventura" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
VBoxManage setextradata "macOS Ventura" "VBoxInternal/TM/TSCMode" "RealTSCOffset"


Links:
---------
Oracle VM Virtualbox: https://www.virtualbox.org/
MySpaghetti macOS-virtualbox: https://github.com/myspaghetti/macos-...
kholia OSX-KVM: https://github.com/kholia/OSX-KVM


0:00 Intro
0:30 First Attempt
4:26 Second Attempt
5:38: Third Attempt