WinUSB fails to install windows 7 on USB
I get a error saying:
Installation failed !
Exit code: 256
Log:
Formating device...
Mounting...
mount: block device /home/jeffrey/Desktop/Win7_sp1_32-64_EN-faXcooL.iso is write-protected, mounting read-only
Copying...
Installing grub...
/usr/bin/winusb: line 421: unexpected EOF while looking for matching `"'
Error occured !
Syncing...
/usr/bin/winusb: line 78: 12459 Terminated while true; do
sleep 0.05; echo 'pulse';
done
Cleaning...
/usr/bin/winusb: line 78: 12461 Terminated while true; do
sleep 0.05; echo 'pulse';
done
Umounting and removing '/media/winusb_iso_1437334971_3530'...
Umounting and removing '/media/winusb_target_1437334971_3530'...
I already formated my USB to ntfs.
I suggest that you try mkusb instead of WinUSB. mkusb can create bootable USB drives and memory cards with the Windows installer for Windows 7 - Windows 10.
See the following links,
If you have a DVD drive
- Burn a boot DVD disk. Make sure to 'burn an iso file'. (Do not create a data DVD with the iso file.)
Create a boot USB drive
-
You can use mkusb-nox or mkusb-dus alias mkusb version 12. See these links,
Windows USB install drive
help.ubuntu.com/community/mkusb
help.ubuntu.com/community/mkusb/gui#Installation
THERE IS A SIMPLER WAY.
- Run
sudo apt-get install gparted grub-pc-bin p7zip-full ntfs-3g
in terminal. - Format your USB Drive as NTFS and enable the bootable flag using GParted. To enable and Bootable flag, right-click the partition and choose
Manage flags
and then checkboot
. Format again if you see any error near partition name. Note down the partition name. It will be something like /dev/sdXY. X will be an alphabet and Y will be a number. e.g. /dev/sdb1 - Download Unetbootin binary from https://unetbootin.github.io/linux_download.html
- Open Terminal and
cd <unetbootin_bin_directory>
. e.gcd ~/Downloads
. Runchmod +x unetbootin.bin
to make it executable. - Run
sudo ./unetbootin.bin installtype=USB targetdrive=/dev/sdXY
in terminal. Make sure to replace X and Y with appropriate values. - Select Windows 10 iso and click OK.