Page 1 of 1

DOS Apps Autoexec

Posted: Fri Apr 13, 2007 8:46 pm
by ette_scott
I've stripped down the UBCD to only a few essential apps so it can fit on a 50MB business card CD, allowing me to carry it with me in my wallet. I'm thrilled with it, except for the execution of any DOS apps...

DOS and drivers load just fine, but when it should autoload the dos app, it exits to a dos prompt. It also says that there is no loaded CDROM:

BOOTDRV: A
RAMDRV: Q
UBCDDRV: <blank>

But in the first CDROM driver section it did load a CD-ROM and I can switch to drive letter T: and navigate to the 'start.bat' file to execute the dos app just fine.

I'm using the default dosubcd.igz with UBCD 4.0, and I am confident my customized syslinux menus are set up correctly. For example:

LABEL fujitsu
MENU LABEL Diagnostic Tool V6.30 (Fujitsu)
KERNEL memdisk
APPEND initrd=/ubcd/images/dosubcd.igz ubcdcmd=fujitsu

I've tested it on two or three different computers. I wonder if the issue is that I removed a dependency when I was stripping down the ISO with MAGICISO. When I modified the ISO with MAGICISO I did two things: (1) deleted unneeded images, dosapp folders, and all menus, and (2) added my own custom/modified menus.

Any ideas? Thanks

Posted: Sat Apr 14, 2007 6:07 am
by Victor Chew
DOSUBCD.IGZ is self-contained and has no other dependencies (at least for mounting CDROM drives).

Did DOSUBCD.IGZ on the the original UBCD4 image works for you?

You can try replacing DOSUBCD.IGZ (LZ-DOS) with FDUBCD.IGZ (FreeDOS) to see if that works.

Posted: Sat Apr 14, 2007 7:28 am
by ette_scott
I tried switching to FreeDOS, and I got the same result from the original LZ. I guess I'll play around with it for now, unless anyone else has any suggestions.

Thanks for the reply!