ff

Create Windows bootable flash from iso image using linux console:

replace '/dev/sdX' to match your device
#--------------------------------------------- # preparations #--------------------------------------------- apt-get install ntfs-3g parted wget mkdir iso2flash cd iso2flash #--------------------------------------------- # create partitions #--------------------------------------------- parted -s /dev/sdX mklabel msdos parted /dev/sdX "mkpart primary ntfs 1 -1" parted /dev/sdX set 1 boot on #--------------------------------------------- # format out only partition as NTFS #--------------------------------------------- mkfs.ntfs -f /dev/sdX1 #--------------------------------------------- # get ms-sys, compile it and launch for sdX #--------------------------------------------- wget --output-document=ms-sys.tar.gz "https://downloads.sourceforge.net/project/ms-sys/ms-sys%20stable/2.4.1/ms-sys-2.4.1.tar.gz?r=http%3A%2F%2Fms-sys.sourceforge.net%2F&ts=1500148685&use_mirror=netcologne" tar -xzf ms-sys.tar.gz cd ms-sys-2.4.1 make cd bin ./ms-sys -7 /dev/sdX cd ../.. #--------------------------------------------- mkdir iso mount FILE.iso ./iso mkdir flash mount /dev/sdX ./flash cp -r iso/* flash/ umount ./iso umount ./flash rm -rf ./iso rm -rf ./flash sync