Skip to content

Instantly share code, notes, and snippets.

@asconix
Created January 27, 2018 14:42
Show Gist options
  • Select an option

  • Save asconix/8eb81d24b88d14f37e75e8dabcbc7c6e to your computer and use it in GitHub Desktop.

Select an option

Save asconix/8eb81d24b88d14f37e75e8dabcbc7c6e to your computer and use it in GitHub Desktop.

Revisions

  1. @niderhoff niderhoff revised this gist Mar 21, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion win7-bootable-usb-on-osx.md
    Original file line number Diff line number Diff line change
    @@ -26,7 +26,7 @@ If your Mac is rather new, you can't choose the "Create USB" Option from Bootcam
    3. Change `PreUSBBootSupportedModels` to `USBBootSupportedModels`, removing the "Pre".
    4. Save+quit `:wq`
    3. Sign the Boot Camp App again.
    0. This step does **NOT** work, if you put the backup file inside the .app-Container, or added any other files.
    0. 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.
    1. Install XCode
    2. Install Xcode-command line tools
    3. `sudo codesign -fs - /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/MacOS/Boot\ Camp\ Assistant`
  2. @niderhoff niderhoff revised this gist Mar 21, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion win7-bootable-usb-on-osx.md
    Original file line number Diff line number Diff line change
    @@ -18,7 +18,7 @@ If your Mac is rather new, you can't choose the "Create USB" Option from Bootcam
    0. Open the "Sytem Information" App and find out the "Boot ROM Version" and your "Model Identifier"
    1. Open Terminal
    2. Backup
    ```sudo cp /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/Info.plist ~/Desktop/Info.plist.bak```
    * `sudo cp /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/Info.plist ~/Desktop/Info.plist.bak`
    2. Edit Info.plist
    `sudo vi /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/Info.plist"
    1. Under `DARequiredROMVersions` add your Boot ROM Version, enclosed in <string></string> tags, like you see it there.
  3. @niderhoff niderhoff revised this gist Mar 21, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion win7-bootable-usb-on-osx.md
    Original file line number Diff line number Diff line change
    @@ -18,7 +18,7 @@ If your Mac is rather new, you can't choose the "Create USB" Option from Bootcam
    0. Open the "Sytem Information" App and find out the "Boot ROM Version" and your "Model Identifier"
    1. Open Terminal
    2. Backup
    `sudo cp /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/Info.plist ~/Desktop/Info.plist.bak`
    ```sudo cp /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/Info.plist ~/Desktop/Info.plist.bak```
    2. Edit Info.plist
    `sudo vi /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/Info.plist"
    1. Under `DARequiredROMVersions` add your Boot ROM Version, enclosed in <string></string> tags, like you see it there.
  4. @niderhoff niderhoff revised this gist Mar 21, 2016. 1 changed file with 5 additions and 3 deletions.
    8 changes: 5 additions & 3 deletions win7-bootable-usb-on-osx.md
    Original file line number Diff line number Diff line change
    @@ -30,6 +30,8 @@ If your Mac is rather new, you can't choose the "Create USB" Option from Bootcam
    1. Install XCode
    2. Install Xcode-command line tools
    3. `sudo codesign -fs - /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/MacOS/Boot\ Camp\ Assistant`
    4. Open Boot Camp Assistant
    5. Select "Create USB Drive", uncheck the other options.
    6. Select your preformatted drive and the ISO and you're good to go.

    ## 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.
  5. @niderhoff niderhoff renamed this gist Mar 21, 2016. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  6. @niderhoff niderhoff created this gist Mar 21, 2016.
    35 changes: 35 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,35 @@
    # 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.

    0. Open the "Sytem Information" App and find out the "Boot ROM Version" and your "Model Identifier"
    1. Open Terminal
    2. Backup
    `sudo cp /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/Info.plist ~/Desktop/Info.plist.bak`
    2. Edit Info.plist
    `sudo vi /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/Info.plist"
    1. Under `DARequiredROMVersions` add your Boot ROM Version, enclosed in <string></string> tags, like you see it there.
    2. Under `PreUSBBootSupportedModel` add your Model Identifier in the same manner.
    3. Change `PreUSBBootSupportedModels` to `USBBootSupportedModels`, removing the "Pre".
    4. Save+quit `:wq`
    3. Sign the Boot Camp App again.
    0. This step does **NOT** work, if you put the backup file inside the .app-Container, or added any other files.
    1. Install XCode
    2. Install Xcode-command line tools
    3. `sudo codesign -fs - /Applications/Utilities/Boot\ Camp\ Assistant.app/Contents/MacOS/Boot\ Camp\ Assistant`
    4. Open Boot Camp Assistant
    5. Select "Create USB Drive", uncheck the other options.
    6. Select your preformatted drive and the ISO and you're good to go.