Readers: 50 | Updated: 05-17

Fedora 9 Puts Your Desktop on a USB Drive [Linux On A Stick]

Translate Into:

fedora_splash.jpg
This week's release of Fedora 9 makes carrying a full-fledged Linux desktop around on a USB drive a three-click affair. Even better, you don't need Linux installed to create it, you can leave the data on your thumb drive untouched, and any files you create or settings you tweak remain in place the next time you boot up. After the jump, let's create a fully-functional desktop-to-go using a simple Windows program and a 1GB or larger thumb drive.

Why Fedora?

Turning a live CD ISO into a bootable USB image has been possible for some time now, but it usually involves some heavy lifting with the command line, and almost always in Linux. Fedora's liveusb-creator program makes USB imaging dead simple, and the Fedora distribution itself has a lot going for it. The latest "community" version of Red Hat's Linux package benefits from the same updates to the GNOME desktop that Ubuntu's Hardy Heron includes, and KDE fans get a pretty full-featured version that runs on the customizable KDE 4. You can see a full list of updates and improvements to Fedora 9 here, but it's best to check it out for yourself. Here's how.


Make your live USB

First we'll need to grab Fedora's liveusb-creator tool by grabbing the zip file listed under "Download," extracting it and running the liveusb-creator.exe file found inside in Windows.

The top options on the window let you choose to use a live Fedora CD image you've already downloaded or have the tool grab a copy of the standard Fedora 9 disc itself. If you'd rather grab the file yourself or download it through a torrent, use one of the links listed under "live media" at the Fedora Project. Plug in your USB drive if you haven't already, and make sure it's selected in the "Target" field. Don't worry about files you've got on there—as long as the tool has space to put Fedora on there, it won't touch your other files.

liveusb1.jpg

The slider to the right is the most important part—"Persistent Overlay" is the space on the thumb drive you want to use for storing your files and settings. The Fedora system itself is going to take up roughly the size of a stuffed CD; using an empty 1GB thumb drive, I chose 205MB for the overlay, which left 63MB free, but you can scale that up for larger drives or down if you want more free space. Keep in mind that any files you store on the drive itself can be accessed from inside your USB-booted system, so a bigger persistent overlay isn't always necessary.

liveusb2.jpg

Hit "Create Live USB," and watch the creator do its thing. Once it's done, your stick is probably ready to get plugged in and booted up.

Fix booting problems

I say "probably" because there's a chance, especially if you've done some formatting or other live-booting experiments, that you'll get an error at boot-up stating there's "No partition active" or something similar. If that's the case, head to your Start menu's "Run" command ("Start search" box in Vista), type in diskpart and hit Enter. You'll get a "DISKPART>" command prompt, where you should follow these commands to mark your USB drive as "active."diskpart%20%282%29.jpg
  • list disk (Note the number that corresponds to your USB drive, usually "1")
  • select disk 1 (Assuming "1" was your USB drive
  • list partition (If you multi-partitioned your USB drive, select the right one, otherwise we'll assume "1")
  • select partition 1
  • active
  • exit

Customize your persistent desktop

fedora_landing.jpgNow you should be set to boot into Fedora 9. You'll see a splash screen counting down from 10 when you boot (hit Enter twice to speed it up), and you'll land at a desktop that's pretty much a fresh Fedora 9 install. You can access to your USB drive's files from here, connect to a wired or wireless network with the icon in the upper-right system tray, and you've got a solid set of built-in applications—Firefox 3 Beta 5, the GIMP, Pidgin, the Transmission BitTorrent client, and a pretty nifty Bluetooth manager, to name a few.

Want to put Thunderbird or OpenOffice.org? Head to the upper-left menus and click to System->Administration->Add/Remove Programs. Anything you install goes into your "persistent overlay," so as long as you've got space for it, you can add whatever you'd like.

Now it's time to explore and get familiar with a GNOME-based Linux system (or KDE 4, depending on which image you grabbed). Here are a few suggestions on helpful tweaks you might want to make once you're set up:

  • ntfs-3g_cropped.jpgEnable your NTFS drives: If you've loaded a USB Fedora on a system with Windows installed, you'll want to open up Add/Remove Programs, search for "ntfs-config," and install that package. From the System menu again, choose NTFS Config, and you can select the drives you want to have access to.
  • Sync data with your Windows apps: Once you can see your NTFS drives on your desktop, you can use your established settings in Firefox 3, Thunderbird, Pidgin, and other apps if you're booting on the same system as Windows. Check out our guide to dual-booting with shared data; if you're using Firefox 2 in Windows and only want to replicate bookmarks in Fedora, the GMarks synchronizer has updated to support versions 3 and 2.
  • Turn off annoying system sounds: One misstep Fedora makes, at least in my opinion, is enabling by default a slew of little chirps and whistles every time you click or do something. To silence them, head to System-Preferences->Hardware->Sound, click the "System" tab, and un-check the "Enable system sounds" box.
You've now got a portable system that's great for rescuing un-bootable computers, bringing your favorite work apps on the go, or just testing out Linux with realistic performance and custom options. What apps and tweaks have you made to your own live USB system? Share your tips, and questions, in the comments.

Kevin Purdy, associate editor at Lifehacker, wrote this feature from inside his USB drive. His weekly feature, Open Sourcery, appears every Friday on Lifehacker.




From The Blogs

Fashion Innovation,Digital Products

2007
让老板抓狂的11件USB玩具
有时你只是不想工作。多亏有这些消磨时间的USB玩具,你可以偷懒啦。它们保证能让你的老板咬牙切齿,把你踢出这个没希望的公司。 USB 熔岩灯 USB熔岩灯再现派对时光。只要你有个多余的USB接口,只要你... 查看全文

Fashion Innovation,Digital Products

2007
令人垂涎——USB存储器 (图)
这些USB存储器是不是很像我们平时吃的快餐呢? 查看全文

Fashion Innovation,Digital Products

2007
实时USB温度计
已经有USB全球定位系统设备以追踪你的位置所在。但是,如果你因某个原因需要知道温度的话,还有一个设备可以代替来追踪记录温度。它能够测量的温度范围是从摄氏零下20度到零上100度,或者是从华氏零下4度到... 查看全文

Coolbuzz

03-30
Finally, a great looking USB turntable! Ready for spinning some Vinyl?
Do you have good old Vinyl records catching dust on the shelves of your room (and obviously making you feel proud)? Well, I don’t, no vinyls for me (sadly) but if you are the lucky one with hundreds... 查看全文

/Film

04-15
Cool Stuff: Allspark Cube USB Hub
According to wikipedia, the Allspark Cube is a “cubic artifact adorned with glyphs and designs, and is capable of granting independent life to normal electronic and mechanical objects, and the source ... 查看全文

Product Reviews Net

04-11
Diamante USB Mouse
Now this is a computer mouse for us girls but weather or not it is practical I don’t know. This mouse features two buttons and a scroll wheel and is covered in white fake diamonds.This Diamante Mouse ... 查看全文

OhGizmo!

04-16
USB Mouse Hubs
By Evan AckermanNothing too special about these USB hubs, except that they look like mice or rats or gerbils, and I love rats and mice and gerbils. Unlike this USB hub, rats and mice and gerbils are w... 查看全文

OhGizmo!

04-16
Compact Mirror Hides Your Memory Card Reader
I've never really understood what the fascination it is that women have with little mirrors. It seems that they need to whip one out to make sure their face is still attached every so often. I suppose... 查看全文

iTech News Net

04-20
Adjustable USB Mini Mouse
This is a size adjustable USB mouse. You can adjust the length of the mouse to fit your palm size. The mouse cable is also adjustable. The mouse is an optical mouse.    If there is small, medium, larg... 查看全文

Coolbuzz

04-18
The USB drive comes calling on your wrist
USB drives have been coming in a plethora of shapes, designs and products. Now, we have a USB drive that is a little different and which is all set to adorn your wrist in the form of a wristwatch call... 查看全文
More Articles
Elanso is a professional online platform which provides translation service for corporate or individule clients, opportunities for translation practice and translation jobs, and translation tool/software-download. Our online translators provide about 186 languages' translation service, including Japanese,Korean, French, German, Spanish, etc, among which, 20,000 are English translators. And some big translation service companies in Shanghai, Beijing, Nanjing also registered here.