Advertisement
Guest User

Untitled

a guest
Apr 19th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.52 KB | None | 0 0
  1. #  1. Create new VM names "High Sierra";
  2. #  2. Create at least 50gb hard drive named "High Sierra";
  3. #  3. Change the settings to at least 4gb ram; min 2 cores and 128mb graphics-memory;
  4. #  4. Deactivate "Floppy-Disk" in mainboard-options
  5. #  5. Set your VBox-directory below this instruction and run this script
  6. #  6. Mount the ISO-File "macOS_HighSierra.iso"
  7. #  7. Don't install; Go to the Disk-Management-Tool and delete your hard drive while naming it exactly "Macintosh HD"
  8. #  8. Now choose "Install macOS" and install as you wish
  9. #  9. When it want's you to restart, shut the vm down and remove the ISO-file
  10. # 10. Now boot, you will see the EFI-Shell
  11. # 11. Type 'fs1:'; 'cd "macOS Install Data"'; 'cd "Locked Files"'; 'cd "Boot Files"'; 'boot.efi'
  12. # 12. The installer should resume and have "fun" with macOS
  13.  
  14. set vboxdir = "C:\Program Files\Oracle\VirtualBox"
  15.  
  16. cd %vboxdir%
  17. VBoxManage.exe modifyvm "High Sierra" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff
  18. VBoxManage setextradata "High Sierra" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3"
  19. VBoxManage setextradata "High Sierra" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
  20. VBoxManage setextradata "High Sierra" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-2BD1B31983FE1663"
  21. VBoxManage setextradata "High Sierra" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
  22. VBoxManage setextradata "High Sierra" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement