On TechRepublic: Five super-secret features in Windows 7
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: How to ..., My Linux Experience

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!

Adrian Kingsley-HughesAdrian 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

Want to get in touch? Got a tip? Feel free to drop me a note! I ALWAYS respect anonymity. I'm also on Twitter (@the_pc_doc)

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.

Subscribe to Hardware 2.0 via Email alerts or RSS.

  • 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: a Guest | | Terms of Use
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-HughesZDNet Moderator | 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?

SponsoredWhite Papers, Webcasts, and Downloads

Click Here
advertisement

Recent Entries

advertisement

Archives

ZDNet Blogs

White Papers, Webcasts, and Downloads

SmartPlanet

Click Here