Make a bootable Windoz 7 USB from Linux

Works on Archlinux.

sudo cfdisk -z /dev/sdX
	[ Choose dos partition layout ]
	[ Delete all the partitions ]
	[ Create a new partition with the following specs :
		- Boot flag on
		- Whole device
		- Type NTFS
	]
 
Install ntfs-3g if not present on your system
 
mkfs.ntfs -f /dev/sdX
 
Install ms-sys if not present on your system (yaourt -S ms-sys)
 
sudo ms-sys -7 /dev/sdX
 
sudo mkdir -p /mnt/usb
sudo mount /dev/sdX1 /mnt/usb
 
sudo mkdir -p /mnt/iso
sudo mount -o loop [ PATH TO WINDOWS 7 ISO ] /mnt/iso
 
sudo cp -av /mnt/iso/* /mnt/usb/