LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-22-2008, 02:11 AM   #1
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Burning .Iso image on pen drive?


Hey all,

I have got an .iso image of ghost for linux.
i have burnt it on cd to make a bootable media.
Now I need to know if I can make my pen drive to work as bootable media by burning the image on it.
If it is possible to burn iso image on pen drive then how to do it?
 
Old 05-23-2008, 12:17 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
Helloooooo
Can anyone help me to burn the iso image on the pen drive???
Is this possible or I am dreaming????
It is really urgent for me...
 
Old 05-23-2008, 12:51 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
If burning of iso file is not possible on usb stick, can I copy the iso file to usb stick and in some way boot from the usb stick using the iso file?
In anyway, I need to use the iso file I have to boot the system that does not have any os.
Also, I can't make too many copies of the iso on the media as I have only one external usb dvd rom.
 
Old 05-23-2008, 07:47 AM   #4
pobrika
Member
 
Registered: Jan 2008
Location: Bournemouth, UK
Distribution: Mint, #!, Fedora, Redhat, Centos
Posts: 70

Rep: Reputation: 18
Does this help at all?

http://www.pendrivelinux.com/
 
Old 05-23-2008, 08:03 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937Reputation: 5937
Your problem may be urgent for you but it isn't for the many volunteers that donate their free time to answer questions.

An ISO image is an exact copy of a CD or DVD which in a nutshell uses a different boot process then a regular drive so the image can not run as is from a USB stick.

http://www.linuxquestions.org/questi...d-disk-294744/
 
Old 05-24-2008, 12:24 AM   #6
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
Well, if I iso can not run from the usb then what options do I have other than buying external dvd roms?
But if linux distos like puppy can come as bootable from the vendors on usb sticks then why can not the other isos?
I mean the iso I am using and trying to burn is basically based on linux and uses linux kernel, only difference being that it is customized to do a specific job.
 
Old 05-24-2008, 01:36 AM   #7
abecedarian
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Rep: Reputation: 0
You're not listening; an iso image is a direct copy of a CD or DVD's compressed filesystem. A USB drive's filesystem is identical to that of a regular hard drive. Their structures are fundamentally different. You cannot 'burn' an iso to a USB drive in the same manner you may burn a CD.

There are, however, ways to achieve the same goal. Puppy, like you mentioned, can be installed to a USB stick. To do this, one extracts the contents of the iso to the USB and installs syslinux in order to make it bootable. Try googling for how to boot puppy or DSL (damn small linux) from a USB; the process will be very similar.

I also googled 'booting iso from grub' (Grub is a bootloader which makes hard drives bootable) and a few methods achieving the above result came back. Check out, for example, http://www.neowin.net/forum/lofivers...p/t305843.html. I haven't tested this, just letting you know it's there, so you can check for yourself.

Lastly, as a point of etiquette, don't demand people's immediate attention when you're asking for help on an internet forum. People don't sit on here all day waiting to 'serve' people; whoever helps helps out of their own free time and will when they have time away from their jobs or studies. You're at the mercy of their generosity.
 
Old 05-24-2008, 03:35 AM   #8
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
i do know that Usb stick is identical to the hard drive and very different from the optical media.
Burning in sense I meant that I just want some way to make the usb stick bootable using the iso that I have downloaded.
I do not mean to use the K3B or like to burn iso to the usb stick. If theres no way that usb can be made bootable out of iso then is there any way to write a custom tool for that?
But according to me there are lot of genius' out there who would have thought about this a long ago.
And telling that this is urgent I do not want to cross any body's path.
Will try how to get syslinux in usb and make it bootable though.
 
Old 05-25-2008, 10:06 AM   #9
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
Finally got it.
Did get the method to make the usb stick bootable using the iso image that I had for Ghost for linux.
Everything here depends on syslinux.cfg and isolinux.cfg files.
To boot from usb we need syslinux.cfg file.

Method I followed to make it: (Used windows machine to do this. But same can be done from linux box as well)

*Format the usb stick. I used HP usb formatter tool for this.
*Extract the files from iso to the usb stick. I used MagicIso.
*Download the syslinux.zip from kernel.org to some file say D:/syslinux
*Open the usb stick and rename the isolinux.cfg as syslinux.cfg. In my case both files were present. So, I deleted isolinux.cfg
*Extract the syslinux.zip. I used winzip.
*Now go to the terminal.
*cd to the directory where syslinux was extracted and then cd to win32 directory.
*Next just give this:
d:/syslinux/win32> syslinux.exe G: (G: was the usb stick. Replace with the drive name for usb stick)
*After the operation is complete exit and reboot the system to boot it from the usb.

This all procedure should work for most of the distros though I tried it for Ghost for linux.
 
Old 06-01-2008, 08:55 AM   #10
cuda_ubuntu
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Rep: Reputation: 0
Simple tool available at sourceforge: unetbootin

I see you were able to get this working manually. Another option ... A tool I have used to make this simple is found at http://unetbootin.sourceforge.net/

As an example, I have used it in linux only. But there is a windows version also.
Nvidia's present CUDA only supports the older gcc tools. I had upgraded to Ubuntu 8.04 and it became unwieldy to install two compiler versions to my harddrive. So I downloaded an iso with CUDA already installed. And in minutes using unetbootin had a working pendrive with this downloaded iso. The point is that a random iso was made to work easily -- there is nothing in unetbootin that would limit it to this particular iso.

Note, I did have a blank pendrive with two partitions as follows already setup before running unetbootin:
/dev/sdd1 * 1 356 734768 6 FAT16
/dev/sdd2 357 960 1246656 83 Linux
The drive type that I set unetbootin to write to in my specific case was /dev/sdd1.

The linux commands used to format my usb pendrive were:
mkfs.vfat -F 32 -n xubuntu8 /dev/sdd1
mkfs.ext2 -b 4096 -L casper-rw /dev/sdd2

Be very careful, /dev/sdd is specific to my setup you would use /dev/sdX where X corresponds to your hardware usbdrive. Note unetbootin will show a drop down list in the lower portion called "Drive:" with all possible drives and the default is NOT usually your pendrive so select this carefully before cliking OK -- otherwise you might happily overwrite your hard drive.

Last edited by cuda_ubuntu; 06-01-2008 at 10:05 AM. Reason: Adding some prereq. info on pendrive partitions
 
Old 06-02-2008, 01:27 AM   #11
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
Wow!!! That was another great utility but it does not seem to support the Ghost for linux. ( At least not mentioned there ).
And the method I mentioned in the previous post is for ghost for linux but the same can be done for DSL and Slack as far as I know.
 
Old 06-02-2008, 11:49 PM   #12
cuda_ubuntu
LQ Newbie
 
Registered: Jun 2008
Posts: 4

Rep: Reputation: 0
G4L and unetbootin

I was curious if unetbootin would support ghost for linux (G4L) since it wasn't mentioned specifically like you said. I had not used G4L before so I guessed and downloaded g4l-v0.25.iso from G4L project at sourceforge.

I ran unetbootin and rather than selecting a "distribution" I selected a "Disk Image". The file I pointed it to was g4l-v.025.iso. The files were then written to my usb pendrive and with a reboot all worked fine.
 
Old 06-02-2008, 11:56 PM   #13
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
So, I guess we all have another method for making G4L .iso to make bootable on USB flash drive.
I did not try unetbootin though I have downloaded both windows and linux versions to give it a try.
Will have to find out a windows machine to try it though ;-)
 
Old 08-29-2008, 04:43 AM   #14
karsin
LQ Newbie
 
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
Try this procedure:
Under Linux (there are also programs under Windows):
1: Make directory /mnt/iso

# mkdir /mnt/iso

2: Mount iso image
# mount -o loop downloaded_image.iso /mnt/iso

3: Copy files and directories from /mnt/iso to a pendrive (using mc for example)

Under Windows (or Linux)
4: Move or copy files from directory isolinux (where the boot image is located ex. boot.img) to root directory on a pendrivie

5: Rename file isolinux.cfg to syslinux.cfg

6: Get the syslinux (from www kernel org)

7. Run win32/syslinux.exe -ma X: (where X is your pendrive letter)

8. Boot your computer from USB
 
Old 09-01-2008, 03:56 AM   #15
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
Unetbootin method for making bootable usb stick did not work for me.
I am still making it work manually.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
? Burning a DVD iso image RexCoeus Linux - Newbie 2 11-11-2007 03:16 PM
burning an iso image? phonecian Linux - Software 5 01-26-2005 07:42 PM
Burning ISO image khdo80 Linux - General 6 10-30-2004 11:35 PM
Trouble Burning ISO image to USB pen drive madh@ter Linux - Hardware 1 08-30-2004 10:29 AM
Help Burning ISO Image AlmostArtafact Linux - Software 7 11-16-2003 11:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:45 PM.

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