On The Insider: Hotties from Across the Pond
BNET Business Network:
BNET
TechRepublic
ZDNet

May 16th, 2008

How to … install Ubuntu 8.04 on a USB flash drive

Posted by Adrian Kingsley-Hughes @ 12:30 pm

Categories: My Linux Experience, How to ...

Tags: Ubuntu, USB Flash Drive, Adrian Kingsley-Hughes

From the Hardware 2.0 mailbag: Can you install Ubuntu on a USB flash drive?

Yes, yes you can. Here’s what you need:

  • Ubuntu 8.04 Live CD
  • USB flash drive (4GB+)

If you don’t have an Ubuntu 8.04 Live CD then you’ll need to download the .ISO file and burn one.

Full installation gallery here

Before we go any further I think that it’s important that I point out the dangers associated with this process. Specifically, if you make a mistake and install Ubuntu onto your system’s hard drive then not only have you lost data, but you’ve become a Linux user. You need to make sure that you choose the right drive.

Tip: If you want to eliminate the chance of overwriting one of your hard drives then you can physically disconnect them before booting from the Live CD.

Note: Back up the data on your USB flash drive if you don’t want to lose it!

Here’s the process:

  1. Boot up off the Ubuntu Live CD.
  2. Kick off the Ubuntu install process.
  3. Word your way through the guided install until you get to the Step 4 - Prepare disk space. Here make sure to choose Guided - use entire disk.
    How to … install Ubuntu 8.04 on a USB flash drive
    Note: I’ve only got one drive displayed - all others have been disconnected.
  4. Carry on working your way through the install until you get to Step 7 - Ready to install. Here click on the Advanced … button. Under Advanced Options make sure that Install boot loader is checked and from the Device for boot loader installation drop down box make sure to choose the correct drive to install the boot loader onto - this is of critical importance if you still have your hard drives fitted! When you’re done click OK and continue with the install.
    How to … install Ubuntu 8.04 on a USB flash drive
  5. Now it’s mostly a matter of playing the waiting game as Ubuntu is being installed on your USB flash drive.
  6. When the process is done, remove the Live CD and reboot.
    How to … install Ubuntu 8.04 on a USB flash drive
    Note: If you disconnected your hard drives, now is a good time to reconnect them!
  7. Remember that to make use of your Ubuntu-powered USB flash drive on a PC you’ll need to use the BIOS or boot loader to choose the option to boot from USB devices.

Note: If you have VMware Workstation installed then you can create your Ubuntu-powered USB flash drive from the comfort and safety of a virtual PC - also, since you can boot up off the Ubuntu .ISO file, you don’t need to burn a CD!

Enjoy!

Want to get in touch? Feel free to drop me a note!

Right to Reply: Should any industry representatives wish to comment on any posts on Hardware 2.0, I will be happy to publish their reply verbatim on this blog.

Adrian is a technology journalist and author who has devoted over a decade to helping users get the most from technology. He also runs a popular blog called The PC Doctor. See his full profile and disclosure of his industry affiliations.

  • Talkback
  • Most Recent of 38 Talkback(s)
RE: How to ... install Ubuntu 8.04 on a USB flash drive
Just use the tutorials at http://www.pendrivelinux.com

The scripts provided will install Linux to a pendrive for you!... (Read the rest)
Posted by: LCIWeb Posted on: 09/09/08 You are currently: Logged In | Log out
Good tip Yagotta B. Kidding   | 05/16/08
RE: How to ... install Ubuntu 8.04 on a USB flash drive Linux User 147560   | 05/16/08
True ... Adrian Kingsley-Hughes  ZDNet | 05/16/08
... Linux User 147560   | 05/16/08
RE ... nothing to be scared n0neXn0ne   | 05/16/08
Non-Linux users??? storm14k   | 05/16/08
Caution: Linux = addictive fun pjotr123   | 05/16/08
better yet cheapasskevin   | 05/16/08
Is it persistent? Eapache   | 05/16/08
Twice yes pjotr123   | 05/17/08
RE: How to ... install Ubuntu 8.04 on a USB flash drive richvball44   | 05/17/08
You keep you data: thumb drive is writeable, unlike a LiveCD. pjotr123   | 05/17/08
Can You Do This With Windows? itanalyst2@...   | 05/18/08
Can you do this with LINUX? LOL! Ok, stop kiding me adelinoaraujo@...   | 05/18/08
RE: How to ... install Ubuntu 8.04 on a USB flash drive adelinoaraujo@...   | 05/18/08
Install defaults Larry the Security Guy   | 05/19/08
Add the advanced step to screen gallery adelinoaraujo@...   | 05/18/08
RE: How to ... install Ubuntu 8.04 on a USB flash drive tora201   | 05/18/08
RE: How to ... install Ubuntu 8.04 on a USB flash drive mottomike7@...   | 05/19/08
Why USB Drive? TheGooch1   | 05/19/08
Then why are you here? ajole   | 05/19/08
Go Away kevin@...   | 05/20/08
How to not mess up. Narg   | 05/19/08
RE: How to ... install Ubuntu 8.04 on a USB flash drive n4kim@...   | 05/27/08
bet you wish you had disconnected it sir_cheats_alot@...   | 05/27/08
Flash Drive n4kim@...   | 05/27/08
Whammied C: sgdreamer   | 05/28/08
USB and SATA Jxn   | 06/03/08
USB and mobile phones Jxn   | 06/03/08
RE: How to ... install Ubuntu 8.04 on a USB flash drive teajay74   | 06/16/08
Error corrected... teajay74   | 06/19/08
RE: How to ... install Ubuntu 8.04 on a USB flash drive BCJr   | 06/23/08
Drives mapping logari81   | 06/25/08
Drives mapping and booting BCJr   | 06/26/08
RE: How to ... install Ubuntu 8.04 on a USB flash drive j to the r.o.c.k.   | 07/02/08
Install on a Mac BCJr   | 07/02/08
mac back-up j to the r.o.c.k.   | 07/07/08
RE: How to ... install Ubuntu 8.04 on a USB flash drive LCIWeb   | 09/09/08

What do you think?

3 Trackbacks

The URI to TrackBack this entry is:
http://blogs.zdnet.com/hardware/wp-trackback.php?p=1873

  • Running Ubuntu from a Flash Drive
    Here’sa really interesting idea courtesy of Adrian Kingsley-Hughes at ZDNet (”How to … install Ubuntu 8.04 on a USB flash drive“). In the post he outlines the process of how you would go about preparing a USB flash drive to run Ubuntu ...

    Trackback by techticker — May 16, 2008 @ 11:05 pm

  • How to try out Ubuntu Linux without installing it
    and run on other computers without ever affecting the main system. Or if you just want to see what all the discussion of the Ubuntu OS is about you can try Ubuntu on an external removable medium without fear of doing damage to the regular system. Adrian Kingsley-Hughes gives some details of how to do this.

    Trackback by Anonymous — May 22, 2008 @ 3:28 am

  • Ubuntu on a USB flash drive
    Can you install Ubuntu on a USB flash drive? Yes, yes you can. Here's what you need.

    Trackback by Anonymous — May 22, 2008 @ 3:28 am

advertisement

Recent Entries

Recommended

advertisement

Archives

ZDNet Blogs