- You need to the Windows 7 ISO image file ready. e.g. Win7.ISO
- You need to install p7zip-full to extract the ISO image.
sudo apt-get install p7zip-full
- You need to install ms-sys
- Plugin your USB disk and check its device name.
- Make a NTFS partition on the USB drive by using cfdisk, or gparted and apply boot flag to it.
- Format the USB partition,
sudo mkfs.ntfs -n WIN7 /dev/sdX1
- Mount the partition by pulling off and re-plug in the USB drive or run
mount /dev/sdX1 /media/USB
- Extract the ISO image to the mounted partition:
cd /media/USB; 7z x /path/to/Win7.iso
- Run ms-sys to install the Window 7 boot sector:
ms-sys -7 /dev/sdXNote: you need to install the boot sector to the USB drive's MBR, so you should use /dev/sdX NOT /dev/sdX1
- To create a bootable USB on Windows, use USB DVD download tool from Microsoft