Hardware

Use Live USB Creator to install Fedora 12 from a USB stick

Vincent Danen walks you through the use of the Live USB Creator tool to install or boot Fedora 12 from a USB drive.

Linux runs great on netbooks, but unfortunately most of them come without an optical drive of any kind which can make it a challenge to install an operating system on them. Unless you have an external DVD-ROM or CD-ROM drive to connect to them, the ideal solution would be to boot from a USB stick.

Since most modern computers, if not all of them, permit booting from a USB device, this makes for a simple solution. Not only that, USB devices can be used multiple times, unlike the DVD you burn an ISO to and use a handful of times.

Fedora makes it very easy to create a bootable USB stick with the Live USB Creator tool. You can use an existing Fedora installation, and probably any other Linux distribution, to run the tool. There is even a Windows application to allow for creating a Fedora-based bootable USB stick as well.

To begin, install the liveusb-creator package on Fedora:

# yum install liveusb-creator

or download the Windows installer from the project page. When it is installed, execute the liveusb-creator tool (it must be started as root, in Linux):

# liveusb-creator

Here you can use an existing downloaded LiveCD, or the tool can download a Fedora image for you to burn. You can choose which version of Fedora to install (10, 11, or 12) and also for which desktop: KDE or GNOME. You can also download the Sugar on a Stick operating system, which is an educational Sugar environment meant for children to be able to boot any computer into their own personalized Sugar environment.

You can also tell the tool how much persistent storage to reserve on the USB stick. This space can be used to save files and make modifications to the LiveCD image, allowing you to boot and run Fedora with any changes you make.

Insert the USB stick to use (should be at least 4GB in size), and when you have chosen which version of Fedora or Sugar on a Stick to install, or have supplied your own LiveCD image, click the Create Live USB button. Make sure that the target device shows up properly; if it isn't already selected, make sure you select the correct device (i.e., /dev/sdg1 on Linux or 'E:' in Windows). Note that the install is completely non-destructive, so the device can contain other data as well.

Depending on what you have chosen to do, the installation can take some time, especially if you need to download the LiveCD image first. A progress bar on the screen will indicate how far along it is, and the text pane indicates exactly what it is doing at any given point in time.

When the Live USB Creator is completed, you can eject the USB stick, insert it into your other computer (or reboot the existing computer) and indicate in the BIOS or via boot selection at startup which device to boot from. Select the USB stick and watch Fedora boot, at which point you can either select to use Fedora as installed on the USB stick, or use it to install Fedora onto the computer.

Get the PDF version of this tip here.

About

Vincent Danen works on the Red Hat Security Response Team and lives in Canada. He has been writing about and developing on Linux for over 10 years and is a veteran Mac user.

9 comments
ddalley
ddalley

A 4Gb stick is barely enough to handle actually using a full Linux distribution, so you may want to start with an 8Gb or larger stick. This extra room allows you to save large files, update Linux without running out of room (it happens, especially if the small stick is not used frequently) and install the programs you like or need. You will never be sorry for installing to a large mem-stick, but using a small one can be trouble.

pvollma
pvollma

I executed yum install and liveusb-creator as root, but was not given the option to install any version of Fedora 12 (which is the one I wanted to try). This is on a Fedora 9 installation (options were Fedora 10, 11, 9, 8 and Sugar).

dhs13
dhs13

Worthless- (1) it doesn't work if you have a Windows machine and (2) USB creator just doesn't work. or Fedora just decides to hung every time I try to create a Fedora on the stick.

dold
dold

I have used the Fedora Live USB Creator to make a few bootable USB sticks, completely on a Windows XP SP3 machine. I have built the Fedora Live Image, and I have also built a few Ubuntu images. The creator allows you to use a CDROM or .iso of some bootable Linux distribution, so it isn't restricted to the distributions that it knows how to download. I prefer Ubuntu to Fedora. It is more polished and always includes the drivers I need, where Fedora always needs some add-ons later. The Ubuntu creator didn't work from Windows for me, only from a booted Ubuntu. The Fedora Creator works from Windows, and also leaves me with a usable stick for Windows, where the Ubuntu Creator leaves you with a Linux-only stick.

adamhorner
adamhorner

Can a Live USB be created from a Live Fedora CD only - ie running from what is really only a Windows PC (only Windows on the hard drive)?

vdanen
vdanen

Strange. It worked for me. I used Fedora 12 to create a Fedora 12 USB stick that I most definitely booted my MSI Wind off of, and installed Fedora 12 onto the Wind using it. I've not tried it in Windows, to be honest, but it certainly worked on Fedora 12.

ddalley
ddalley

Yes, Adam, just follow the instructions as written, above. Boot from the Live CD and run the USB creator.

ececopar
ececopar

I tried to install Fedora in my PC but didnt work, how can i recover the HD?