Thursday, August 6, 2015

How to make Linux and Windows bootable usb drives in Ubuntu


UNetbootin (Universal Netboot Installer) is a cross-platform utility that can create live USB systems and can load a variety of system utilities or install various Linux distributions and other operating systems without a CD. 
Unetbootin is availble in the Ubuntu repositories and be install via terminal (ctrl+alt+t)

sudo apt-get install unetbootin

To install the latest version of Unetbootin you can use the following ppa :

sudo add-apt-repository ppa:gezakovacs/ppa
sudo apt-get update
sudo apt-get install unetbootin

How to Use UNetbootin :

Insert your USB flash drive and Start UNetbootin >

>A.Distribution: Let UNetbootin fetch the Select Linux Distribution files from the internet to put on your USB.
Select a Linux Distribution > Select a  specific Version > Make sure the correct USB Drive is detected and Click OK .

>B.Diskimage: Browse to an ISO and have UNetbootin copy it's contents to your USB.
Browse to the ISO Image you would like UNetbootin to put on USB > Make sure the correct USB Drive is detected and Click OK .


WinUSB is a generic USB driver provided by Microsoft, for their operating systems starting with Windows Vista but which is also available for Windows XP.

Open a terminal and use the following command for 32 bit system:
wget https://launchpad.net/~colingille/+archive/freshlight/+files/winusb_1.0.11+saucy1_amd64.deb

For 64 bit systems , use the command below:

wget https://launchpad.net/~colingille/+archive/freshlight/+files/winusb_1.0.11+saucy1_amd64.deb

Once you have downloaded the correct binaries, you can install WinUSB using the command below:
sudo dpkg -i winusb*
The dependencies error can be fixed with the following command :
sudo apt-get install -f
Afterwards you can launch winusb from Dash and use it to create a live usb of Windows . If any errors pop up when using winusb , you can always launch it using a terminal :
sudo winusbgui