Update 2020-06-17: Thanks to @FingerlessGloves for pointing out the updated homebrew installation command. This is a quick 'how to' guide to make a bootable Windows 10 USB drive/stick on a Mac from an ISO file. If you haven't already done so, you'll need to. Using a Mac with at least OS X 10.6.8 installed, access the Mac App Store and download the Lion (10.7) or Mountain Lion (10.8) app installer. Insert the USB drive into the Mac and launch Disk.
Most new PCs don't come with DVD drives anymore. So it can be a pain to install Windows on a new computer.
Luckily, Microsoft makes a tool that you can use to install Windows from a USB storage drive (or 'thumbdrive' as they are often called).
But what if you don't have a second PC for setting up that USB storage drive in the first place?
In this tutorial we'll show you how you can set this up from a Mac.
You can download the ISO file straight from Windows. That's right - everything we're going to do here is 100% legal and sanctioned by Microsoft.
If you want an English-language version of the latest update of Windows 10, you can download the ISO here.
If you have a relatively new computer, you probably want the 64-bit version. If you're not sure, go with the 32-bit version to be safe.
If you want a non-English-language version of Windows, or want to get an older update version, download the ISO here instead.
The ISO file is only about 5 gigabytes, but I recommend you use a USB drive with at least 16 gigabytes of space just in case Windows needs more space during the installation process.
I bought a 32 gigabyte USB drive at Walmart for only $3, so this shouldn't be very expensive.
Stick your USB drive into your Mac. Then open your terminal. You can do this using MacOS Spotlight by pressing both the ⌘ and Space bar at the same time, then typing 'terminal' and hitting enter.
Don't be intimidated by the command line interface. I'm going to tell you exactly which commands to enter.
Open Mac Spotlight using the ⌘ + space keyboard shortcut. Then type the word 'terminal' and select Terminal from the dropdown list.
Paste the following command into your terminal and hit enter:
diskutil list
You will see output like this (note - your Mac's terminal may be black text on a white background if you haven't customized it).
Copy the text I point to here. It will probably be something like
/dev/disk2
.
Next format your USB drive to Windows FAT32 format. This is a format that Windows 10 will recognize.
Note that you should replace the disk2
with the name of the your drive from step 3 if it wasn't disk2
. (It may be disk3
or disk4
).
Run this command using the correct disk number for your USB:
diskutil eraseDisk MS-DOS 'WIN10' GPT /dev/disk2
Then you'll see terminal output like this.
This will probably only take about 20 seconds on a newer computer, but may take longer on an older computer.
Note that for some hardware, you may instead need to run this command, which uses the MBR format for partitioning instead of GPT. Come back and try this command if step 7 fails, then redo steps 5, 6, and 7:
Now we're going to prep our downloaded ISO file so we can copy it over to our USB drive.
You will need to check where your downloaded Windows 10 ISO file is and use that. But your file is probably located in your ~/Downloads
folder with a name of Win10_1903_V1_English_x64.iso
.
hdiutil mount ~/Downloads/Win10_1903_V1_English_x64.iso
Update April 2020: One of the files in the Windows 10 ISO – install.wim – is now too large to copy over to a FAT-32 formatted USB drive. So I'll show you how to copy it over separately.
Thank you to @alexlubbock for coming up with this workaround.
First run this command to copy over everything but that file:
rsync -vha --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-US_DV9/ /Volumes/WIN10
Then run this command to install Homebrew (if you don't have it installed on your Mac yet):
/usr/bin/ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)'
Then use Homebrew to install a tool called wimlib with this terminal command:
brew install wimlib
Then go ahead and create the directory that you're going to write the files into:
mkdir /Volumes/WIN10/sources
Then run this command. Note that this process may take several hours, you may see 0% progress until it finishes. Don't abort it. It will use wimlib to split the install.wim file into 2 files less than 4 GB each, then copy them over to your USB:
wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install.wim /Volumes/WIN10/sources/install.swm 4000
Once that's done, you can eject your USB from your Mac inside Finder.
Congratulations - your computer now should boot directly from your USB drive. If it doesn't, you may need to check your new PC's BIOS and change the boot order to boot from your USB drive.
Windows will pop up a screen and start the installation process.
Enjoy your new PC, and your newly-installed copy of Windows.
To create a bootable USB drive from a DMG file on Windows, you will need to have the right utility. That's because DMG is not native on Windows. It is the Mac equivalent of an ISO file that has been in use since Apple transitioned from the IMG format with Mac OS X. A DMG file, like ISO, can be used to install macOS operating system or Mac apps. If the Mac computer was broken or crashed and couln't get into the system, but you only have access to a Windows PC, there's still a way to make a bootable macOS install USB on Windows.
This article looks at three applications that you can use to create a bootable USB drive from a DMG file in Windows. All of them have their advantages and disadvantages, which we have highlighted. You can make the best choice for you based on the information provided below. They are in no particular order of preference.
Download Mac Installer
DMG Editor - Make Bootable USB from DMG File on Windows
It is not easy to find an user-friendly application when it comes to make bootable macOS Install USB. That's the reason why we spent months to develop such an app. Our latest product, DMG Editor, is a fairly robust application for creating bootable USB from a DMG file. And it works well on both Windows and Mac platforms.
It is packed with modern UI and the steps are very step to follow. After several mouse clicks and wait a couple of minutes, a bootable macOS USB is ready for OS installation or system repair. You won't find any other applications on Windows that is better than UUByte DMG Editor!
Step 1: Download UUByte DMG Editor setup.exe from this website and follow the prompt to install the software on a Windows PC. Currently, it works well on Windows 10, Windows 8 and Windows 7.
Step 2: After installation, UUByte DMG Editor will be opened automatically. And you will see three options on the main screen. At this time, click 'Burn' tab And you will be lead to a new window.
Step 3: Insert an USB drive to Windows PC and the name will show up at the right side of USB icon. If the drive name was wrong, you can click 'Change' button to pick up the right device. Next, click 'Browse' button to add the .dmg file into the program.
Step 4: When the dmg file is loaded from local hard drive, click 'Burn' button to start burning dmg to USB drive. This process will be finished in less than 10 minutes and you have to wait before you can do anything with the device.
You will be notified when the burning task is completed. Now follow the link listed on the screen to start installing macOS from USB drive
.Convert DMG to ISO and Create macOS Boot USB from Windows
Since ISO is a better format for Windows, you can also convert the DMG to the ISO format and then use the ISO disk image to create the bootable USB. Please note that you can't boot your Mac from bootable USB made from an ISO file, which means you'll have to convert it back to DMG prior to that. Still, it's an effective way to create bootable media for a Mac computer. Here's how it works:
Step 1: Once you have the macOS install DMG file on a Windows PC, click on Windows + R to open the run dialog box, and type in CMD, then hit Enter. When the Command Prompt opens up, use the following command to convert the file to ISO:
hdiutil convert /path/sourceimagefile.dmg -format UDTO -o /path/targetmage.iso
Step 2: Download and install UUByte ISO Editor on your PC, insert the USB drive and launch the application.
Step 3: Click Burn button on the main screen and point to the converted ISO file. The drive will be automatically detected and click on Burn icon to burn the ISO to the USB drive.
Once the ISO is burned to the file, you can insert it into a Mac and convert it back into the DMG format. Since you're converting the file twice, there's a chance that the file could get corrupted in the process. If that happens repeatedly, then try this next method.
Mac Os High Sierra Installer
PowerISO: Make Bootable Mac Install USB on Windows 10/8/7
This Windows utility allows you do create bootable USB from DMG on a PC. You can also edit the DMG or extract the contents, and there's also an option to copy it to a disk. For this particular exercise, we'll show you how to use PowerISO to create a bootable USB drive on Windows without having to convert the disk image into another format like ISO.
Step 1: Download and install the application on your PC.
Step 2: Insert your USB drive and launch PowerISO.
Step 3: In the Tools menu, select 'Create Bootable USB Drive… '. You will need to give admin privileges to the software. Alternatively, you can run the program as admin when you launch it.
Mac Os X Installer
Step 4: Select the USB drive in the section called Destination USB Drive.
Step 5: Leave all other default as they are and click on 'Start' to burn DMG to the USB drive.
You should be able to see the progress, and a new popup will appear when the bootable media is ready. You can now eject the media and use it to run the DMG on a Mac computer.
Conclusion:
Mac Installer Package
All of these methods are workable, so select the right one for you based on your level of knowledge and your preference.