Imaging windows on a mac

This post details how to capture a windows bootcamp partition installed on a mac to be restored on other macs running OS X while keeping the dual-boot option.

What you’ll need:

  • A windows bootable USB stick
  • A second USB stick or external harddrive for the bootcamp image (32GB or larger)
  • OS X with bootcamp version 5 or above
  • USB 3.0 recommended due to large file sizes (25GB+)

If you haven’t already, create your bootcamp windows and configure it as you’d like it to be imaged, then in OS X go to disk utility, click on ‘New Image’ and save it to the external harddrive(or usb) in read-only format.

macimaging1

Once you have your .dmg image of the windows drive you’d like to replicate, go to the machine you want to image and plug in your bootable windows USB drive. Start boot camp assistant and when you get to the tasks screen, select only the third option.

macimaging2

Resize your drive how you see fit, bootcamp is primarily needed to create the fake partition table for Windows later on.

macimaging3

When the machine reboots after install hold down the ‘option’ key and select the recovery drive from the boot options. If you missed the option key on reboot, just power off and back on again.

macimaging4

Start disk utility and click on the recovery tab, then click on image… and open the .dmg image file of your bootcamp image created earlier.

macimaging5

The Bootcamp image should now be on the left hand side, double click on it to open/verify the file.

macimaging6

Once the file opens, click on the newly opened bootcamp file on the left and then go to the ‘restore’ tab, selecting your bootcamp partition as the destination to restore. Click the ‘restore’ button.

macimaging7

Once complete, reboot and hold down the ‘option’ key again, boot into the bootable windows USB stick.

macimaging8

When windows boots, select ‘repair your computer’

macimaging9

Go to advanced options and click on ‘command prompt’

macimaging10

In command prompt enter diskpart, select the main disk, select the windows boot partition (200MB) and then enter ‘assign letter=z’ before exiting diskpart.

macimaging11

Finally enter ‘bcdboot C:\Windows /s z: /f UEFI’ to have windows create the missing boot partition after we imaged the drive with disk utility.

macimaging12

 

DONE! When you restart just hold down the ‘option’ key one last time and select ‘Windows’ from the boot options to boot into your newly imaged windows bootcamp partition on Mac OS X.


Posted

in

by

Tags:

Comments

5 responses to “Imaging windows on a mac”

  1. lalonde Avatar
    lalonde

    c trop compliquer et pas assez détailler !!!!!!

  2. lalonde Avatar
    lalonde

    Surtout vers la fin des réglage, pas assez de détail !
    de l’aide s’il vous plait !!!

  3. lalonde Avatar
    lalonde

    bcdboot C:\Windows /s z: /f UEFI ne fonctionne pas !!!!

    1. Michael Rickert Avatar

      Did you type the following in order in the rescue command prompt?

      ‘diskpart’
      ‘List disk’
      ‘Select disk 0’
      ‘select part 1’
      ‘Assign letter=z’
      ‘Exit’

      Before entering the bcdboot command?

  4. lalonde andy Avatar
    lalonde andy

    hello, someone to know about it.
    feel free to comment on the page. C For the unknown for me, especially towards the end of the programming !!!!!!!!!!!!!!!!!!!!!!!!

Leave a Reply

Your email address will not be published. Required fields are marked *