Differences

This shows you the differences between two versions of the page.

Link to this comparison view

procedures:make_a_bootable_windoz_7_install_usb_from_linux [2016/10/09 17:45] (current)
far305 created
Line 1: Line 1:
 +====== Make a bootable Windoz 7 USB from Linux ======
 +
 +Works on Archlinux.
 +\\
 +<code bash>
 +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/
 +</​code>​