LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-17-2010, 03:03 PM   #1
9876543210
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
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,111
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
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
dv502
Member
 
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
http://www.youtube.com/watch?v=chGIMlVxYI0

Multiboot USB drive How To - Linux
http://www.youtube.com/watch?v=MH-khdiXqYs

Boot an ISO off your Hard Drive
http://www.youtube.com/watch?v=5hnCXc2ZEys

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
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
See pendrivelinux.com for many how-to's also.
 
Old 10-18-2010, 03:46 PM   #5
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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
https://fedorahosted.org/liveusb-creator/

I also recommend the new Fedora Fusion 14 beta, it's nice
http://linux.softpedia.com/get/Syste...ux-57079.shtml

Last edited by linus72; 10-18-2010 at 03:49 PM.
 
Old 10-20-2010, 03:03 PM   #6
dv502
Member
 
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.

Code:
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.

Code:
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.

Code:
rsync -r /mnt/iso/ /mnt/usb/

Installing Grub

Code:
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


Quote:
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
http://www.plop.at/en/bootmanager.html

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.
 
  


Reply

Tags
fedora, liveusb



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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:50 AM.

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