facebook transparent twitter
Go Back  

SawFirst Forum

> SawFirst - About Your Virtual Presence > Windows / Mac / Android

Windows / Mac / Android Anything you need to know or let us know, post here.

Reply
 
Thread Tools
  #1  
Old 06-04-2020, 08:05 AM
Pretty Girl's Avatar
Pretty Girl Pretty Girl is offline
POST ADDICT
 
Join Date: Jul 2019
Location: Manila
Posts: 1,542
Default How to create Windows 10 bootable USB on mac

DOWNLOAD LATEST WINDOWS 10 FROM MICROSOFT


Why we can't directly create a bootable usb is because the installer requires the USB drive be formatted as FAT32, which has a file size limit of 4 GB. One of the files in the current 64-bit version of the Windows 10 installer, install.wim, is 4.3 GB. The solution is to split the file, as described in the official installation instructions from Microsoft, but that only covers creating the USB drive from Windows.
Here, I'll describe how to do so on a Mac using a special third party tool called wimlib.
Step 1: Format the USB drive

The first step is to identify the USB drive device name using diskutil list. Make sure you identify the correct USB disk, as entering the wrong device name in the next command could lead to data loss.
Now format the drive as follows, substituting your disk name for diskN:
Code:
diskutil eraseDisk MS-DOS "WINDOWS10" MBR diskN
Step 2: Mount the ISO and copy most of the files

Mount the Windows 10 ISO by opening it in Finder. Check the name of the volume in Finder, or in the command prompt:
Code:
ls /Volumes
For me, using the Windows 10 Fall Creators Update, the disk name is/Volumes/CCCOMA_X64FRE_EN-US_DV9. If yours is slightly different, substitute it in future commands.
Check the size of the install.wim file as follows:
Code:
ls -lh /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install.wim
If it's less than 4 GB, you can just copy all files over as follows, then the process is simple (just eject the USB disk in Finder when complete):
Code:
rsync -avh --progress /Volumes/CCCOMA_X64FRE_EN-US_DV9/ /Volumes/WINDOWS10
If it's more than 4 GB, which it seems to be on all recent Windows 10 downloads, you'll need to split the file. Copy all files except install.wim to the USB drive:
Code:
rsync -avh --progress --exclude=sources/install.wim /Volumes/CCCOMA_X64FRE_EN-US_DV9/ /Volumes/WINDOWS10
Step 3: Download wimlib and use it to split install.wim

The final problem is that the install.wim file is too big to copy across to the FAT32-formatted USB stick (you can try, but will be met with an error). On Windows, Microsoft's official solution is to split the file using a special tool designed for these .wim files. Fortunately, there's also a free alternative called wimlib which works on Mac (and Linux). The easiest way to get this installed is using a package management tool called homebrew, which allows easy installation of lots of free software and is highly recommended.
To install homebrew, run the following:
Code:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
This will create a new command, brew, which handles package management (like installation and upgrades).
Use homebrew to install wimlib, like this:
Code:
brew install wimlib
Then you can split the install.wim file as follows:
Code:
wimlib-imagex split /Volumes/CCCOMA_X64FRE_EN-US_DV9/sources/install.wim /Volumes/WINDOWS10/sources/install.swm 4000
The 4000 means the file should be split into 4000 MB-sized chunks (which is slightly less than 4 GB).
Finally, simply eject the WINDOWS10 volume by clicking on the eject symbol in Finder, and remove the USB drive. It's now ready to use as a bootable installation disk.


SOURCE
__________________

Last edited by Pretty Girl; 06-07-2020 at 10:33 AM.
Reply With Quote
  #2  
Old 06-04-2020, 09:18 AM
Pretty Girl's Avatar
Pretty Girl Pretty Girl is offline
POST ADDICT
 
Join Date: Jul 2019
Location: Manila
Posts: 1,542
Default

MORE INFO......
__________________
Reply With Quote
Reply

Tags
bootable, catalina, create, mac, usb, windows, windows 10
Thread Tools



CONTACT US
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.