Difference between revisions of "Winusb"

From OnnoWiki
Jump to navigation Jump to search
Line 33: Line 33:
 
  sudo winusb --install <iso path> <partition>
 
  sudo winusb --install <iso path> <partition>
  
 +
 +
==Contoh==
 +
 +
 +
mkntfs -Q /dev/sdb1
 +
sudo winusb --install windows.iso /dev/sdb1
  
  

Revision as of 10:58, 22 May 2016

Sumber: http://www.webupd8.org/2012/01/tool-to-create-windows-usb-install.html


Install WinUSB and create a USB stick Windows installer from Linux

WinUSB is available in a PPA for Ubuntu users - add the PPA and install it using the commands below:

sudo add-apt-repository ppa:colingille/freshlight
sudo apt-get update
sudo apt-get install winusb


If you don't want to add the PPA, you can also manually download the .deb from HERE.

For Arch Linux users, there's an AUR package available.

For source files, see the WinUSB homepage.


To create a bootable Windows 7, Windows 8 or Vista USB install stick from Linux, make sure you have a large enough USB drive (at least 4 GB), start the WinUSB GUI (just search for WinUSB in the menu / dash), select the Windows 7 / Vista ISO or DVD drive and the target device which is your USB drive, and click "Install". That's all.

If for some reason, the USB drive doesn't show up under "Target device" but shows up in your filemanager, etc., you can force WinUSB to list it by selecting File > Show all drives. But make sure you don't select the wrong device (like your hard disk) if you do this!


If you don't want to use the GUI and prefer to create a Windows 7 / Windows 8 / Vista USB stick installer this from the command line, use this:

- to completely format a drive and install the ISO on it:

sudo winusb --format <iso path> <device>

- to install a Windows 7 / Vista ISO on an NTFS partition and edit MBR of the device:

sudo winusb --install <iso path> <partition>


Contoh

mkntfs -Q /dev/sdb1
sudo winusb --install windows.iso /dev/sdb1



Referensi