Bootable CD-ROM

I am trying to build a bootable CD-ROM using mkisofs 1.11.1 (the latest one
in the free directory). I specify -b “boot image” (i.e.,
/boot/images/hard.cd) to mkisofs but mkisofs exits and gives an error
message about the size of the boot image not being a valid number of
sectors. The “eltorito.c” file is, apparently, complaining because it is
expecting the boot image to be a certain size so it can emulate a floppy. My
question is: how do you force the hard.cd image file to be one of the valid
sizes so that mkisofs works?

Hi Lloyd,
You need a floppy image (the boot image you specify is a QNX boot file, a
little different from what you need). To make a floppy image, what you’d
want to do is take a floppy disk put it in a floppy drive, and dinit it for
QNX. Next copy your hard.cd file to the floppy as .boot. (so you’d have
/fd0/.boot if you mount your floppy as /fd0).

Then, you’d do a “cp /dev/fd0 boot.image” to create the boot.image. Change
your parameters in mkisofs to point the boot image to that new file. Run
mkisofs and see if that works.

R B Adler

“Lloyd Elwood” <LloydE@harding.ca> wrote in message
news:9c6lmm$scu$1@inn.qnx.com

I am trying to build a bootable CD-ROM using mkisofs 1.11.1 (the latest
one
in the free directory). I specify -b “boot image” (i.e.,
/boot/images/hard.cd) to mkisofs but mkisofs exits and gives an error
message about the size of the boot image not being a valid number of
sectors. The “eltorito.c” file is, apparently, complaining because it is
expecting the boot image to be a certain size so it can emulate a floppy.
My
question is: how do you force the hard.cd image file to be one of the
valid
sizes so that mkisofs works?

That works. Thanks! I think that they should refer to it as a disk image
(not a boot image) in their documentation which would have made it clearer

“R B Adler” <request@mapson.com> wrote in message
news:9c9vth$47m$1@inn.qnx.com

Hi Lloyd,
You need a floppy image (the boot image you specify is a QNX boot file, a
little different from what you need). To make a floppy image, what you’d
want to do is take a floppy disk put it in a floppy drive, and dinit it
for
QNX. Next copy your hard.cd file to the floppy as .boot. (so you’d have
/fd0/.boot if you mount your floppy as /fd0).

Then, you’d do a “cp /dev/fd0 boot.image” to create the boot.image.
Change
your parameters in mkisofs to point the boot image to that new file. Run
mkisofs and see if that works.

R B Adler

“Lloyd Elwood” <> LloydE@harding.ca> > wrote in message
news:9c6lmm$scu$> 1@inn.qnx.com> …
I am trying to build a bootable CD-ROM using mkisofs 1.11.1 (the latest
one
in the free directory). I specify -b “boot image” (i.e.,
/boot/images/hard.cd) to mkisofs but mkisofs exits and gives an error
message about the size of the boot image not being a valid number of
sectors. The “eltorito.c” file is, apparently, complaining because it is
expecting the boot image to be a certain size so it can emulate a
floppy.
My
question is: how do you force the hard.cd image file to be one of the
valid
sizes so that mkisofs works?
\