Hesham Bahram

www.HeshamBahram.com

Live USB with Ubuntu 10.04 LTS

Creating a Live USB with Ubuntu 10.04 LTS is an excellent way to always have your favorite Ubuntu system and software with you at all times and it makes for one of the simplest ways to conduct an install to a hard drive.

The following steps provide three options of putting the fresh new release of Ubuntu 10.04 LTS (as known as Lucid Lynx) on a USB stick. The first method will create a bootable USB stick with a live version and the second process will create a live version with persistence.

What do you need to Download:

Now we are ready to start, provided that you already downloaded the above file.
Option 1: Live USB without persistent
The UNetbootin is a MS-windows program to allow you to create a bootable USB stick with your new distribution. The UNetbootin file will step you through the process.

All you need to do first is click on the box on the right side across from “ISO” and point to the .iso file you previously downloaded.

Next, simply verify that UNetBootIn has selected the correct USB stick—if not, just point it to the correct one, and then click OK.

When UNetBootIn finishes, your USB is ready

just choose exit and remove the USB stick for use.

Make sure your system is set to boot from the USB drive in the system BIOS or by choosing F12 or whatever is the appropriate key for your system to allow you to decide the boot sequence.

Congratulations! You are now through and should have a bootable USB stick for installing Ubuntu on computers or just for testing to make certain it will work on various configurations before installing.

Option 2: Live USB with persistence
If you want to create a persistent, bootable USB stick, you will need to use LinuxLiveUsb  that is the Linux Live USB creator.

Just double click on the executable file (LiLi USB Creator.exe) and follow the instructions.

First step is to choose the USB stick you wish to use.

Next you choose the file to use and since it is an .iso, if you have been following these instructions, you would click on that icon and point it to the appropriate file.

Once it has verified the distribution, you will be able to choose how much space to allocate to persistence.

Your maximum persistence size is 4000 MB since this is a limitation of the FAT32 file type. The larger you make the persistence area, the more software and/or updates you can install to keep your USB stick system up-to-date.

Next you need to check the options:

– hide created files

– format the USB stick as FAT32

The last thing to do after you have answered all the questions is click on the lightning bolt and wait.

You will be given feedback in the bottom box relative to what is happening along with an approximate time until complete.

You should now have a USB stick with Ubuntu 10.04 LTS that is persistent. Better yet, if you clicked all the options as I did, you can also run your new Linux distro on windows in a Sun Virtual Box environment.

Option 3: Live USB with Virtual Box
If you may need to run the Ubuntu Linux as virtual machine on your Windows system:

Follow the same steps as in the (Live USB with prersistence)

Then, you will need to check the options:

– hide created files

– format the USB stick as FAT32

– to be able to run your new distribution in a virtual box environment.

Virtual Box is installed on the USB drive and if, when you plug it into a USB port it does not automatically boot from the autorun file, you can view the files on your USB stick and double click on Virtualize_This_Key.exe to start it.

The USB stick did not automatically run on my Windows box but once I double clicked on the file above, everything worked as it should. Sun Virtual Box will be launched on your Windows machine and your new Linux distro will appear within Virtual Box.

Words of caution,

a) You are advised to plug the USB stick into a port on the computer rather than into the monitor or a multi-port USB adapter.

b) Keep in mind that neither of these options (running the live USB stick with or without persistence, or Virtual Box) will be anywhere near as fast as if you have Ubuntu installed on your hard drive.

Having said all that, it is still great to be able to carry a complete operating system and software around in your pocket

Advertisements

May 5, 2010 - Posted by | Linux | ,

7 Comments »

  1. Super interesting read! Truely..

    Comment by Sabrina Culver | May 28, 2010 | Reply

  2. Thanks for the tips – works great with Ubuntu 10.04 LTS! Tested without the virtual-box option, with max FAT32 size option, and with hide created files option. Used Synaptic to get the security updates, worked fine (some of the main package servers seemed to be down, so I did not try kernel upgrade). Created a user account, installed Adobe Flash, and so forth and rebooted to see everything still there.

    Comment by Christopher Balz | May 30, 2010 | Reply

  3. Also, unused space on a usb stick (many are now larger than the 4000MB discussed above)can be used by formatting it (in an unmounted state) using “System” -> “Administration” -> GParted. To do this, I created a second USB Live Stick (persistent also) and booted from it. Then I inserted the USB Live Stick I wanted to partition. Using GParted, I unmounted it, shrunk the FAT32 partition down (to about 500 MiB greater than the amount of it that is actually used, just to be safe), and created a new ext4 partition. On reboot, Ubuntu 10.04 showed me the new 9.95 GB ext4 partition as a nice “usb” icon on my desktop.

    I’d be interested to hear information about updating. For example, are there packages that could break the Live CD’s settings if they are updated?

    Comment by Christopher Balz | May 30, 2010 | Reply

  4. boom chica wowow

    Comment by dvsacs | September 23, 2010 | Reply

  5. thank you for everything.
    pay attention: the url pointing to the iso image is wrong. the correct one is:
    http://releases.ubuntu.com/lucid/ubuntu-10.04.1-desktop-i386.iso

    best regards

    giuseppe

    Comment by Giuseppe Sturiale | December 30, 2010 | Reply

  6. I see you have a nice blog and I can help you to promote it.

    Comment by woenmag | January 25, 2011 | Reply

  7. nice post… short and direct.. you should bold “Your maximum persistence size is 4000 MB since this is a limitation of the FAT32 file type”
    cheers!

    Comment by danny | April 25, 2011 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: