Updated: April 5, 2008
The word cool takes an ever more significant meaning when you consider a Linux distribution running from a USB drive. Pendrivelinux.com is all about carrying your favorite Linux tools in your pocket and running them on just about any machine. This powerful combination offers flexibility, security and privacy, the three probably most important components of the modern computing. Best of all, setting up Linux to boot and run off a USB is a very simple affair.
Detailed and easily understandable guides are provided on the site, covering a range of scenarios - installation from either Linux or Windows, with or without rebooting, native or emulation. The guides aim at a wide range of users, from veteran Linux geeks to hesitant Windows newbies. My goal is to help the latter group, mostly.
Windows users will probably be hard pressed to abandon their favorite operating systems and move to Linux. Indeed, dual-booting or installing Linux for the first time can be daunting - and even inadequate for people who cannot afford to experiment with brand new ideas on their one single system.
One of the solutions comes in the form of virtualization: VMware or VirtualBox, take your pick. These powerful applications offer the user an almost harmless way of running guest operating systems on top of their hosts, regardless of the environment installed. But again, this could prove a difficult task for many. The installation of the application itself followed by the installation of the guest operating system, followed by firewall and network configurations ... can be troublesome.
Pendrivelinux is much simpler than either real or virtualized setups mentioned above. This is because the actual installations are aided by scripts, written by wise people, which help the new and inexperienced users master the control of the portable Linux distributions almost transparently.
This tutorial is intended to show you some of the simplest and quickest ways of running Linux off a USB drive. If you know your business, you can try some of the more advanced 'do-it-yourself' guides. Windows users can start enjoying Linux in 3-4 mouse clicks, without rebooting or anyhow altering their existing setups.
Linux distributions are (almost exclusively) free and open-source, which means you will not be legally impeded by where, how often or how much you use your Linux / USB drive. The goal of the Linux has always been to make good things small - fully featured, excellent Linux distributions with all the applications you can ever need fit neatly into packages only 50-100MB big (small), allowing you to run them from drives as tiny as 128MB. Never throw away old hardware - it's great for Linux! Finally, Linux operating systems are modular, allowing great flexibility - and security. Now, let's get the Linux up and running!
I will purposefully avoid complex command line instructions (for most part); they belong in the advanced section, are covered in great detail at pendrivelinux.com and will only confuse new users - plus there are several million such guides everywhere. You should be running some sort of Windows operating system (Windows 98 and up).
Your USB drive should be sufficiently large to contain necessary files - for example, a 600MB file will not fit onto a 256MB USB drive, so make sure you do the math before you begin.
Furthermore, if you are interested, you can read my detailed overview of an older version of Puppy in this article.
Ubuntu is one of the most popular Linux distros today. It's only logical to run it off a USB drive. There are two ways to achieve the desired:
Live CD with the ability to save changes - see Portable QEMU Persistent Ubuntu tutorial
Full Ubuntu install - see Run Ubuntu from Windows via a portable USB hard drive
The first way is simple, requires a smaller device (only 1GB) and takes only a little time to get going. In order to save changes to your sessions, you will have to define extra boot options every time you start Ubuntu.
The second way is longer and more complicated, requires a device that is at least 3GB in size and demands a full installation of Ubuntu, just like any other. However, once installed, it will run just like any other operating systems. Your changes will be automatically saved. Needless to say, you'll be able to install new applications and fully customize your distro.
In both cases, Ubuntu will run more slowly than natively booted, because it will run on top of an emulation layer created by QEMU. But this should not bother you. I will show you how to setup and install Ubuntu to your USB drive; it can be a thumb drive or an external HDD.
This could save you some trial and error: If you resize the partition too much, the process could fail. I suggest you leave some slack for the first partition, approx. extra 100MB in addition to the occupied space. In order to install the graphical drivers, you will need a working Internet connection. Or you will need to manually download the graphical drivers and kernel headers and install them from the command line.
Pendrivelinux is highly useful solution for both Windows and Linux users. The multitude of small, super-fast distros available makes them ideally suited for running from relatively slow, low-capacity USB devices. To say nothing about the stability and security of Linux operating systems. Pendrivelinux will please both newbies and veterans.
Setting up any one of the options offered is quite simple, especially since good people have already created self-extracting packages and written scripts that greatly facilitate the installations and configurations. It only takes a few minutes to be a happy Linux user - best of all, your system, whatever it is, stays untouched.
Well, that's it. I do promise to be back with Pendrivelinux, including a movie showing some Compiz action booted off the USB, in the best geeky fashion possible.
Meanwhile, happy Linuxing.