Linux - SoftwareThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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?
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.
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.
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.
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.
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.
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
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.
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.
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 ;-)