Last active
July 4, 2016 10:38
-
-
Save iband/65aff7c136a8930c2255cb582caef555 to your computer and use it in GitHub Desktop.
Windows Bootcamp Install on macOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//<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