Sep 5, 2022

Windows 11 bootable usb installer from MacOSX

  • Use 'Disk Utility' application to format the USB drive in MS-DOS (FAT) format
  • Download the windows ISO file from the Windows website or other source
  • Extract the ISO and copy all but the 'sources' directory into your USB
  • Create a 'sources' directory into your USB and copy everything from the ISO's 'sources' directory but 'install.wim'
  • Install Homebrew in your Macbook. Homebrew is a missing package manager for macOS (or Linux)
  • Use Homebrew to install wimlib
    • $brew install wimlib
  • Use wimlib to split 'install.wim' into two files (install.swm and install2.swm) as follows into your installer USB:
    • $wimlib-imagex split /Volumes/.../sources/install.wim /Volumes/.../sources/install.swm 4000
  • Plugin the USB into your PC and select the boot option (by hitting the key F9/F11/ALT)
  • Follow the click and install rest of the process to successfully install Windows 11 into your PC

 

 

Reference: Create bootable Windows 11 installation USB from macOS

No comments:

Carlo Cipolla's Laws of Stupidity

    "By creating a graph of Cipolla's two factors, we obtain four groups of people. Helpless people contribute to society but are...