INF: LM0424: Remote Booting an OS/2 Workstation

ID Number: Q76259

2.00

OS/2

Summary:

The application note below describes how to install and set up a

server for remote booting of OS/2 version 1.21 under LAN Manager

version 2.0.

=====================================================================

LM0424: REMOTE BOOTING AN OS/2 WORKSTATION

=====================================================================

Revision Date: 8/91

--------------------------------------------------------------------

| INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY |

| ACCOMPANY THIS DOCUMENT (collectively referred to as an |

| Application Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY |

| KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO |

| THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A |

| PARTICULAR PURPOSE. The user assumes the entire risk as to the |

| accuracy and the use of this Application Note. This Application |

| Note may be copied and distributed subject to the following |

| conditions: 1) All text must be copied without modification and |

| all pages must be included; 2) If software is included, all files |

| on the disk(s) must be copied without modification [the MS-DOS̉ |

| utility DISKCOPY is appropriate for this purpose]; 3) All |

| components of this Application Note must be distributed together; |

| and 4) This Application Note may not be distributed for profit. |

| |

| Copyright 1991 Microsoft Corporation. All Rights Reserved. |

| Microsoft, MS-DOS, and the Microsoft logo are registered |

| trademarks and Windows is a trademark of Microsoft Corporation. |

--------------------------------------------------------------------

The following information covers installing and setting up a server

for remote booting of OS/2 version 1.21 under LAN Manager version 2.0.

This information assumes that LAN Manager version 2.0 is installed in

C:\LANMAN, and that the workstation to be booted is named DEFAULT.

1. Make sure that there is at least 30.5 megabytes (MB) free on the

server's hard drive for the initial setup, and that there is one

RPL (remote program load) workstation (you will need more than 5.5

MB for each additional RPL workstation).

2. On the server, use LAN Manager's Setup program to add the

REMOTEBOOT protocol, along with NetBEUI, to the Token-Ring driver.

3. Create a directory named TMP by typing

md c:\tmp

and add the following to the CONFIG.SYS file:

set tmp=c:\tmp

4. Add C:\LANMAN\DRIVERS\PROTOCOL\RPL to the front of the LIBPATH in

CONFIG.SYS.

5. Make sure the COM0?.SYS driver is listed before RDRHELP.SYS in

CONFIG.SYS.

6. Copy the entire OS/2 directory tree from C:\OS2 to

C:\LANMAN\RPL\OS2. The best way to do this is to type the

following:

xcopy /s c:\os2 c:\lanman\rpl\os2

7. Manually copy C:\OS2\OS2.INI and C:\OS2\OS2SYS.INI to

C:\LANMAN\RPLUSER\DEFAULT\OS2.

Note: These files may be in use by OS/2. They may need to be

copied by booting OS/2 from the Install floppy disk, escaping out

of Setup, and then copying the files.

8. Copy the following files from the root directory to

C:\LANMAN\RPL\OS2:

AUTOEXEC.BAT

ABIOS.SYS

F*.BIO

BASEDD0?.SYS

KBD0?.SYS

Note: Some of these files may not exist on your system. If this is

the case, ignore the missing files.

9. Using the File Manager, copy C:\OS2KRNL and C:\OS2LDR to

C:\LANMAN\RPL\OS2.

Note: To view hidden files in the File Manager, choose Include

from the View menu, then choose Show Hidden.

10. Copy DISK0?.SYS from C:\LANMAN\NETPROG to C:\LANMAN\RPL\OS2.

11. If the RPL WKSTA (remote-boot workstation) has a different video

system than the server, copy the video DLLs from the OS/2

installation disks.

12. Edit C:\LANMAN\RPL\DEFAULT.FIT so that all occurrences of RPLSERVR

are changed to the server's machine name.

13. Edit C:\LANMAN\RPL\RPL.MAP so that all occurrences of RPLSERVR are

changed to the server's machine name. Change all occurrences of

D_OS2 to R_OS2.

14. Edit C:\LANMAN\LANMAN.INI:

a. For MAXOPENS, add 50 for each RPL WKSTA.

b. Set MAXCONNECTIONS to twice the value of MAXOPENS.

c. Set MAXLOCKS to the value of MAXOPENS.

d. Set MAXSESSOPENS to 100.

15. Stop the workstation on the server and detach LAN Manager using

Setup.

16. Restart the server. After OS/2 is up and running again, run

A:\SETUP from the LAN Manager Setup disk. If the RPL WKSTA will

run HPFS386, install LAN Manager on C:\LANMAN\RPL\LANMAN. If the

WKSTA will run FAT or HPFS, install LAN Manager on C:\RPLLAN, and

after the installation is finished, type:

move c:\rpllan c:\lanman\rpl\lanman

This setup will be the one used by the RPL WKSTA. Install only the

OS2 WKSTA with or without Peer services. Use only the NetBEUI

protocol. (Do not use the REMOTEBOOT protocol.)

17. Restart the server. Run LAN Manager Setup from the directory that

it was just installed in and choose Detach from the Actions menu.

18. Restart the server again, run LAN Manager Setup from C:\LANMAN,

and choose Attach from the Actions menu. Restart the server one

last time.

19. If Peer services was chosen, type:

xcopy /s c:\lanman\rpl\lanman\accounts

c:\lanman\rpluser\default\lanman\accounts

20. Edit C:\LANMAN\RPL\MACHINES\DEFAULT\LANMAN\LANMAN.INI by changing

the DOMAIN= entry to the server's domain.

21. Edit C:\LANMAN\RPL\MACHINES\DEFAULT\CONFIG.SYS making sure that

C:\LANMAN\NETLIB; is the first entry in LIBPATH=.

22. For user-level security, type the following from the command line:

net accounts /minpwlen:0

net group rpl /add

net user default /add /passwordreq:no

/workstations:default

net group rpl default /add

Enter the Net Admin screen and assign the following permissions

for DEFAULT to the following trees:

Permission Tree

---------- ----

RWCDXA C:\LANMAN\RPLUSER\DEFAULT

RX C:\LANMAN\RPL\MACHINES\DEFAULT

Give the following trees these permissions to the group RPL:

Permission Tree

---------- ----

RX C:\LANMAN\RPL\RPL\OS2

RX C:\LANMAN\RPL\LANMAN

23. If the RPL WKSTA has a hard drive, run RPLENABL.EXE on the

workstation.

24. On the server, type:

net load rpl

25. Start the remote boot service on the server by typing:

net start rpl

26. Power up the RPL workstation.

Additional reference words: 2.00