Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 1.75 KB

README.md

File metadata and controls

27 lines (24 loc) · 1.75 KB

Running OS X(macOS) under Virtual Box

I didn't own this method at any way. I found this config in one of russian forums. PR me or write an issue, if you found some interesting things.

  1. Remember: This is illegal to run macOS on non-Macintosh devices. So, fuck you Apple, for your licences!
  2. Create a VM for macOS.
  3. Check is EFI enabled.
  4. Close VirtualBox. (really important, because VBox loads VM config once at start and rewriting it on close)
  5. Open a folder with *.vbox. (must be in VirtualBox VM//.vbox
  6. Find XML section.
  7. Add these lines at the end of section. Before </ExtraData>
      <ExtraDataItem name="VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" value="Iloveapple"/>
      <ExtraDataItem name="VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" value="MacBookPro11,3"/>
      <ExtraDataItem name="VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" value="1.0"/>
      <ExtraDataItem name="VBoxInternal/Devices/smc/0/Config/DeviceKey" value="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"/>
      <ExtraDataItem name="VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" value="1"/>
      <ExtraDataItem name="VBoxInternal2/EfiBootArgs" value="  "/> <!-- Use this to pass boot args to OSX -->
      <ExtraDataItem name="VBoxInternal2/EfiGopMode" value="3"/> <!-- https://www.virtualbox.org/manual/ch03.html#efividmode -->
  1. Convert installation CD to ISO. (don't use patched versions of OS)
  2. Run VM and install it as usually. After installation you will have working macOS copy.

Known Issues

  • For some reason XCode didn't installing from AppStore.
  • Graphics are slow. Possible solution: Enable SSH and just login it from your host. CLI rocks here. (tell me how to disable graphics, please)