Up until now, UNetbootin was the best way to create a distribution on a stick. With UNetbootin, you can easily install a bootable Linux distribution onto a USB drive that can be used for various administrative tasks.
The problem with UNetbootin is that it doesn't support Clonezilla, one of the most popular open source, bare-metal recovery tools. If you want a USB version of Clonezilla, you can either go through the command line-based steps to get it installed (which is not for the faint of heart), or you can use a UNetbootin spin-off that supports Clonezilla called Tuxboot.
Tuxboot supports these operating systems:
- Clonezilla live
- DRBL live (Diskless Remote Boot in Linux)
- GParted live
- Tux2live (build a live disk from your installed operating system)
This short list alone is worth Tuxboot's price of admission, which happens to be free -- minus the flash drive. The ability to have these tools on portable flash drives could be a boon to administrators. Before I explain how to use Tuxboot, I describe how easy it is to create that Clonezille USB drive.
Tuxboot is available for Ubuntu and Windows; download the version to fit your platform. In this tutorial, I walk through installing this application on a Ubuntu desktop. For the Ubuntu version, you download a .deb file to be used for the installation and then follow these steps:
- Open a terminal window.
- Change into the directory into which you downloaded the file.
- Issue the command sudo dpkg -i tuxboot-XXX.deb (XXX is the release number).
- Type your sudo password and hit Enter.
If you installation errors out, follow these steps:
- Open Synaptic.
- Once the Synaptic UI opens, you will be informed there are broken packages. Go to Edit | Fix Broken Packages.
- Accept the fixes and click Apply.
- Click the Unity Dash and type tuxboot. Now the application will start.
- Open the application.
- From the main window (Figure A), select the distribution you want to install (if you've already downloaded an ISO image, click Pre Downloaded and then locate the .iso file).
- Select USB Drive from the Type drop-down.
- Select the correct USB device from the Drive drop-down.
- Click OK. This will start the process of creating the bootable USB device.
This window handles every aspect of the bootable USB creation. (Click the image to enlarge.)If Tuxboot cannot locate your flash drive (this happened to me), you'll need to do the following:
- Open a terminal window.
- Issue the command df -h.
- Search the listing of mounted devices and volumes (Figure B) and select the option for Show All Drives in the Tuxboot window.
- Select the correct Drive from the drop-down. If you choose the wrong drive when using the Show All Drives option, you could wind up installing the distribution over your desktop, so make absolutely sure you select the correct drive.
Here is the listing of drives mounted on my Ubuntu machine. THUMBY is the target in question. (Click the image to enlarge.)
With the USB created, try booting with this device into the distribution you installed.
You don't have to limit yourself to the distributions available to the Tuxboot drop-down; you can download an ISO image of nearly any Linux distribution and have Tuxboot install the distribution onto the flash drive.
Jack Wallen is an award-winning writer for Techrepublic and Linux.com. As an avid promoter/user of the Linux OS, Jack tries to convert as many users to open source as possible. His current favorite flavor of Linux is Bodhi Linux (a melding of Ubuntu and Enlightenment). When Jack isn't writing about Linux he is hard at work on his other writing career -- writing about zombies, various killers, super heroes, and just about everything else he can manipulate between the folds of reality. You can find Jack's books on Amazon, Barnes & Noble, and Smashwords. Outnumbered in his house one male to two females and three humans to six felines, Jack maintains his sanity by riding his mountain bike and working on his next books. For more news about Jack Wallen, visit his website Get Jack'd.