Windows bootable usb

From wikinotes

Instructions to create a bootable windows usb

Windows 10

NOTE:

don't do this from linux. download the iso-builder utility. Run on windows and it will automate the whole job.

# NOTE - did not work! tried GPT/MBR, FAT32/NTFS - none of them worked entirely

# ========================
# format/create usb (NTFS)
# ========================
sudo fdisk /dev/sdb
   o    # create DOS table
   n    # create partition spanning entire drive
   t,7  # create NTFS partition
   a    # 'a' (make partition bootable)
sudo mkfs.ntfs /dev/sdb1
sudo mount /dev/sdb /mnt/usb

# =====================
# Create Installer USB
# =====================
sudo mount ~/Downloads/Windows_10.iso /mnt/iso
sudo cp -Ra /mnt/iso/* /mnt/usb