Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-17-2010, 03:03 PM   #1
LQ Newbie
Registered: Aug 2010
Posts: 28

Rep: Reputation: 0
Trying to Create a Live USB of Fedora 13 Using Ubuntu 10.04.1

I want to try out Fedora using a live USB. I have tried using Ubuntu's Startup Disk Creator but it won't except the Fedora ISO. Is there another program for Linux that could make a live USB?
Old 10-17-2010, 03:06 PM   #2
LQ 5k Club
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17 , ChromeOS
Posts: 5,120
Blog Entries: 20

Rep: Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382Reputation: 2382
I use the Linux Version of Unetbootin to make bootable USB in Ubuntu. Make sure mtools and p7zip are installed also in Ubuntu before running Linux Unetbootin.
Old 10-17-2010, 03:45 PM   #3
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
I found these videos on youtube. Below are a few videos on using unetbootin. There are many more on youtube.

Create a Live System on your Hard Drive with Unetbootin

Multiboot USB drive How To - Linux

Boot an ISO off your Hard Drive

Note: The Hard drive method will work with USB drives as well.

Last edited by dv502; 10-17-2010 at 03:59 PM.
Old 10-18-2010, 03:40 PM   #4
Registered: Mar 2008
Posts: 16,883

Rep: Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498Reputation: 2498
See for many how-to's also.
Old 10-18-2010, 03:46 PM   #5
LQ Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
it's simple

rename isolinux folder to syslinux
rename isolinux.cfg to syslinux.cfg

then use Gparted to label the usb according to what the syslinux.cfg says CDLABEL=?
or it says something like that...?
just label usb FEDORA and put FEDORA where it says CDLABEL= or whatever it says;

actually your supposed to use the Fedora USB creator so you can also have persistent overlay

I also recommend the new Fedora Fusion 14 beta, it's nice

Last edited by linus72; 10-18-2010 at 03:49 PM.
Old 10-20-2010, 03:03 PM   #6
Registered: Sep 2006
Location: USA - NYC
Distribution: Whatever icon you see!
Posts: 642

Rep: Reputation: 57
I don't use unetbootin or those custom scripts. I create a Live USB manually. The steps are more involved, but it works as I've tested it.

I will use tinycore_3.2 in this example.

Plug in your USB stick.

Run this code to see all logical block devices.

dmesg | egrep hd.\|sd. | grep -i 'logical'
sd 0:0:0:0: [sda] 180941040 512-byte logical blocks: (92.6 GB/86.2 GiB)
sd 0:0:1:0: [sdb] 29886400 512-byte logical blocks: (15.3 GB/14.2 GiB)
sd 4:0:0:0: [sdc] 7837696 512-byte logical blocks: (4.01 GB/3.73 GiB)
Above is the output from my system. Yours will vary. Anyway, you can see sdc is the USB stick by the size (4.01 GB/3.73 GiB).

The next steps must be done as root.

Using fdisk or cfdisk, create a vfat or linux partiton on the USB stick and set the boot flag on in that partition.

Next, format the partition with either mkfs.vfat or mkfs.ext3 depending on partition type you created above.

Next, mount the iso image and the USB drive. I will use /mnt/iso and /mnt/usb in this example.

mount -o loop tinycore_3.2.iso /mnt/iso/
mount /dev/sdc1 /mnt/usb/
Next, copy all files and directories from /mnt/iso to /mnt/usb.

rsync -r /mnt/iso/ /mnt/usb/

Installing Grub

grub-install --no-floppy --root-directory=/mnt/usb/ /dev/sdc
IMPORTANT: Make sure you specific the right drive of your USB stick!

Create or edit /mnt/usb/boot/grub/menu.lst

Add these lines

default 0
timeout 5

title tinycore
kernel /boot/bzImage
initrd /boot/tinycore.gz
Note: Some of you may be asking where is the hdx,x part. Well, it is not needed at least in the case. I did add the hdx,x part before, but it didn't work. It worked only when I enter it as above.

Save the file.

That's it. Whew...

Reboot the system and change the BIOS to boot off the USB drive first.

Note: If your BIOS does not support booting off USB drives, use this bootloader

If you've done everything correctly, you will see tinycore in the grub boot menu.

Like I said, I done this a few days ago and it worked like a charm and I tested it again with crux linux by modifying the menu.lst and it booted fine too.

At first, it looks like alot of work, but it's really not. Here is a recap.

Determine which drive your USB drive is using.
Create the partition with fdisk or cfdisk and toggle boot on.
Format the partition
Mount the iso image and the USB drive
Copy all files and directories from the iso folder to the usb folder
install grub to the root directory of the USB drive and create or edit the menu.lst.
Save file & Reboot

- Cheers

Last edited by dv502; 10-20-2010 at 04:54 PM.


fedora, liveusb

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a persistent live USB darksyde Linux - Software 2 04-20-2010 03:13 PM
Using syslinux to create a Slackware USB-Live disk? khronosschoty Slackware 2 04-05-2010 07:51 PM
LXer: Easily Create A Custom Ubuntu Live CD With Ubuntu Customization Kit (UCK) LXer Syndicated Linux News 0 01-10-2010 01:30 PM
[SOLVED] Can not create live usb for OpenSuse using Live USB creater :( PrinceCruise Linux - General 4 09-23-2009 02:04 PM
create usb live slackware theacerguy Slackware 3 07-20-2009 05:00 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration