WinUSB: Create Bootable Windows Installer USB In Ubuntu Linux

Quelle: http://www.addictivetips.com/ubuntu-linux-tips/winusb-create-bootable-windows-installer-usb-in-ubuntu-linux/

WinUSB is an Ubuntu application for creating a Windows USB installer for Windows Vista and Windows 7. Like other applications that enable creating installer USBs, you can create a bootable (installation) USB from an ISO disc image or a DVD. While other tools like Unetbootin can perform similar tasks, however, WinUSB is much simpler than other competitors, and delivers a two-click solution for creating a Windows installer USB. This may be a blessing for users who may require creating a USB installer for Windows for dual booting it with Ubuntu or other Linux distributions. Similarly, you might require installing Windows on another system, but do not have Windows installed on a computer to utilize tools such as the Windows 7 USB DVD Tool.

This will create your Windows Vista/7 installer USB. It is worth mentioning here that the tool might also work with Windows 8; however, it has not been tested. Having said that, the developer has mentioned that the supported images include, “Windows Vista, Seven+.” You can install WinUSB either from the Deb package given at the developer’s website (for Oneiric, Natty, Maverick and Lucid), or from the PPA given below.

Since WinUSB also works from the command line, you can create a Windows 7 or Windows Vista USB installer by following the command line format given below:

Once the USB is formatted using the above method, install a Windows partition and edit the Master Boot Record:

Windows 7 bootable USB mit Linux (Ubuntu) erstellen

Quelle:http://www.webupd8.org/2010/10/create-bootable-windows-7-usb-drive.html

Es wird ein  Windows 7 .ISO File und ein 4GB USB Stick (oder grösser) benötigt.

  1. Install Gparted and format the USB drive to NTFS. In Ubuntu, use the following command to install Gparted:

  • To be able to format a drive to NTFS, you’ll also need ntfs-3g – install it using the following command:

sudo apt-get install ntfs-3g

gparted

To format the USB drive as NTFS, open Gparted via the System > Administration > GParted Partition Editor. Then select your USB drive from the top right drop-down. If you only have one hard disk, your USB drive should be „sdb“. Now right click your USB drive in GParted and select „Unmount“ and you’ll then be able to select Partition > Format > ntfs. The drive will be formatted to NTFS in a few seconds.
I’m not sure if UNetbootin will mark the drive as bootable as my USB drive already had the „boot“ flag enabled from Gparted, so you may want to enable it too: right click the USB drive and select „Manage flags“, then check the „boot“ flag.

Then you’ll have to mount the USB drive back. You can do it from the command line or Disk Utility (System > Administration > Disk Utility) but to keep things simple, you can just unplug the USB flash drive and plug it back in to the computer.

2. Some users have reported that some recent Unetbootin versions no longer let you select an USB drive formatted to NTFS and by formatting it to FAT, the Windows 7 installation fails. So here’s what to do: download Unetbootin version 494 from HERE (version tested and it should work).

Then, right click the downloaded Unetbootin file, select Properties and on the „Permissions“ tab, check the „Allow executing file as program“ box. Then simply double click it and it should open.

Using this (494) Unetbootin version, you have an option to „Show all Drives“ which lets you select the NTFS formatted drive and write the Windows 7 ISO onto it. With newer version, this option is no longer available.

3. Open UNetbootin, select „Diskimage“ and then browse for your Windows 7 ISO file.

unetbootin-win7

Now check the „Show all drives“ box and select your USB drive from the list at the bottom of the Unetbootin dialog. For me, that’s „/dev/sdb1“ but it might be different for you (you should know this from Gparted which you’ve used to format the USB drive under step 1),

Now simply click the „OK“ button and wait for the files to be copied to the USB drive.
After Unetbootin is done, you can use the USB stick to install Windows 7 on any computer that supports booting from an USB drive.