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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-10-2005, 12:34 PM
|
#1
|
Member
Registered: Jan 2004
Posts: 71
Rep:
|
Create bootable ISO?
All,
Is there another way to make a CD bootable other than the "el torrito" method? The problem I am having is this:
Basically I am creating a liveCD (or trying to) and am getting a bunch of errors that all point to the fact that I don't have certain things statically compiled into my kernel, and since it is burried in an .img file, it can't get to any modules (because they are on a disk that isn't mounted yet!). What I am wondering is if there is some other way to make the CD bootable so I don't have to use the .img file?
Thanks,
Pair
|
|
|
11-10-2005, 01:24 PM
|
#2
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
Have you looked at ISO Linux?
|
|
|
11-10-2005, 02:07 PM
|
#3
|
Member
Registered: Mar 2004
Location: Belgium
Distribution: Ubuntu
Posts: 133
Rep:
|
Create bootable ISO?
Hello,
You can take a look at the Knoppix documentation and/or remaster howto?
They are some good tips for live cd creation.
--
free_ouyo
|
|
|
11-10-2005, 05:26 PM
|
#4
|
Member
Registered: Jan 2004
Posts: 71
Original Poster
Rep:
|
Thanks for the tips! I'll take a look at both.
-Pair
|
|
|
11-11-2005, 08:48 AM
|
#5
|
Member
Registered: Jan 2004
Posts: 71
Original Poster
Rep:
|
I had a look at the knoppix documentation as suggested. It appears that they are creating a compressed filesystem image to format the CD with. Does that sound close to correct? I am going to give it a try and see what I can do with it!
Thanks,
Pair
|
|
|
11-11-2005, 11:38 AM
|
#6
|
Member
Registered: Jan 2004
Posts: 71
Original Poster
Rep:
|
'Nother question about the ISOLinux method. Here's a quote from their site:
"To create an image, create a directory called "isolinux" (or, if you prefer, "boot/isolinux") underneath the root directory of your ISO image master file tree. Copy isolinux.bin, a config file called "isolinux.cfg" (see syslinux.doc for details on the configuration file), and all necessary files (kernels, initrd, display files, etc.) into this directory, then use the following command to create your ISO image (add additional options as appropriate, such as -J or -R):
mkisofs -o output.iso \
-b isolinux/isolinux.bin -c isolinux/boot.cat \
-no-emul-boot -boot-load-size 4 -boot-info-table \
root-of-iso-tree"
Sorry I know this is a terribly newbie question to ask, but I am not entirely sure what they mean by "root-of-iso-tree." Obviously I am supposed to specify a path there, but wouldn't the path to the root of the iso tree be the same thing "/" every time? Can someone give me a couple of good examples of how that should look? Sorry for all the fuss here, this stuff is fairly new to me.
Thanks,
Pair
|
|
|
11-11-2005, 11:53 AM
|
#7
|
Senior Member
Registered: Oct 2003
Posts: 3,057
Rep:
|
That's the folder where your cdbuild is located.
You could also cd into that directory and use the period ( . )
For example:
cd /home/cdbuild
mkisofs -o output.iso -b isolinux/isolinux.bin -c isolinux/boot.cat \
-no-emul-boot -boot-load-size 4 -boot-info-table .
|
|
|
11-11-2005, 11:55 AM
|
#8
|
Member
Registered: Jan 2004
Posts: 71
Original Poster
Rep:
|
Killer! I'll give it a try.
Pair
|
|
|
11-11-2005, 03:36 PM
|
#9
|
Member
Registered: Jan 2004
Posts: 71
Original Poster
Rep:
|
Alrighty, isolinux booted as advertized, but it didn't resolve the problem. Here is the error I get:
kmod: failed to exec /sbin/modprobe -s -k ide-cd, errno = 2
VFS: Cannot open root device "hdc" or 16:00
Please append correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 16:00
Any ideas? I was wondering if it is possible to load a generic kernel just to bring the devices up, and show a LILO screen, then use that to boot into another kernel somehow? Maybe that is too convoluted . . . Maybe there is an easier way. Any suggestions?
Thanks again,
Pair
|
|
|
11-12-2005, 04:31 AM
|
#10
|
LQ Newbie
Registered: Aug 2005
Posts: 25
Rep:
|
Ai, i'm not 100% sure but maybe you should try a different kernel, or build your own, it's not particularly hard.
What kernel are you using, or are you building a custom liveCD (like your own distribution)
Dom
|
|
|
11-13-2005, 10:26 PM
|
#11
|
Member
Registered: Jan 2004
Posts: 71
Original Poster
Rep:
|
This is great advice, and it worked. I had to compile the IDE-CD driver in instead of as a module. Once I did that, it fired up. There were plenty of other errors, but all that had to do with having a read-only filesystem.
-P
|
|
|
11-13-2005, 10:27 PM
|
#12
|
Member
Registered: Jan 2004
Posts: 71
Original Poster
Rep:
|
Almost forgot, much thanks to all who posted!
|
|
|
All times are GMT -5. The time now is 08:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|