naruto canada wrote:
> I only modify these two files from the boot image.
> 
> 
>    UW PICO(tm) 4.10             File: /tmp/m/fdconfig.sys
> 
> MENUDEFAULT=1,0
> 134?!DEVICE=A:\DRIVER\HIMEM.EXE
> 3?!DEVICE=A:\DRIVER\EMM386.EXE X=TEST
> 12345?!SHELL=A:\COMMAND.COM A:\ /E:2048 /F /MSG /P=A:\FREEDOS\FDAUTO.BAT
> 34?!DEVICEHIGH=A:\DRIVER\XDMA.SYS
> 345?!DEVICEHIGH=A:\DRIVER\XCDROM.SYS /D:FDCD0000
> !DOSDATA=UMB
> !DOS=HIGH,UMB
> !FILES=20
> !BUFFERS=20
> !LASTDRIVE=Z

Your boot option to use loadlin should be 2, provided that you define 
the :safemode label in fdauto.bat as follows.

>    UW PICO(tm) 4.10          File: /tmp/m/freedos/fdauto.bat
> 
> SET DEBUG=N
> SET NLSPATH=A:\FREEDOS
> set dircmd=/P /OGN /4
> set lang=EN
> for %%X in ( 3 4 5 ) do if "%config%"=="%%X" goto livecd
> SET PATH=A:\FREEDOS;A:\DRIVER
> if !%config%==!2 goto safemode
> set cputype=80386
> getargs >NUL
> if "%errorlevel%"=="255" set cputype=80286
> if not "%errorlevel%"=="0" if not errorlevel 4 getargs > temp.bat
> call temp.bat
> del temp.bat
> echo Checking for CDROM driver or c:\fdbootcd.iso...
> devload /h /qq eltorito.sys /D:FDCD0001>NUL
> if not exist FDCD0001 devload /h /qq xcdrom.sys /D:FDCD0001>NUL
> if exist FDCD0001 devload /h /qq cdrcache.sys FDCD0001 CDRCACH1 1024 >NUL
> if exist c:\fdbootcd.iso a:\driver\shsucdhd /f:c:\fdbootcd.iso >NUL
> if exist FDCD0001 set loadcd=FDCD0001
> if exist CDRCACH1 set loadcd=CDRCACH1
> if exist SHSU-CDH set loadcd=SHSU-CDH
> if !%loadcd%==! goto nocd
> a:\driver\shsucdx /Q /D2 /D:?%loadcd%,X >NUL
> if not exist X:\*.* goto nocd
> cdd X:\
> setup.bat
> goto end
> :nocd
> echo There is no CDROM, or the wrong CD-ROM!
> :end
:safemode  <-- here
> echo Bye

Ciao

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to