First post, by videogamer555
First I should say, I'm using the LATEST SVN (not release) version of DosBox, as it has all the latest features not found in the release version (including some that I might need for what I'm trying to do). I'm not using any of the community forks that include unofficial mods, only the latest official SVN version, so that I can easily get support here from the official DosBox community. I downloaded the compiled SVN version (so I wouldn't need to compile it myself) from http://www.emucr.com/2021/12/dosbox-svn-r4471.html which I believe is in fact the pure SVN version, without any unofficial mods.
These are my autoexec commands in the dosbox.conf file.
imgmount 2 "HDD.img" -t hdd -size 512,63,16,142 -fs none
imgmount A "disk01.img" -t floppy -fs fat
imgmount D "Win95_OSR25.iso" -t iso -fs iso
boot -l A
At all points I made sure to AVOID using the normal "mount" command which can mount a host-system folder as a guest-system drive, but doesn't properly emulate a real drive as imgmount is supposed to do.
HDD.img is a blank harddrive image.
disk01.img is a Win95 boot floppy image (from WinWorldPC) containing DOS 7.10 (the version of DOS used by Win95).
Win95_OSR25.iso is a non-bootable CD-ROM image (from WinWorldPC) and contains all of the actual Win95 install files.
At the time of Win95, CDs weren't bootable so needed a boot floppy to be separately supplied (the reason for both the CD and floppy images I have). So with this all in place, it should all work. FDISK and FORMAT commands both work to get the HDD image ready for installing the OS. But there's a problem. It can't find the CDROM drive. The D: command doesn't work. Even when I let the boot disk attempt to install a CDROM driver (the Win95 boot floppy includes a CDROM driver for DOS), it doesn't work. The driver installer says it can't find the CDROM drive. There's like 4 or 5 different options for installing the driver, based on the manufacturer of the CDROM drive, but apparantly DosBox doesn't correctly emulate a CDROM drive from ANY of those manufacturers.
I also tried using the DOS 6.22 boot disk from allbootdisks.com which has a more generic CDROM driver for DOS, but it still couldn't find the CDROM drive emulated by DosBox. How do I get a driver for real MS-DOS that will recognize the CDROM drive emulated by DosBox?