OSX - How to install on VMware

Following guide will help install Mac OS X into VMware virtual image.

Create installation media:

hdiutil create -size 6GB -fs JHFS+ -volname "macOS_installmedia" -type SPARSE ~/Desktop/macOS_installmedia

hdiutil mount ~/Desktop/macOS_installmedia.sparseimage

sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/macOS_installmedia/

Find dev:

diskutil list

/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_HFS Disk 999.3 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3

/dev/disk1 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk1
1: EFI EFI 209.7 MB disk1s1
2: Apple_HFS Datadisk 999.9 GB disk1s2

/dev/disk2 (disk image):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme +6.4 GB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_HFS Install macOS High S… 6.1 GB disk2s2

Create new virtual machine in VMware. Name id osx10_14

Create install media:

/Applications/VMware\ Fusion.app/Contents/Library/vmware-rawdiskCreator create /dev/disk4 2 /Volumes/SSD/osx10_14.vmwarevm/macOS_installmedia lsilogic

Edit vmx file:

vi /Volumes/SSD/osx10_14.vmwarevm/osx10_14.vmx

Add following lines:
sata0:2.present = "TRUE"
sata0:2.fileName = "macOS_installmedia.vmdk"
sata0:2.deviceType = "rawDisk"
suspend.disabled = "TRUE"

Start the virtual machine. The installation should start.

Nastaveni pro INITED:
- casova zona
- pozadi jednobarevna plocha
- vypnout sporic obrazovky
- security&privacy: vypnout zamykani
- Sharing: enable remote login for all users, nastavit hostname
- klavesnice: nejvetsi rychlost, rozlozeni US, vypnout automaticke opravy
- vyhazet nesmysly z dolni listy, pridat terminal
- nastaveni Safari: show full website address, default encoding utf-8, show develop menu

Nainstalovat VMWare Tools

Udelat aktualizace

Navod: https://forums.developer.apple.com/thread/48639

dev
Není-li uvedeno jinak, obsah této stránky je pod licencí Creative Commons Attribution-ShareAlike 3.0 License