Create a disk image (.dmg) locally on your Mac, mount it, and use it as the target for createinstallmedia
.
Then you can copy that .dmg
file over your network to Ubuntu and dd
it onto a USB stick there.
bash
CopyEdit
hdiutil create -o /tmp/VenturaInstaller.dmg -size 16g -layout SPUD -fs HFS+J
-
-size 16g
→ adjust size if needed (Ventura needs around 14GB) -
-layout SPUD
→ GUID partition map -
-fs HFS+J
→ Mac OS Extended (Journaled)
bash
CopyEdit
hdiutil attach /tmp/VenturaInstaller.dmg -noverify -mountpoint /Volumes/InstallVentura
bash
CopyEdit
sudo /Applications/Install\ macOS\ Ventura.app/Contents/Resources/createinstallmedia --volume /Volumes/InstallVentura
This will install the macOS installer onto the mounted disk image just like it would on a USB stick.
bash
CopyEdit
hdiutil detach /Volumes/InstallVentura
bash
CopyEdit
hdiutil convert /tmp/VenturaInstaller.dmg -format UDZO -o ~/Desktop/VenturaInstallerCompressed.dmg
Use lsblk
to identify your USB device path (like /dev/sdb
), then:
bash
CopyEdit
sudo dd if=VenturaInstallerCompressed.dmg of=/dev/sdX bs=1M status=progress