Zum Inhalt

Schlagwort: apple

Note to self: Install MacOS in Virtualbox

Grab MacOS

Clone https://github.com/thenickdude/OSX-KVM

sudo apt install qemu-utils make
cd scripts/bigsur
make BigSur-recovery.img
vboxmanage convertdd BigSur-recovery.img BigSur-recovery.vmdk
  • Using MacOS Profile in Virtualbox, create a new VM.
  • Remove CD-Drive. Add second SATA Disk with previously created VMKD
  • Disable Floppy Boot
  • Set RAM / CPU to sane values
  • Set Video RAM to 128MB
  • Set USB Emulation to USB3.0

After creating the VirtualBox VM

VBoxManage modifyvm "macOS" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "macOS" VBoxInternal/Devices/efi/0/Config/DmiSystemProduct "MacBookPro15,1"
VBoxManage setextradata "macOS" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-551B86E5744E2388"
VBoxManage setextradata "macOS" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
VBoxManage setextradata "macOS" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
VBoxManage setextradata "macOS" VBoxInternal2/EfiGraphicsResolution 1280x800

For Ryzen, add

VBoxManage modifyvm "macOS" --cpu-profile "Intel Core i7-6700K"


Bigsur works.

Don't update to MacOS12 Monterey yet. Fresh installation also won't work. MacOS and/or the Installer of Monterey are randomly crashing.

1 Comment

Preferred settings for Macs Fan Control on older iMacs that run hot and make funny noises

Yesterday I encountered a customers iMac which ran crazy hot on the backside. Macs Fan Control indicated that the PSU was running on 70°C and more, and something made a buzzing sound (like a wire dangling inside a fan, which was not the case).

So I decided to set up the fans manually, the Mac now runs much cooler and still it's not too loud.

Here's my settings:

Set everything to manual
ODD Fan is controlled by GPU Diode. 40°C – 75°C (this controls the right hand side of the iMac)
The HDD fan is controlled by the HDD temperature. We set it to 45°C – 55°C. If your disk runs hotter, you'll shorten its lifetime and jeopardize your data. This stuff is sitting in the middle of the iMac case.
OK, and this one here is most important. Set the CPU fan to be controlled by the PSU Primary temperature.

I learned that Apple did decide to "cool" the PSU by blowing the CPUs hot air onto it. Duh. So since we need to make sure the PSU does not overheat and melt your display panels LED strips on the right side, we set the CPU fan speed in relation to the PSU temperature. We want the PSU to be 40°C – 53°C. The CPU temperature will also stay in this healthy temperature range.

Download Macs Fan Control on the dev's website, on github, or from my local mirror (v4.1.12).