How Do you create a M$Dos UBCD compatible "expert"

Try looking for help here if you are having problems with the Ultimate Boot CD.

Moderators: Icecube, StopSpazzing

Locked
Message
Author
freeballer
Posts: 33
Joined: Fri Mar 11, 2005 11:05 am

How Do you create a M$Dos UBCD compatible "expert"

#1 Post by freeballer » Fri Mar 31, 2006 7:14 pm

I've downloaded a bootdisk of msdos v6.22 off the net with cdrom drivers off the net... works perfectly by itself through memdisk but I want to be able to use it by ubcd's expert mode and add my own programs like ntfspro, and a few compression tools, ntfspro, etc...
I renamed the file to msubcd.img (of course) and then copied bcdw.com from freedos image and edited my autoexec to include:
viewtopic.php?t=226&highlight=msdos

Code: Select all

rem ---- BCDW ----
if not exist bcdw.com goto _bcdw
bcdw CheckForBCDW
if errorlevel 1 goto _bcdw
bcdw FindBootableCDLetter
if errorlevel 1 goto _bcdw
bcdw GetBootImageCommandLine
if errorlevel 1 goto _bcdw
if "%cd1%"=="" set cd1=%BCDW_CDROM%:
set ubcdcmd=%BCDW_CL%
:_bcdw
then used to boot

Code: Select all

..... then isolinux memdisk initrd=/images/msubcd.img ubcdcmd=ntfs

Code: Select all

cls
cd \dosapps\ntfs
ntfspro
to

Code: Select all

/dosapps/ntfs/startup.bat
again, the disk boots fine but after i loads the cdrom drivers it stoped and I'm dropped to command line without errors. I've tried just about everything found on the post above too and nothing has worked..
What am I doing wrong?

Victor Chew
Posts: 1368
Joined: Mon Feb 21, 2005 10:59 pm
Contact:

#2 Post by Victor Chew » Sat Apr 01, 2006 5:49 am

Erwin has a MS-DOS version of fdubcd.img for download at his website. Look for msubcd.img. Would that be a better starting point for you?

freeballer
Posts: 33
Joined: Fri Mar 11, 2005 11:05 am

msubcd.img

#3 Post by freeballer » Sat Apr 01, 2006 7:55 am

I downloaded that file off his site and then simply copied it to /images/,
I then used the same command as previous and booted into ms dos 7.1 fine... but again it did not "load" my startup.bat file or start ntfspro.exe.
Also I tried using your freedos image to boot into and got similar results

Code: Select all

..... then isolinux memdisk initrd=/images/.... ubcdcmd=ntfs
When you use "ubcdcmd" does that pass arguments to "autoexec.bat" or "config.sys" or append command(s) to a file when it's loaded?
As far as an "external" program(s) or command(s) is there any exceptions or syntax I have to worry about? Any files/folders needed that I could have overwritten or deleted by accident? (I have heavily modified UBCD to a bloated 886mb but everything, including dosapps files (eg. fprot), is working ok.)

Victor Chew
Posts: 1368
Joined: Mon Feb 21, 2005 10:59 pm
Contact:

#4 Post by Victor Chew » Sat Apr 01, 2006 11:03 pm

This is rather strange, since you say other apps like F-Prot works.

Another thing to try might be to copy the files to the directory of an app that is working eg. \dosapps\fprot. Then modify \dosapps\fprot\startup.bat and see if it works. You might be able to figure out something from there.

freeballer
Posts: 33
Joined: Fri Mar 11, 2005 11:05 am

weird stuff

#5 Post by freeballer » Sun Apr 02, 2006 8:21 pm

Thanks for your help victor,
Long story short I found out that I was mostly to blame... I had deleted all docs, license and ubcd folders from the cd to save space and sanity trying to keep track of all folders... But after I deleted \ubcd It stopped ALL bootdisks using the same ubcdcmd method from working.

The code is located @ ubcd.bat in /bin on all of these **ubcd.img bootdisks

Code: Select all


:_testdrv
shift
shift
if not "%ubcddrv%"=="" goto _eof
if "%1"==""  goto _end
if "%1"==":" goto _end
set _ubcd=
call drd.bat %1 -$
if errorlevel 100 goto _end
if errorlevel 1 set _ubcd=%1
if not exist %1\ubcd\ubcd.css goto _end
set ubcddrv=%1
goto _eof

Hopefully this will help others who will try this,
Geoff

Locked