LinuxQuestions.org
Register a domain and help support LQ
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 11-10-2005, 01:34 PM   #1
twistedpair
Member
 
Registered: Jan 2004
Posts: 71

Rep: Reputation: 15
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
 
Old 11-10-2005, 02:24 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Have you looked at ISO Linux?
 
Old 11-10-2005, 03:07 PM   #3
free_ouyo
Member
 
Registered: Mar 2004
Location: Belgium
Distribution: Ubuntu
Posts: 133

Rep: Reputation: 15
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
 
Old 11-10-2005, 06:26 PM   #4
twistedpair
Member
 
Registered: Jan 2004
Posts: 71

Original Poster
Rep: Reputation: 15
Thanks for the tips! I'll take a look at both.

-Pair
 
Old 11-11-2005, 09:48 AM   #5
twistedpair
Member
 
Registered: Jan 2004
Posts: 71

Original Poster
Rep: Reputation: 15
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
 
Old 11-11-2005, 12:38 PM   #6
twistedpair
Member
 
Registered: Jan 2004
Posts: 71

Original Poster
Rep: Reputation: 15
'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
 
Old 11-11-2005, 12:53 PM   #7
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 56
Quote:
root-of-iso-tree
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 .
 
Old 11-11-2005, 12:55 PM   #8
twistedpair
Member
 
Registered: Jan 2004
Posts: 71

Original Poster
Rep: Reputation: 15
Killer! I'll give it a try.

Pair
 
Old 11-11-2005, 04:36 PM   #9
twistedpair
Member
 
Registered: Jan 2004
Posts: 71

Original Poster
Rep: Reputation: 15
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
 
Old 11-12-2005, 05:31 AM   #10
D0M1N1C
LQ Newbie
 
Registered: Aug 2005
Posts: 25

Rep: Reputation: 15
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
 
Old 11-13-2005, 11:26 PM   #11
twistedpair
Member
 
Registered: Jan 2004
Posts: 71

Original Poster
Rep: Reputation: 15
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
 
Old 11-13-2005, 11:27 PM   #12
twistedpair
Member
 
Registered: Jan 2004
Posts: 71

Original Poster
Rep: Reputation: 15
Almost forgot, much thanks to all who posted!
 
  


Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to create an iso BOOTABLE abd_bela Debian 1 06-04-2005 08:07 PM
bootable cd create... navaladi Mandriva 1 01-06-2005 05:05 AM
how to create bootable cd shadowsurfer Linux - Newbie 7 10-07-2004 08:35 PM
Question: How to create a bootable install custom ISO? jsokko Linux - Software 6 04-20-2004 07:54 AM
unable to create a bootable cd from iso image abhijit Linux - Newbie 4 09-01-2003 05:16 PM


All times are GMT -5. The time now is 02:32 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration