Skip to content

Instantly share code, notes, and snippets.

@annappropriate
Created March 15, 2015 17:26
Show Gist options
  • Save annappropriate/d0f523e2fa57f0daabb7 to your computer and use it in GitHub Desktop.
Save annappropriate/d0f523e2fa57f0daabb7 to your computer and use it in GitHub Desktop.
How to install bootable Windows on USB stick
1. Format USB stick to FAT32: mkfs.fat -F 32 /dev/sdb1
2. Use http://unetbootin.sourceforge.net/ to write Windows ISO to the USB drive
3. Copy chain32 to the flash drive's root directory: cp /usr/share/syslinux/chain.c32 /media/my_flash_drive
4. Paste the following into syslinux.cfg (located at drive's root):
default windows
prompt 0
menu title UNetbootin
timeout 0
LABEL windows
MENU LABEL Windows
COM32 chain.c32
APPEND hd0 1 ntldr=/bootmgr
That's all :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment