Booting into a DOS program from CD

ixelion

Senior member
Feb 5, 2005
984
1
0
I have a hard drive checker program that was intended to run from USB boot disk. What I would like to do is create a bootable CD that will immediately run the program without any additional commands/input. it is simple a single exe file that runs under win98 dos.

I was able to create an ISO file that contained a floppy image and the program files, but whenever I launch the program I get an "unhandled exception" fault. In fact I tried other diag tools and they also fail to launch.

I suspect the program is trying to write to disk, or maybe it just doesn't like running off of a CD, maybe this has something to do with ramdrive, or perhaps I am using incompatible boot file? I was using windows 98 DOS and win98 boot file with ramdrive.

Any suggestion appreciated.
 

Magic Carpet

Diamond Member
Oct 2, 2011
3,477
233
106
Probably it's trying to write. If you done everything right, it should have worked, though. I've done it before. Use a floppy disk or USB drive instead.

Did you use WinImage?
 
Last edited:

ixelion

Senior member
Feb 5, 2005
984
1
0
Probably it's trying to write. If you done everything right, it should have worked, though. I've done it before. Use a floppy disk or USB drive instead.

Did you use WinImage?

would you care to share your methods?
 

Magic Carpet

Diamond Member
Oct 2, 2011
3,477
233
106
Simple is best.
Code:
device=cd1.sys /d:mscd001
devicehigh=ramdrive.sys /e 32767
Code:
mscdex /d:mscd001 /l:x
copy x:\write.exe c:

EDIT: Just made a test cd yesterday, everything worked as it should. Checked on my VAIO laptop.
 
Last edited: