home | about | newsletters | contact | advertising | shop | radio | courses | widget | site map

Helping Normal People Get Their Geek On And Live The Digital Lifestyle

Is It Possible To Make $141,657.15 While Playing With Your PC?
» Learn More About PCMech Premium Program
Big Things Are About To Happen Here

Login: Password: Remember me

Ubuntu 8.04 Persistent Install To USB Stick

Posted Oct 1, 2008 by Rich Menga  

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.

Posted In: Featured, Linux, Software

3 Comment(s)

  1. Niel Taylor said:
    10/7/2008 5:50 pm

    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.

    [Reply]

    Rich Menga reply on October 8, 2008 8:14 am:

    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.)

    [Reply]

  2. alooret said:
    10/15/2008 12:50 am

    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.

    [Reply]

  3. Brendan Cogan said:
    11/2/2008 4:13 pm

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

    [Reply]

    Rich Menga reply on November 3, 2008 2:17 pm:

    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..)

    [Reply]

Post a Comment

Got The Newsletter?

Exclusive PCMech Content. Sign up and receive our free report: 20 Tips For Becoming a Technology Power User.

NAME:
EMAIL:

PCMech Highly Recommends...

The Hacker's Nightmare is a full 500+ pages of valuable content. It has plenty of diagrams and illustrations and is broken down into small sections with easy step-by-step procedures. This is what I like about this book. It is powerful information that everybody needs, but it doesn't read like a boring computer manual. LEARN MORE

Best of PCMech