Page 1 of 1

booting from a cd.

Posted: Mon Nov 26, 2007 5:46 pm
by crazygray1
I don't have a floppy drive and I want to boot from a cd. Only problem is I can't figure out how to read from a cd.

by the way I did check google.

Posted: Mon Nov 26, 2007 5:57 pm
by crazygray1
I figure that you use int 13 and use the right drive number I think. But what would be the cd-rom drive number.

Posted: Mon Nov 26, 2007 8:35 pm
by neon
If you wanted, you can just use use emulation to run the floppy image from CD. i.e, using your CD imaging program, just create a new bootable CD, and use your floppy image. MagicISO is great for this.

This is the easy way of doing this though.

Posted: Mon Nov 26, 2007 8:42 pm
by crazygray1
What's the hard way.
I'm actually looking more for how to write code for it.

Posted: Tue Nov 27, 2007 1:40 am
by Combuster
You can do the same thing from the command line: Bootable CD

Posted: Tue Nov 27, 2007 6:37 am
by crazygray1
Oh so your saying that the code for loading from a floppy works the same on cds?

Posted: Tue Nov 27, 2007 7:01 am
by Solar
As has been said, that's "the easy way". Check El Torito.

Posted: Tue Nov 27, 2007 4:50 pm
by crazygray1
Oh thanks. This clears it up a bit. :D