Skip to content

Instantly share code, notes, and snippets.

@Mrghost56
Created June 7, 2019 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mrghost56/ccdc19df80c71cbe5006f5ae472c99e4 to your computer and use it in GitHub Desktop.
Save Mrghost56/ccdc19df80c71cbe5006f5ae472c99e4 to your computer and use it in GitHub Desktop.
Create a Bootable Win7 USB Stick on OSX

Create a Bootable Win7 USB Stick on OSX

Prerequesites:

  • 4GB+ USB Stick
  • Windows 7 ISO from Microsoft downloaded to your OSX-Machine

Preparing the drive

  1. Open Disk utility
  2. Find the drive, format it with the following options:
  • Choose Master Boot Record (MBR)
  • 1 Partition (full size)
  • MS DOS FAT

Hacking Bootcamp

If your Mac is rather new, you can't choose the "Create USB" Option from Bootcamp so you have to hack Bootcamp first.

  1. Open the "Sytem Information" App and find out the "Boot ROM Version" and your "Model Identifier"
  2. Open Terminal
  3. Backup
  • sudo cp /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/Info.plist ~/Desktop/Info.plist.bak
  1. Edit Info.plist `sudo vi /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/Info.plist"
  2. Under DARequiredROMVersions add your Boot ROM Version, enclosed in tags, like you see it there.
  3. Under PreUSBBootSupportedModel add your Model Identifier in the same manner.
  4. Change PreUSBBootSupportedModels to USBBootSupportedModels, removing the "Pre".
  5. Save+quit :wq
  6. Sign the Boot Camp App again.
  7. This step does NOT work if you put the backup file inside the .app-Container, or added any other files. This is actually a mistake in most of the tutorials you find out there.
  8. Install XCode
  9. Install Xcode-command line tools
  10. sudo codesign -fs - /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/MacOS/Boot\ Camp\ Assistant

Creating the USB Drive

  1. Open Boot Camp Assistant
  2. Select "Create USB Drive", uncheck the other options.
  3. Select your preformatted drive and the ISO and you're good to go.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment