a shell script to create a Windows installation USB from ISO
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
makefile
mkwin.1
mkwin.sh

README.md

mkwin

mkwin is a shell script to create a Windows installation USB from ISO. It support EFI and MBR boot for Windows 7 and up.

Requirements

  • grub
  • dosfstools
  • ntfs3g
  • 7z (optional; required for Windows 7)
  • dialog (optional; required if not specifying device on command line)
  • sane environment (util-linux, coreutils, etc.)

Usage

Run the mkwin script in your shell:

$ sudo ./mkwin.sh <iso> [device] [label]

If device is omitted, you will be prompted to select from available removable devices.