Fedora 9 on a USB key

Fedora 9 on a USB key

As i’m running a test envioronment using Fedora9, i thought i’d have a go at installing the live cd onto a USB key, turns out it was quite simple

1, download the fedora9 live cd

2, install the livecd-tools – yum install livecd-tools

3, determine where your USB key is mounted – use the df -h command, /media/disk is the USB key so it’s /dev/sdb1

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
35G 6.8G 26G 21% /
/dev/sda1 99M 19M 76M 20% /boot
tmpfs 501M 12K 501M 1% /dev/shm
/dev/sdb1 2.0G 0 2.0G 0% /media/disk

4, cd to the folder with the livecd iso and as a super user

livecd-iso-to-disk –overlay-size-mb 1000 Fedora-9-Live-i686.iso /dev/sdb1

If i’m not mistaken, the overlay gives you 1000mb space for your own files.

You’ll then get something like

Verifying image…
Fedora-9-Live-i686.iso: 17d675e98a44754d41ba0d93f485ffa3
Fragment sums: 7dba468e8adf87c776ae4a15a871426ba74dba1187adb2a6807c1e124a34
Fragment count: 20
Percent complete: 100.0% Fragment20/20 -> OK
100.0
The media check is complete, the result is: PASS.

It is OK to use this media.
Copying live image to USB stick
Updating boot config file
Installing boot loader
USB stick set up as live image!

5, Reboot

Note, in order to boot your USB key, you need to make sure your BIOS is capable of booting from a USB device, not all motherboards support this. If it does, change the boot order to boot from USB first. ENJOY

Taken from here and here

No related posts.

One Response to “Fedora 9 on a USB key”

  1. Philip says:

    Thanks for the informative post. I have been meaning to give Fedora a try, I have got a spare 4GB USB stick so I’ll probably try this too, thanks again :)

Leave a Reply