LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Closed Thread
 
LinkBack Search this Thread
Old 10-19-2012, 06:46 AM   #1
abcde597
Member
 
Registered: Oct 2012
Location: Alabama, US
Distribution: Several Debian Based Distros
Posts: 57

Rep: Reputation: Disabled
Question Help me make a Live USB drive with a particular ISO? (Details inside)


Hi guys. I posted this question in LFS, but no one really seemed to have done this, so I decided to move my question.
Could someone organize this into a step-by-step list, and give me a brief explanation on how to install GRUB on a flash drive?
And here's a link to the ISO I downloaded, *WARNING* It's 633 MB.
lfslivecd-x86-6.3-r2145

Quote:
BOOTING FROM ISO IMAGE

If you want to boot this CD on a computer without a CD-ROM drive, follow the steps below.

Store the ISO image of this CD as a file on a partition formatted with one of the following filesystems: vfat, ntfs, ext2, ext3, ext4, jfs, reiserfs, reiser4, xfs

Copy the boot/isolinux/{linux,initramfs_data.cpio.gz} files from the CD to your hard disk

Configure the boot loader to load “linux” as a kernel image and “initramfs_data.cpio.gz” as an initrd. The following parameters have to be passed to the kernel:

rw root=iso:/dev/XXX:/path/to/lfslivecd.iso rootfstype=fs_type

where /dev/XXX is a partition where you stored the LiveCD image, and fs_type is the type of the filesystem on that partition. You may also want to add “rootflags=…” option if mounting this partition requires special flags.

If there is only Windows on the target computer, please use grub4dos as a boot loader. It is available from http://sourceforge.net/projects/grub4dos.
MAKING A BOOTABLE USB DRIVE

Install GRUB on a flash drive, then follow instructions in the “BOOTING FROM ISO IMAGE” above, using a partition on your flash drive. The following tips will ensure that the flash drive is bootable in any computer:

Use the persistent symlink such as “/dev/disk/by-uuid/890C-F46A” to identify the target partition.

Add “rootdelay=20” to the kernel arguments.
 
Old 10-19-2012, 07:00 AM   #2
Ztcoracat
Senior Member
 
Registered: Dec 2011
Location: Columbia
Distribution: Fedora
Posts: 2,438
Blog Entries: 1

Rep: Reputation: Disabled
Hi:

I found the step by step instructions on how to Install Grub On A Flash Drive:
http://www.ehow.com/how_7149103_inst...ash-drive.html

I looked at the lfslivecd-x86-6.3r2145.iso that you linked to.

I'm not sure how to re-write these instructions to make them any easier but if it were me I would do a little more research so you make the partition (ext3 or ext4)correctly.
Also configuring the boot loader may not be a simple task. I strongly suggest you read this documentation on it go slow and take your time.

GRUB bootloader - Full tutorial:
http://www.dedoimedo.com/computers/grub.html

Good luck

Last edited by Ztcoracat; 10-19-2012 at 07:01 AM.
 
Old 10-19-2012, 03:16 PM   #3
jefro
Guru
 
Registered: Mar 2008
Posts: 10,246

Rep: Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255Reputation: 1255
Odd, grub4dos might have been able to boot directly to the ISO image. Since this is to be used in place of a real cd/dvd, why not use grub4dos.

Kind of a trick question also. Grub is not a standard sort of tool exactly. Depending on how you got it, may affect how it is used or works. Some may not boot a usb.


I'd also even wonder if the iso is a hybrid iso image.

Just for some more info, www.pendrivelinux.com has many how to's for this sort of issue. Each distro is different too and may fail on some solutions.
 
Old 10-24-2012, 05:36 PM   #4
zoltan1
LQ Newbie
 
Registered: Oct 2012
Posts: 9

Rep: Reputation: Disabled
I used this program before to put iso's on a usb drive:

http://www.pendrivelinux.com/univers...easy-as-1-2-3/

It worked!
 
Old 10-24-2012, 08:12 PM   #5
Rupadhya
Member
 
Registered: Sep 2012
Location: Hoffman Estates, IL
Distribution: Fedora
Posts: 167

Rep: Reputation: Disabled
To test the Fedora 18 Beta Test Candidates and copy various ISO images to a USB drive, I have used LiLi USB Creator for Windows. It is at http://www.linuxliveusb.com/. For Fedora, I use LiveUSB Creator, which has a Windows version and a Fedora version. Check out https://fedorahosted.org/liveusb-creator/. You can use LiLi to make a Live Fedora USB drive as well.

If your particular ISO is not supported in LiLi USB, you can communicate to the people who support the product to get it added.

- Raj
 
Old 10-28-2012, 04:43 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Follow-ups please to the original: http://www.linuxquestions.org/questi...ve-4175432228/
 
  


Closed Thread


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
make iso cd from live cd dmg xunling Linux - Desktop 2 10-16-2010 05:55 PM
How can I make live CD from FC9 iso muasif80 Linux - Newbie 3 10-05-2008 01:03 PM
How to make USB hard drive a 'Live' FC8? Tomcr Fedora - Installation 1 04-12-2008 03:44 AM
Using genisoimage to make an iso of a live system ? uncle-c Linux - Newbie 1 03-13-2008 09:44 AM
Knoppix - how to make a live USB drive duryodhan Linux - Distributions 2 01-18-2007 09:04 AM


All times are GMT -5. The time now is 12:02 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration