Create Mint LiveUSB from Windows using a GUI (UNetbootin)

Write tutorials and howtos in here

Create Mint LiveUSB from Windows using a GUI (UNetbootin)

Postby tuxcantfly on Sat Jun 28, 2008 8:20 am

Note: This is a modified version of my guides for Ubuntu and PCLinuxOS

Purpose/Overview

This guide creates a LiveUSB out of your standard 1 GB (or larger) USB flash drive entirely from within Windows, using a nice graphical application (no command lines), UNetbootin. The generated Mint (or, optionally, another Linux distribution) LiveUSB functions identically to a standard Mint LiveCD, so you can use it for Mint installs or system recovery as you would a LiveCD, the only caveat being that your computer will need to be fairly modern (built after roughly 2002) in order to be able to boot a USB drive.

Requirements

* Windows 2000, XP, 2003, Vista, 2008, or newer (though this guide can be done from Linux as well, see site). I have personally tested this on Windows XP, Windows 2008 x64, Linux Mint 4.0 and 5.0-r1. Note that this will NOT work on Windows 95/98/ME.

* A USB drive, with slightly more free space than size of the ISO file you wish to use (roughly 700 MB for Mint). Your USB drive will not be formatted, so your existing files should be safe, though backup important files just in case. (The USB drive should also be formatted as FAT32, though if you don't know what that is, don't worry; your USB drive is probably FAT32 unless you reformatted it yourself)

Instructions

1. Download the latest version of UNetbootin for Windows

2. Download an ISO file for Mint.

3. Run the UNetbootin executable. The dialog shown in the screenshot below should appear (Note that the screenshots show PCLinuxOS, but the same procedure works for Mint and most other distros). Select the Disk Image radio button, and use the file selector on the far right to select your ISO file. Select USB Drive as the installation type, and select your USB drive under "Drive". Note that memory cards will also be displayed, since Windows detects both as "Removable Drives", so ensure that it's really your USB drive that you're selecting. If your USB drive is not displayed, you may need to unplug and reinsert it, restart UNetbootin, restart Windows, and/or reformat the USB drive (To reformat your USB drive, go to "My Computer", right-click the USB Drive -> Format; note that this will wipe out all data on it, and should be unnecessary).

Image

4. Press OK to begin installing to your USB drive. As shown in the screenshot below, the installation occurs in 3 stages (downloading, extracting, and installing the bootloader), but since you've already pre-downloaded the ISO file, the first stage will be skipped. Since filesystem.squashfs is the largest file (over 650 MB), the progressbar will hang once it gets to this file as it is extracted and copied to the USB drive; this is only momentary, though; wait patiently, and do not close the application.

Image

5. Finally, after UNetbootin installs the bootloader onto your USB drive, you will be prompted to reboot, as shown below. Reboot. You should now be able to boot and install Mint from your liveUSB drive, though you may first need to specify the USB drive in the boot order of your BIOS, which can usually be accessed by pressing Esc, F1, F2, F12, Del, or another key combination which is usually displayed as Boot Devices or BIOS Setup as your computer starts up.

Image

Undoing Changes

If all you wish to do is remove the Mint liveUSB installation from your flash drive in order to free up space, you can simply delete the files and folders that were created by UNetbootin, which will be listed in the files "ubnfilel.txt" and "ubnpathl.txt" on the top directory of your USB drive. However, should you wish to wipe the last traces of the bootloader and liveUSB system out entirely, you can use the format tool included in Windows (note that this will wipe out all data on your USB drive); simply open Windows Explorer, navigate to My Computer, right-click the drive letter of your USB drive, and select the Format option from the drop-down menu. Accept the default options (though you may want to check the "Quick Format" option if you're impatient), and your USB drive will be wiped clean and reformatted.

Notes/Credits/Misc

UNetbootin was created by me (Geza Kovacs). This is a simplified version of the guide I previously posted on the PCLinuxOS forum and Ubuntu forums, with instructions/information that shouldn't be required for Mint (altering USB drive partitioning schemes) removed. This same procedure should also work for creating LiveUSB drives out of various other isolinux-based ISO files (used by most mainstream Linux distributions, such as Ubuntu, Fedora, PCLinuxOS, Gentoo, etc), though it won't work for Windows CDs or the like. If you think you've found a bug file a bug report, or post the issue you're experiencing.
tuxcantfly
Level 1
Level 1
 
Posts: 3
Joined: Sat Jun 28, 2008 8:09 am

Linux Mint is funded by ads and donations.
 

Re: Create Mint LiveUSB from Windows using a GUI (UNetbootin)

Postby newW2 on Sun Jun 29, 2008 1:51 pm

tuxcatfly,

Very nice job on this. Worked flawlessly, even from an XP Pro guest OS running in a VMWare Workstation hosted on Linux Mint. I know it should work from the VM, but it is another promotion-like point that you could add.

I also looked at the License and credits. Good luck with your current occupation, and your future job plans. I hope those plans include additional contributions to the Linux community.
User avatar
newW2
Level 5
Level 5
 
Posts: 963
Joined: Fri Apr 06, 2007 3:24 pm
Location: USA

Re: Create Mint LiveUSB from Windows using a GUI (UNetbootin)

Postby babooom on Sun Aug 03, 2008 3:33 am

worked great, only one question/request.

is there anyway to save the changes to the OS or to keep the programs installed?

Thanks
babooom
 

Re: Create Mint LiveUSB from Windows using a GUI (UNetbootin)

Postby rfpa on Mon Aug 04, 2008 6:06 pm

Great! Just a question: as anyone tried to install it on Acer Aspire One?

Thanks
rfpa
Level 2
Level 2
 
Posts: 78
Joined: Thu Feb 28, 2008 12:51 pm
Location: Portugal

Re: Create Mint LiveUSB from Windows using a GUI (UNetbootin)

Postby Ivan on Wed Sep 03, 2008 10:45 pm

Hello im trying to install on Acer one, i did well with the backtrack 3 on text mode, i wasnt unable to load the grapich mode yet, im trying with this now, i hope that have success on this
[quote="rfpa"]Great! Just a question: as anyone tried to install it on Acer Aspire One?
Ivan
 

Re: Create Mint LiveUSB from Windows using a GUI (UNetbootin)

Postby BakUp on Sat Nov 15, 2008 4:29 pm

Is Unetbootin supposed to be persistant ? I have tried using it many times and my installs are not persistant......so pretty much useless !
User avatar
BakUp
Level 3
Level 3
 
Posts: 198
Joined: Sun Sep 23, 2007 2:20 pm
Location: Minnesota USA

Re: Create Mint LiveUSB from Windows using a GUI (UNetbootin)

Postby thorhr on Sun Nov 30, 2008 9:52 pm

rfpa wrote:Great! Just a question: as anyone tried to install it on Acer Aspire One?
I used it to flash my bios on an aspire one then I installed Mint 6 rc1 on it which is the third linux system I have installed the first 2 I installed using a usb disc drive. Works great! What I would like to know is how to install Mint to a usb drive.
Thanks
thorhr
thorhr
Level 1
Level 1
 
Posts: 26
Joined: Mon Dec 11, 2006 12:51 am
Location: U.S.A

Re: Create Mint LiveUSB from Windows using a GUI (UNetbootin)

Postby BigBadBob on Wed Dec 17, 2008 7:18 pm

Are you thinking of adding the persistence loop file system?

Ibex has this as part of the admin menus but it didn't seem to make it into Mint. I wonder why?
BigBadBob
 

Re: Create Mint LiveUSB from Windows using a GUI (UNetbootin)

Postby saurabh on Mon Jan 05, 2009 12:36 pm

I tried installing using the hard disk option and i get some ntldr error. Please help.
saurabh
 

Re: Create Mint LiveUSB from Windows using a GUI (UNetbootin)

Postby bumperduck on Tue Jan 13, 2009 9:29 pm

Perfect install - thanks!
bumperduck
Level 1
Level 1
 
Posts: 13
Joined: Tue Jan 06, 2009 2:10 am

Re: Create Mint LiveUSB from Windows using a GUI (UNetbootin)

Postby globetrotterdk on Sun Jan 25, 2009 4:22 pm

I get the message that the USB drive is not a system disk. I have tried this on two different computers.
globetrotterdk
Level 2
Level 2
 
Posts: 77
Joined: Tue Dec 16, 2008 5:19 pm
Location: Copenhagen

Re: Create Mint LiveUSB from Windows using a GUI (UNetbootin)

Postby globetrotterdk on Sun Jan 25, 2009 9:01 pm

OK, got it. For some reason the download mechanism doesn't seem to download the iso properly. Now I know why the FAQ states that the iso file should be downloaded separately.
globetrotterdk
Level 2
Level 2
 
Posts: 77
Joined: Tue Dec 16, 2008 5:19 pm
Location: Copenhagen

Re: Create Mint LiveUSB from Windows using a GUI (UNetbootin)

Postby kbelk on Fri Feb 06, 2009 7:05 pm

Worked perfectly! Thanks! :D
kbelk
Level 1
Level 1
 
Posts: 2
Joined: Wed Feb 04, 2009 10:56 pm

Re: Create Mint LiveUSB from Windows using a GUI (UNetbootin)

Postby calymea on Sat Feb 07, 2009 1:14 am

Hi, I have tried Unetbootin on Window$ and it did not detect my brand new SanDisk USB drive, saying no USB drives were found. My computer works flawlessly with USB's for anything else. I too, have tried it (Unetbootin) on two computers with the same result. The USB drive in question has been tested on both computers using Window$ and Linux and works fine, also I have an identical SanDisk drive, plus 3 other USB's which all work too. Thanks.
calymea
Level 2
Level 2
 
Posts: 60
Joined: Mon Jul 23, 2007 3:55 am

Re: Create Mint LiveUSB from Windows using a GUI (UNetbootin)

Postby COlsen on Sat Feb 07, 2009 5:17 pm

Can this be created within Mint, or is it only possible to do in Windows?
COlsen
Level 1
Level 1
 
Posts: 2
Joined: Sun Nov 23, 2008 5:50 pm

Linux Mint is funded by ads and donations.
 
Next

Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 5 guests