
4
4
2
2
C
C
h
h
a
a
p
p
t
t
e
e
r
r
5
5
C
C
r
r
e
e
a
a
t
t
i
i
n
n
g
g
N
N
e
e
t
t
W
W
a
a
r
r
e
e
P
P
r
r
e
e
-
-
O
O
S
S
B
B
o
o
o
o
t
t
I
I
m
m
a
a
g
g
e
e
s
s
Once you have prepared a Pre-OS bootable diskette, use Boot Image Editor to take a
snapshot of the diskette and create a Pre-OS boot image on the server’s hard disk. To
specify a Pre-OS image, use the Boot Image Editor Pre-OS option. See the Introduction
section of the Boot Image Editor online help for details.
Unless you've named your boot image file NET$DOS.SYS, the default NetWare boot image
file name, you need to edit BOOTCONF.SYS to map a specific PC address to a given boot
image file. Follow instructions provided in Chapter 8 “
Using MBA in NetWare Environments
.”
S
S
a
a
m
m
p
p
l
l
e
e
P
P
r
r
e
e
-
-
O
O
S
S
F
F
r
r
a
a
m
m
e
e
w
w
o
o
r
r
k
k
s
s
Skeletal frameworks are provided for both TCP/IP and NetWare environments. These
samples show how to load network drivers, run Pre-OS applications, and finally, terminate
the Pre-OS phase.
In the following examples, the Pre-OS framework is used to detect and correct differences in
a critical file on the PC's hard drive.
T
T
C
C
P
P
/
/
I
I
P
P
o
o
r
r
P
P
X
X
E
E
P
P
r
r
e
e
-
-
O
O
S
S
S
S
a
a
m
m
p
p
l
l
e
e
CONFIG.SYS:
device=himem.sys /TESTMEM:OFF
device=emm386.exe noems
dos=high,umb
files=60
device=\net\ifshlp.sys
lastdrive=z
AUTOEXEC.BAT:
cd\net
net initialize
netbind.com
umb.com
tcptsr.exe
tinyrfc.exe
nmtsr.exe
emsbfr.exe
rem assumes username = "preos", password = "password", mapped drive = z:
net logon preos password /savepw:no /yes
rem Pre-OS agents are loaded here…
fc /b c:\windows\system.dat z:\critical\systems.dat > c:\temp\compare.txt
find /i "no difference encountered" c:\temp\compare.txt >nul
if errorlevel 2 echo Error in string search. Cannot report if matches found.
if errorlevel 1 goto CriticalFilesDifferent
if errorlevel 0 goto CriticalFilesNotDifferent
:CriticalFilesDifferent
echo Critical files have changed. Restoring files now…
copy z:\critical\system.dat c:\windows\system.dat /v /y
Summary of Contents for e-PC c10/s10
Page 1: ...2 1 Edition ...
Page 2: ......
Page 4: ......
Page 12: ......
Page 22: ...1 10 0 C Ch ha ap pt te er r 2 2 ...
Page 44: ......
Page 58: ...4 46 6 C Ch ha ap pt te er r 5 5 ...
Page 92: ...8 80 0 C Ch ha ap pt te er r 8 8 ...
Page 108: ...9 96 6 A Ap pp pe en nd di ix x A A ...
Page 112: ...1 10 00 0 W Wa ar rr ra an nt ty y ...
Page 122: ...110 I In nd de ex x Updating with MBA ROM 28 Verbose mode 34 Wired for Management 58 ...