Needed ingredients:

  • a 8 gig USB stick
  • Windows 7 installation media
  • Ubuntu packages: ntfs-3g, mbr

1) create a NTFS partition on the USB stick, e.g. /dev/sdb1, and mark it bootable
2) become root $ sudo -i
3) initialize /dev/sdb1: # mkfs.ntfs -v -Q -L USB_8G /dev/sdb1
4) mount the USB stick partition: # mkdir /mnt/sdb1; mount /dev/sdb1 /mnt/sdb1
5) mount Windows 7 installation media to /mnt/win7-media
# mkdir /mnt/win7-media; mount -t udf -o ro,loop windows7.iso /mnt/win7-media
6) copy the contents of Windows 7 installation media to the USB stick: # cp -Rv /mnt/win7-media/* /mnt/sdb1/
7) Use # sync to write the I/O buffers on the USB stick.
8) # umount /mnt/sdb1
9) create MBR on the USB stick: # install-mbr -p 1 /dev/sdb
10) Try booting the computer with the newly created USB stick.


To create the MBR on the USB stick in Windows:

C:\>bootsect /nt60 D: /force /mbr
Target volumes will be updated with BOOTMGR compatible bootcode.

D: (\\?\Volume{da923492-6701-11e6-824f-806e6f6e6963})

    Successfully updated NTFS filesystem bootcode.


    Successfully updated disk bootcode.

Bootcode was successfully updated on all targeted volumes.