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!
Booting from CD
Booting from CD
Programming is not about using a language to solve a problem, it's about using logic to find a solution !
- xenos
- Member
- Posts: 1121
- Joined: Thu Aug 11, 2005 11:00 pm
- Libera.chat IRC: xenos1984
- Location: Tartu, Estonia
- Contact:
Re: Booting from CD
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?
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Booting from CD
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
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?
Programming is not about using a language to solve a problem, it's about using logic to find a solution !