Create a bootable UEFI USB
Solution 1
Found a workaround. Installed Windows using a DVD I burned ISO into (first time in no less than 5 years!).
Solution 2
First of all, I'm not a Mac user, so I'm doing this purely from a Unix perspective. First of all, you need to convert the ISO file to a disk writable IMG file.
hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/windows.iso
Then we need to unmount the USB-stick to write an image to it. To do this we need to know the device address, which can be found by running diskutil list
, plug the USB stick in, then run diskutil list
again to determine the device. After this, run
diskutil unmountDisk /dev/<theusbstick>
Now we are going to use the dd
command to write the .img file to your USB stick.
sudo dd if=/path/to/target.img of=/dev/<theusbstick> bs=1m
Now to safely remove the USB stick to prevent data corruption, run
diskutil eject /dev/<theusbstick>
Good luck!
Source: http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx
Related videos on Youtube
gmile
Updated on September 18, 2022Comments
-
gmile over 1 year
How do I create a bootable USB with Windows 7 SP1 64bit using OS X?
I need to setup a fresh new ASUS laptop, the only thing I have is – Macbook Pro.
What I have:
- Fresh new ASUS laptop with FreeDOS,
- An ISO image of Windows 7 SP1 64bit,
- An 8Gb USB flash drive,
- A MacBook Pro running OS X 10.9.5.
What I know so far:
- Creating a bootable USB drive using BootCamp is not working for me. After inserting the stick to ASUS laptop, it simply won't start the Windows setup process.
- There's a "UEFI" next to USB bootable option in ASUS's BIOS. This suggests I need to somehow create a UEFI-compatible bootable USB. In turn, "UEFI-compatibility" means checking 3 things which I have double-checked.
I am familiar with Terminal (being a web developer myself), so any command line tricks would be more than appreciated.
P.S. Googling isn't helping much, which is strange. This suggests I'm not googling the right keywords...
-
Joel Coehoorn over 5 yearsIf you're talking actually running Windows from the USB drive, Windows 10 allows this via a feature called "Windows To Go". For Windows 7, you're definitely in "unsupported and not allowed by license" territory. If you're talking just the installer, things are much simpler.
-
gmile about 9 yearsThank you Thandruil. Since your instruction is not explicitly stating this will work with UEFI, I believe you tried it and it indeed works? Can you confirm that?
-
erikgaal about 9 yearsUEFI or Legacy means the way you boot this device, further than that it has nothing to do with how you write to your USB stick in this case. If you choose to boot the USB stick with (U)EFI, it will boot as UEFI. To confirm, I've used this method (but on Debian Linux) to make my own install stick for Windows, which is installed with UEFI now.
-
gmile about 9 yearsThank you, Thandruil. I didn't find a way in BIOS to select how to boot the USB, unfortunately. It always shows a "UEFI" next to the bootable device, that's it. I will try your method now.
-
erikgaal about 9 yearsThat should be no problem, if you really insist on booting as Legacy, you need to change your boot option to only boot as Legacy (BIOS).
-
gmile about 9 yearsBy the way, why converting ISO to IMG?