Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 12-16-2008, 06:11 PM   #1 (permalink)
Osiris's Avatar
 

Join Date: Jan 2005

Location: Kentucky

Posts: 32,078

Osiris is a jewel in the roughOsiris is a jewel in the roughOsiris is a jewel in the rough

Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris Send a message via Skype™ to Osiris
Default Install Linux on a USB drive with UNetbootin

Install Linux on a USB drive with UNetbootin

There are so many reasons why having a Linux distribution on a usb drive can come in handy. Fram having a “rescue” OS on your keyring to being able to install a new distribution on your EeePC, a “thumb drive” Linux has many uses. But getting Linux onto a usb drive can’t be simple. Right? Wrong. There is a tool, UNetbootin, that makes installing Linux on a usb drive simple.
UNetbootin can be used on either Linux or Windows. In this article, we’ll be illustrating the Linux side of things (naturally).
Note of warning: Not all usb installations will work on all machines. This can be an issue with your Bios or your USB drive. If you install an OS that doesn’t work, try another. But after all that work, you might wind up with a machine that simply won’t boot from a USB drive. You have been warned.
Now, on with the installation.
Getting and using UNetbootin
The first thing to do is download a copy of UNetbootin. For our purposes we’ll download the Linux universal install binary (named unetbootin-linux-299). Once that has finished you will need to issue the command chmod u+x unetbootin-linux299 in order to make the file executable. Once the file is executable, su to the root user and issue the command (from the same directory unetbootin-linx-299 is stored) ./unetbootin-linux-299 to see the application running. But you’re not ready just yet.
Depending upon your distribution, you might come across an error involving p7zip-full. This might be in your distribution’s repositories. If you use Mandriva you can install p7zip but you will not have the full package. If you use Unbuntu you can get p7zip-full with the command apt-get install p7zip-full.
Before you run the application you will need to insert and mount your usb drive. Stick in your usb drive and then issue dmesg to find out where your usb drive is located. Mount that and then issue, as root, ./unetbootin-linux-299. When yo issue the command you will see the UNetbootin window.
UNetbootin Main Window

Once this window is up and running you are almost there.
If you have very specific needs for your distribution you will most likely have an image file downloaded to use. If you do not you can select your distribution from the drop down list. First you select the distribution and then you select the version (or release). NOTE: Unless you have a very large USB drive you will most likely want to use a netinstall version of your distribution.If you do happen to have a large USB drive you can go ahead with a full distribution. If this usb drive is for rescue purposes, or just to have a version of Linux with you at all times, a distribution like PCLinuxOS Minime is a greate choice.
Once the process is done you will have two buttons to click, Reboot and Exit. Don’t bother with the Reboot button. Click the Exit button and UNetbootin will close. You can now unmount your drive and reboot your machine to see if the installation works.
When your machine boots you will need to make sure it first boots from the usb device.
If you’re interested to see what PCLinuxOS Minime looks like, take a look.
PCLinuxOS Minime

And that’s it.
__________________
Osiris is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Linux Without CD Osiris Linux Tips and Tricks 2 09-03-2008 04:23 PM
Boot and run Linux from a USB flash memory stick Osiris Linux Tips and Tricks 0 07-08-2008 01:11 PM
500gig externaal usb HD ziceman Windows Operating Systems and Software 6 03-13-2008 01:24 AM
USB External Hard Drive not detecting Keyboard Cowboy Other Computer HW Topics 3 01-22-2008 02:35 PM
USB Flash Drive with Capacity Meter vernong1992 Articles 5 09-12-2007 05:33 PM