1. VirtualBox
-
Browse to https://archive.org/details/macOS-X-images.
-
Select ISO IMAGE.
-
Select Sonoma 14.iso to start the download.
-
Move the 14.1 GB Sonoma.iso file to the D:\_Images\macOS folder.
-
Right-click the .iso file and select 7-Zip > Test archive.
-
Start VirtualBox 7.2.6.
-
Create a new virtual machine with the following settings.
*General > Identity*
VM Name macOS 14 Sonoma
OS Mac OS X
OS Version Mac OS X (64-bit)
*General > Features*
Shared Clipboard Bidirectional
Drag-and-Drop Disabled
*System > Motherboard*
Base Memory 8192 MB
Chipset ICH9
TPM Version None
Pointing Device USB Tablet
Features ■ I/O APIC
■ Hardware Clock in UTC
■ UEFI
□ Secure Boot
*System > Processor*
Number of CPUs 4
Processing Cap 100%
Features ■ PAE/NX
□ Nested VT-x/AMD-V
*System > Acceleration*
Paravirtualization Interface Default
Hardware Virtualization ■ Nested Paging
*Display > Screen*
Video Memory 128 MB
Number of Virtual Monitors 1
Scale Factor 100%
Graphics Controller VBoxVGA
Features □ 3D Acceleration
*Storage*
Controller: SATA
macOS 14 Sonoma.vdi Hard Disk SATA Port 0
■ Solid-state Drive
□ Hot-pluggable
*Shared Folders*
Machine Folders
Name Path Access Auto Mount At
C_DRIVE C:\ Full Yes
-
Close VirtualBox.
-
Enter the following commands at a Command Prompt.
cd "C:\Program Files\Oracle\VirtualBox" VBoxManage.exe modifyvm "macOS 14 Sonoma" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff :: VBoxManage setextradata "macOS 14 Sonoma" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" VBoxManage setextradata "macOS 13 Ventura" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac19,3" :: VBoxManage setextradata "macOS 14 Sonoma" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro15,1" VBoxManage setextradata "macOS 14 Sonoma" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "macOS 14 Sonoma" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" :: VBoxManage setextradata "macOS 14 Sonoma" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-551B86E5744E2388" VBoxManage setextradata "macOS 14 Sonoma" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "macOS 14 Sonoma" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 -
Start VirtualBox.
-
Start the macOS 14 Sonoma virtual machine.
-
Wait several minutes for the virtual machine to start up.
-
Select English.
-
Click →.
-
Select Disk Utility.
-
Click Continue.
-
Select VBOX HARDDISK Media.
-
Click Erase.
Name Untitled Format APFS Scheme GUID Partition Map
-
Click Erase to confirm.
-
Click Done.
-
Select Disk Utility > Quit Disk Utility.
-
Select Install macOS Sonoma.
-
Click Continue.
-
Click Continue to confirm.
-
Click Agree.
-
Click Agree to confirm.
-
Select the Untitled disk.
-
Click Continue.
-
Select Netherlands/Thailand for the country or region.
-
Click Continue.
-
Select Customize Settings.
-
Click the + button.
-
Select English (US).
-
Click Add.
-
Click Continue.
-
Select U.S. for the input source.
-
Click Add.
-
Select English (United Kingdom) for the dictation source.
-
Click Continue.
-
Click Not Now to skip accessibility features.
-
Click Continue.
-
Click Not Now to skip transferring data from another computer.
-
Click Set Up Later to skip signing in with an Apple ID.
-
Click Skip to confirm.
-
Click Agree.
-
Click Agree to confirm.
Full name: Delta Account name: delta Password: ******** Verify: ******** Hint: Level 2
-
Click Continue.
-
Select Customize Settings.
-
Uncheck Enable Location Services on this Mac.
-
Click Continue.
-
Click Don’t Use to confirm.
Time Zone: Central European Standard Time Indochine Time Closest City: Amsterdam - Netherlands Bangkok - Thailand
-
Click Continue.
-
Uncheck Share Mac Analytics with Apple.
-
Uncheck Share crash and usage data with app developers.
-
Click Continue.
-
Select the light appearance.
-
Click Continue.
-
Click Set Up Later to skip Screen Time.
-
Uncheck Enable Ask Siri.
-
Click Continue.
-
Select the Light look.
-
Click Continue.
-
Wait.
-
Close the Keyboard Setup Assistant.
-
Select Apple > Shut Down.
-
Click Shut Down to confirm.
-
Close VirtualBox.
2. Configuration
2.1. Computer name
-
Start System Preferences.
-
Select Sharing.
Computer Name: vbox-mac-sonoma
-
Close System Preferences.
2.2. SSH Server
-
Start System Preferences.
-
Select Sharing.
-
Check Remote Login.
-
Choose Only these users.
-
Click the + button.
-
Select SMRU.
-
Click Select.
Administrators Delta
-
Close System Preferences.
2.3. Updates
-
Type
sudo softwareupdate -land press Enter. -
Type
sudo softwareupdate -i -aand press Enter. -
Wait.
-
Select Apple > App Store.
-
Select Updates.
-
Wait.
-
Close App Store.
2.4. Environment Variables
sudo cp -a /etc/profile /etc/profile.orig
-
Append the following lines to the /etc/profile file.
export DELTA_LOCATION='VirtualBox' export DELTA_ROOM='VirtualBox' export DELTA_SYSTEM_DISK='' export DELTA_USER='IT' export DELTA_WAKE_ON_LAN='xx:xx:xx:xx:xx:xx' export DELTA_WARRANTY_EXPIRES='-' export DELTA_WINDOWS_LICENSE_LABEL='-'
3. Configuration
3.1. Screen Sharing
-
Note: This setting is for Windows VNC Viewer remote session.
-
Start System Preferences.
-
Click Sharing.
-
Check Screen Sharing.
-
Click Computer Settings.
-
Check VNC viewers may control screen with password.
-
Type the password in the VNC viewers may control screen with password field.
-
Click OK.
-
Choose Only the users.
-
Make sure Administrators is in the list.
-
Close System Preferences.
3.2. SSH
-
See SSH for macOS.
3.3. Time Zone
-
Start System Preferences.
-
Select Date & Time.
-
Select the Time Zone tab.
-
Click the lock icon.
-
Type the password.
-
Click Unlock.
-
Select Bangkok - Thailand.
-
Click the lock icon to re-lock the settings.
-
Close System Preferences.
4. Map Network Share
-
Start Finder.
-
Select Go > Connect to Server.
-
Public$ share: Type
smb://SMRU-SRV/Public$for the Server Address. -
Shared$ share: Type
smb://SMRU-SRV/Shared$for the Server Address. -
Teams$ share: Type
smb://SMRU-SRV/Teams$for the Server Address. -
Click Connect.
-
Click Connect to confirm.
-
Choose Registered User.
Name: SMRU\Visitor Password: ******** □ Remember this password in my keychain
-
Click Connect.
-
Do your thing.
-
Select SMRU-SRV > Eject.
-
Close Finder.