Skip to content

Instantly share code, notes, and snippets.

@iband
Last active July 4, 2016 10:38
Show Gist options
  • Save iband/65aff7c136a8930c2255cb582caef555 to your computer and use it in GitHub Desktop.
Save iband/65aff7c136a8930c2255cb582caef555 to your computer and use it in GitHub Desktop.
Windows Bootcamp Install on macOS
//<Optional> Enable install from USB
//Backup the info.plist
sudo cp /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/Info.plist Desktop/Info.plist.bak
//Edit plist
sudo nano /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/Info.plist
//Add your Boot ROM Version: MBP41.00C1.B03 to
//DARequiredROMVersions
//Rename PreUSBBootSupportedModels to USBBootSupportedModels
//And add your Model Identifier: MacBookPro4,1 there.
//Save ^X, Y, Return
//Codesign
sudo codesign -f -s - /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/MacOS/Boot\ Camp\ Assistant
// Resizing disk 30G (+ everything left) for Windows and 20G for macOS.
diskutil resizevolume /dev/disk0s2 30G MS-DOS FAT 20G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment