Page 1 of 1

Booting from CD

Posted: Thu Oct 21, 2010 10:46 pm
by Chandra
Hello everyone,

I prepared the boot cd for my OS with 'No Emulation' type. The problem is the ISO of this bootable cd doesn't work with any of the emulators( I tested it under Bochs, Qemu and virtual PC) while it works perfectly fine with real hadware (I tested in under 3 different PCs). When I try to emulate this ISO under Bochs, it gives following output:
int 13h_cdrom: Unsupported AH=0x02

The code is similar to that booting from floppy(except head=0 and dl=0x9f) and I have not initalized the file system yet. I don't understand why it doesn't work with emulators but work with real hardware. If anyone knows about this, please Help!

Re: Booting from CD

Posted: Fri Oct 22, 2010 12:27 am
by xenos
It would probably be useful to know how you create the ISO image. Which program are you using (mkisofs / genisoimage?) and what are the command line parameters?

Re: Booting from CD

Posted: Fri Oct 22, 2010 3:55 am
by Combuster
If you are using no emulation, you can't normally access the CD as it is not a 512b sector medium. According to the specification you should use the int13 extensions instead (AH=41..48)

Re: Booting from CD

Posted: Wed Oct 27, 2010 2:21 am
by Chandra
Yes, that's true. I've tried this before but the removable drive controller functions doesn't seem to exists while performing the installation check. Moreover, the eject media function and enhanced disk drive function also don't work at all. Is there any alternative?