Deprecated: Constant E_STRICT is deprecated in /srv/http/wiki/inc/init.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /srv/http/wiki/inc/init.php:42) in /srv/http/wiki/inc/init.php on line 48

Warning: Cannot modify header information - headers already sent by (output started at /srv/http/wiki/inc/init.php:42) in /srv/http/wiki/inc/auth.php on line 437

Warning: Cannot modify header information - headers already sent by (output started at /srv/http/wiki/inc/init.php:42) in /srv/http/wiki/inc/Action/Export.php on line 104

Warning: Cannot modify header information - headers already sent by (output started at /srv/http/wiki/inc/init.php:42) in /srv/http/wiki/inc/Action/Export.php on line 104
procedures:make_a_bootable_windoz_7_install_usb_from_linux

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/