It is currently Mon Jul 28, 2014 4:20 am

All times are UTC - 8 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: How Do you create a M$Dos UBCD compatible "expert"
PostPosted: Fri Mar 31, 2006 7:14 pm 
Offline

Joined: Fri Mar 11, 2005 11:05 am
Posts: 33
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:
http://www.ultimatebootcd.com/forums/viewtopic.php?t=226&highlight=msdos

Code:
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:
..... then isolinux memdisk initrd=/images/msubcd.img ubcdcmd=ntfs


Code:
cls
cd \dosapps\ntfs
ntfspro


to

Code:
/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?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 01, 2006 5:49 am 
Offline

Joined: Mon Feb 21, 2005 10:59 pm
Posts: 1274
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?


Top
 Profile  
 
 Post subject: msubcd.img
PostPosted: Sat Apr 01, 2006 7:55 am 
Offline

Joined: Fri Mar 11, 2005 11:05 am
Posts: 33
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:
..... 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.)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 01, 2006 11:03 pm 
Offline

Joined: Mon Feb 21, 2005 10:59 pm
Posts: 1274
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.


Top
 Profile  
 
 Post subject: weird stuff
PostPosted: Sun Apr 02, 2006 8:21 pm 
Offline

Joined: Fri Mar 11, 2005 11:05 am
Posts: 33
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:

:_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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group