Ubuntu 8.04 Persistent Install To USB Stick

What exactly is a “persistent” install?

With a normal Live-CD boot of Ubuntu, you can’t save your session settings on exit of the OS. And if you boot off USB stick from a transferred CD image (such as one created using the Unetbootin utility), that won’t save your settings either because the OS is still in Live mode on boot.

A persistent install to USB stick does allow you to save your live session settings.

I wanted to try out this whole persistent-install thing just to see how it worked. Here’s what I have to report.

Of the tutorials for persistent install how-tos on the internet, the ones on pendrivelinux.com work the best, no question. The tutorial I followed is USB Ubuntu 8.04.1 Persistent install from Live CD.

I will say up front that doing this requires a ton of command line stuff. There is absolutely no GUI involvement, no click’n'drag, none o’ that. Terminal is your friend on this one. :-)

If you follow the directions to the letter, do it slowly so you don’t skip anything, it does work.

Here’s what I have to report about my experience with a persistent USB install.

The good and the bad

Performance

Notably slower. Boot-up takes longer, shutdown takes longer, general operation is slower, etc. This is not a speedy way to run Ubuntu whatsoever. And even if you used a variant such as Kubuntu or Xubuntu, it’s still slow.

Does it actually save your settings?

Yes. For a test I configured a wireless connection and installed the Flash plugin in the Firefox browser. On reboot, it was all there when I got back into the OS. Very cool. It also saved all the other settings (for the window manager, fonts, etc.)

Is it secure?

No. You lose a huge chunk of Linux security when you boot this way. Because it’s still technically a live mode, the system asks for no password on login. In fact it doesn’t even ask you to login, Ubuntu just goes straight to the desktop.

If anyone got your USB stick and booted it, yes they would get to all your stuff. Easily.

Is this a true installation?

No. While it’s true your settings are saved and you can operate the system normally, a live mode is a live mode no matter how you use it. It’s called “live mode” for a reason (several reasons, actually).

Is it possible to install a full installation of Ubuntu on a USB stick?

As long as it’s over 2GB, yes. A 2GB stick is just a smidgen too small for a full install according to the Ubuntu installer (by literally a few MB). So if you grab a 4GB stick, yes, you can install a full version.

Yes there are ways to get a full install of Ubuntu on a 2GB stick, however you’d have to do it not using the native Ubuntu installer. In other words, it’d be a pain at best to get it working. Besides which, running a full CD-sized distro on 2GB just isn’t smart because you’re guaranteed to run out of room fast.

If you want a full install of Linux on 2GB-or-under sticks, consider Puppy Linux or Damn Small Linux, both of which can be pushed to USB stick with bootable ability via Unetbootin.

Free eBook!

Like what you read?

If so, please join over 28,000 people who receive our exclusive weekly newsletter and computer tips, and get FREE COPIES of 5 eBooks we created, as our gift to you for subscribing. Just enter your name and email below:

Post A Comment Using Facebook

  • Niel Taylor

    i have a persistent “live mode” installation on a usb stick and am experiencing the same poor performance you describe.

    wondering what the performance is like with a full installation on a 4GB usb stick.

    • http://www.menga.net Rich Menga

      When I ran Ubuntu off an external hard drive in a USB caddy, the performance was actually pretty good. I would assume a full install on a USB stick would be notably better all-around (better speed, read/write, etc.)

  • alooret

    Works great here… much faster (2-4 times) than the live cd once up and running.

    If you want to speed up the boot process simply use syslinux -f instead of syslinux -sf. The s switch is syslinux slow and stupid method for systems that may have a hard time booting from USB.

    http://www.pendrivelinux.com rocks when it comes to pocket OS.

  • Brendan Cogan

    how would you install a full copy of Ubuntu to a USB drive?

    • http://www.menga.net Rich Menga

      Ubuntu requires a minimum 2048MB for install, meaning you need a 4GB USB stick to install a “full” Ubuntu on it (4GB sticks are cheap, about 20 bucks). The 2GB stick is just ever so slightly not enough for a full install (which sucks but what ya gonna do..)

What’s Your Preference?

Daily Alerts

Each day we send out a quick email to thousands of PCMECH readers to notify them of new posts. This email is just a short, plain email with titles and links to our latest posts. You can unsubscribe from this service at any time.

You can subscribe to it by leaving your email address in the following field and confirming your subscription when you get an email asking you to do so.

Enter your email address for
Daily Updates:

Weekly Newsletter

Running for over 6 years, the PCMECH weekly newsletter helps you keep tabs on the world of tech. Each issue includes news bits, an article, an exclusive rant as well as a download of the week. This newsletter is subscribed to by over 28,000 readers (many who also subscribe to the other option) - come join the community!

To subscribe to this weekly newsletter simply add your email address to the following field and then follow the confirmation prompts. You will be able to unsubscribe at any time.

Enter your email address for
Free Weekly Newsletter: