Jump to content

Boot Disk


pauledavey

Recommended Posts

Guys\Gals,

Im having some problems with a bootdisk. I have attached all the code below. basically the problem is with the Broadcom driver. It gets halfway through loading the DOS TCP stack, and then gives an Error1 message.

Any one have any idea's?? It took ages to find the broadcom driver and that part seems to load ok. Im stumped. It falls over after the TinyRFC bit of the stack load.

Can anyone help please?

config.sys

[menu]

menuitem=_Build, Start Computer And Build Process.

menuitem=_Stan, Start computer Without Network Support.

menudefault=_Build,15

menucolor=5,2

[_Stan]

[_Build]

[COMMON]

devicehigh=A:\dos\himem.sys

Devicehigh=A:\dos\IFSHLP.SYS

;devicehigh=A:\dos\ansi.sys

Dos=high,umb

lastdrive=z

autoexec.bat

@Echo Off

Rem Autoexec.Bat V1.00

Rem Set Default Variables For Batch File

Goto %Config%

:_Build

CLS

Call A:\Ramd.bat > nul

Call R:\dos\Findnic.Bat > nul

Goto _End

:_Stan

CLS

Call A:\Ramd.bat > nul

Goto _End

:_End

CLS

Echo LOAD COMPLETE!!

Echo ALL YOURS!!

Echo.

Ramd.bat

@Echo Off

Echo Creating RamDrive and Extracting Files...

Echo Please Wait...

Echo.

A:\Dos\Xmsdsk.exe 16000 R: /Y > nul

MD R:\Dos > nul

MD R:\Tools > nul

MD R:\Cabs > nul

MD R:\Net > nul

Copy A:\Dos\*.Bat R:\Dos > nul

Set Path=A:;R:\;R:\Cabs;R:\Dos;R:\Tools

A:\Dos\Pkunzip.exe A:\Cabs\dos.zip R:\dos > nul

A:\Dos\Pkunzip.exe A:\Cabs\Tools.zip R:\Tools > nul

A:\Dos\Pkunzip.exe A:\Cabs\net.zip R:\Net > nul

Zip.bat

@Echo Off

A:\Dos\Pkunzip.exe R:\Cabs\dos.zip R:\dos > nul

A:\Dos\Pkunzip.exe R:\Cabs\Tools.zip R:\Tools > nul

A:\Dos\Pkunzip.exe R:\Cabs\net.zip R:\Net > nul

Findnic.bat

@Echo Off

R: > nul

CD R:\Tools > nul

R:\Tools\PCISCAN Nic.Map > nul

Call NicInst.Bat %PCI0%

NicInst.bat

@ECHO OFF

If %1==SMCPWR2.COM Goto _DEC

If %1==3C90X.COM Goto _3com

If %1==E100BODI.COM Goto _Intel

If %1==B57.COM Goto _B57

Goto _NOADAPTOR

:_NOADAPTOR

CLS

Echo.

Echo.

Echo Could Not Detect The NIC Installed In This PC

Echo Possible Reason's Are:

Echo.

Echo (A) Nic is not installed in this computer

Echo.

Echo (:) Nic is faulty or not powered

Echo.

Echo © Nic is not recognised by the NIC.MAP

Echo.

Echo Please Check the Nic.Map file for a match

Echo.

Pause

Goto _End

:_DEC

CLS

Echo DEC Compatible Adaptor Detected...

Echo.

A:\Dos\Pkunzip.exe A:\Cabs\DEC.zip R:\Net *.*

Goto _NETSTART

:_3com

CLS

Echo 3COM Adaptor Detected...

Echo.

A:\DOS\Pkunzip.exe A:\Cabs\3com.zip R:\Net *.*

Goto _NETSTART

:_Intel

CLS

Echo 3COM Adaptor Detected...

Echo.

A:\DOS\Pkunzip.exe A:\Cabs\Intel.zip R:\Net *.*

Goto _NETSTART

:_B57

CLS

Echo Broadcom Adaptor Detected...

Echo.

A:\DOS\Pkunzip.exe A:\Cabs\B57.zip R:\Net *.*

Goto _NETSTART

:_NetSTART

CLS

R:

CD R:\Net

net initialize

netbind.com

umb.com

tcptsr.exe

tinyrfc.exe *****Seems to fall over on this line with Error1: message******

nmtsr.exe

emsbfr.exe

net start

net use z: \\sgbrse3002\WIN2k.cpq > nul

net use p: \\sgbrse3002\winxp.pro > nul

Set Path=%PATH%;Z:\;Z:\Bin

Goto _End

:_END

Many thanks

Paul

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...