Ref: 99980017
Title: Installing NCS/AT Software
Date: 3/1/87

Copyright 3Com Corporation, 1991.  All rights reserved.

This article describes installing the NCS/AT software, which
includes the XENIX Operating System* and NCS/AT system software.
This is necessary only after a fatal fixed disk crash of the NCS/
AT or to upgrade a personal computer to an NCS/AT.

This procedure assumes that the fixed disk has already been hard
formatted.

Before, beginning, find you XENIX system diskettes and
serialization card, which lists your serial number and activation
key.

Software installation involves six main steps; each of these
steps is described in the following sections:

1.  Booting XENIX
2.  Initializing the fixed disk
3.  Starting XENIX on the fixed disk
4.  Creating the /usr/NCS file system
5.  Installing NCS/AT system software

                ** NOTE **

If you wish to use the numeric keypad to enter numbers, be sure
to press <NUMLOCK> to engage the numeric lock, thereby lighting
the key's LED.

----------
* XENIX installation instructions are based on the XENIX
Operating System Installation Guide, (The Santa Cruz Operation,
Inc., 1985).

.h1;Booting XENIX

XENIX is booted from the installation diskette labeled "Volume:
n1".  To boot XENIX, follow these steps:

1.  Insert the diskette N1 into the drive.

2.  Power on the NCS/AT.

    The NCS/AT loads the XENIX bootstrap file from the diskette
    and begins to execute it.  The total amount of memory being
    installed is displayed in the upper left corner of the
    screen, for example:

    02176 KB OK

    The system then displays the following:

    XENIX System V

    Boot
    :

3.  Press <ENTER> to boot from the diskette. The following
    appears:

    fd(4,0)xenix

    The NCS/AT performs a self-check.  As it does so, the letters
    "A" through "H" appear in succession.  These letters are
    displayed quickly; you may not even see them.

    After XENIX is loaded in memory, the system displays memory
    allocation and other information.

4.  The system displays:

    Insert filesystem floppy and press <RETURN>

    Remove diskette N1, insert diskette N2, and press <ENTER>.

5.  The system continues its self-check as it quickly displays
    the letters "I" through "Z".*

    After the letter "Z" appears, the following message is
    displayed:

    No single-user login present
    Entering System Maintenance Mode

    XENIX System V Hard Disk Initialization

    During installation you may choose to overwrite all or part
    of the present contents of your disk.
    Do you wish to continue? (y/n)

    Press <Y> followed by <ENTER>.  Then go on to the next
    section.

--------------------
* If the display stops before the "Z", run the Compaq Diagnostics
Program (described in and supplied with the Compaq DESKPRO 286
Personal Computer Operations Guide), correct any identified
problems, and repeat the installation procedure from step 1 of
this section.  If the display stops again, call Bridge
Communications, Inc. or an authorized representative.

.h1;Initializing the Fixed Disk

.br;To initialize the fixed disk, follow these steps:

1.  The system displays:

    Select one of the following options or 'q" to exit program:

        1. Display Partition Table
        2. Use Entire Disk for XENIX
        3. Create XENIX Partition
        4. Activate Parition
        5. Delete XENIX Parition

    Please enter your choice:

    Press <2> followed by <ENTER>.

2.  If an operating system has never been installed on your disk,
    a table similar to the following appears:

    Current Hard Disk Drive: /dev/rhd00

    +-----------+--------+---------+----------+--------+-------+
    | Partition | Status |  Type   |  Start   |  End   | Size  |
    +-----------+--------+---------+----------+--------+-------+
    | 1         | Active |  XENIX  |  1       |  4899  | 4899  |
    +-----------+--------+---------+----------+--------+-------+

    Total disk size: 4900 tracks

    Press <RETURN> to continue

    After the table is displayed, press <ENTER>.

    (If an operating system has been installed on your disk
    before, the table contains different information.  It is
    followed by a warning that all data on your disk will be lost
    if you proceed.  To go ahead with the installation, press <Y>
    followed by <ENTER>.  When the table is redisplayed, press
    <ENTER> to continue.)

3.  The menu shown in step 1 above, is redisplayed.  Press <Q>
    followed by <ENTER>.

4.  The following menu appears:

    Select one of the following options or 'q' to exit program:

    1.  Print Current Bad Track Table
    2.  Scan Media Surface for Possible Bad Spots
    3.  Create New Bad Track Table
    4.  Add Entries to Current Bad Track Table by Head/Cylinder#
    5.  Add Entries to Current Bad Track Table by Sector Number
    6.  Delete Entries from Current Bad Track Table

    Please enter your choice:

    Press <2> followed by <ENTER>.

5.  The system scans the fixed disk for flaws.  The process takes
    from 25 to 45 minutes.

    If a flaw is found, the system displays the defective track
    information.  For example:

    err on dev Fixed Disk (0/47), block=12954 cmd=0003
    status=0018 sector=12971, cylinder/head=190/3

    When the entire disk has been scanned, the menu shown in step
    4 above, reappears.  To display the results of the scan,
    press <1> followed by <ENTER>.

6.  A table like the following appears:

        Defective Tracks:
        +--------------+--------+--------------------+
        | Cylinder     |  Head  |  Sector Number(s)  |
        +--------------+--------+--------------------+
     1. | 190          |  3     |  12971-12987       |
        +--------------+--------+--------------------+

        Press <RETURN> to continue

    Press <ENTER>.

7.  The menu shown in step 4 above, is redisplayed.  Press <Q> to
    exit followed by <ENTER>.

8.  The system displays:

    Do you want to update this device with the new table? (y/n)

    Press <Y> followed by <ENTER>.

9.  The system displays:

    Do you want to attempt to salvage any valid data on the bad
    tracks? [ may take a long time ] (y/n)

    Press <N> followed by <ENTER>.

10. The system displays:

    Attempting to copy any valid sectors within the bad track(s).
    You may see error messages from the disk driver here; these
    are normal and do not affect bad track aliasing.

    Bad tracking successful

    There are 40757 blocks in the XENIX area.
    Between 1000 and 6792 blocks should be reserved for the swap
    area.

    Please enter the swap-space allocation, or press <RETURN> to
    get the default allocation of 2448 blocks:

    The number of blocks in your display may vary from that shown
    above.  Type the maximum number of blocks (e.g., 6792) and
    press <ENTER>.

11. The system displays:

    Do you want a separate /u filesystem? (y/n)

    Press <Y> followed by <ENTER>.

12. The system prompts:

    Enter block allocation for the /u file system (11321 to
    22643)

    Type the maximum allocation (e.g., 22643) and press <ENTER>.

13. The system prompts:

    Do you require block-by-block control over the layout of the
    XENIX partition? (y/n)

    Press <N> followed by <ENTER>.

14. The system loads a rudimentary XENIX file system onto your
    fixed disk.  This takes several minutes.  The system
    displays:

    Making filesystems

    After a few minutes, the system displays the following and
    then shuts down:

    Hard disk initialization procedure completed.

    AFTER you see the message: '** Normal System Shutdown **'
    reboot the system by removing volume N2, inserting volume N1,
    and pressing any key.  The screen will clear and you will see
    the boot message:

        Boot
        :

    Enter the following after the colon and press <ENTER>

        xenix rootdev=hd(40,0)
    ** Normal System Shutdown **

    **  Safe to Power off   **
           -or-
    ** Hit Any Key to Reboot **

Remove diskette N2, insert diskette N1, and press <ENTER> to
reboot the system.

              ** NOTE **

    If the diskette activity LED lights before you are able to
    swap diskettes, press the space bar; the LED should then turn
    off, enabling you to swap diskettes.

Go on to the next section.

.h1;Starting XENIX on the Fixed Disk

To start XENIX on the fixed disk, follow these steps:

1.  The system displays memory information in the upper left
    corner of the screen followed by:

    XENIX System V
    Boot
    :

2.  Enter the following exactly as shown and press <ENTER>:

    xenix rootdev=hd(40,0)

    The system displays copyright and memory configuration
    information.

    As before, the NCS/AT performs a self-check.  As it does so,
    the letters "A" through "Z" appear in succession.  These
    letters are displayed quickly; you may not even see them.
    Then the system checks its file system by running the program
    fsck(C)*.

    When fsck completes successfully, it displays:

    Verifying Operating System (Installation) volume N1 is
    inserted and press <RETURN>

    Verify that diskette N1 is in the diskette drive and press
    <ENTER>.

3.  After a few moments, the system displays:

    Operating system serialization.

    Enter your serial number
    and press <RETURN>

    Type your serial number exactly as it is shown on your
    serialization card and press <ENTER>.

4.  The system displays:

    Enter your activation key
    and press <RETURN>

    Type your activation key exactly as it is shown on your
    serialization card and press <ENTER>.

5.  The systemthen prompts:

    Insert Operating System (Basic Utilities) volume B1 and
    press <RETURN>

    Insert the indicated diskette, close the drive door, and
    press <ENTER>.

6.  Continue to remove and insert diskettes as prompted.

7.  After the final diskette has been read, the system asks:

    Does daylight savings time apply at your location? (y/n)

    If you observe daylight savings time, press <Y> followed by
    <ENTER>.  If not, press <N> followed by <ENTER>.

8.  The system prompts:

    Are you in North America/ (y/n)

    a.  If you are in North America, press <Y> followed by
        <ENTER>.  The system displays:

        1. AST - Atlantic Standard Time
        2. EST - Eastern Standard Time
        3. CST - Central Standard Time
        4. MST - Mountain Standard Time
        5. PST - Pacific Standard Time
        6. YST - Yukon Standard Time
        7. HST - Hawaiian/Alaskan Standard Time
        8. NST - Nome Standard Time

        Enter the number that represents your timezone:

        Enter the number that corresponds to your timezone and
        press <ENTER>; then go on to step 9.

    b.  If you are not in one of the North American time zones
        shown above, press <N> followed by <ENTER> in response to
        the prompt "Are you in North America?".  The system then
        prompts.

        What is the standard abbreviation of your timezone?  (3
        capital letters)

        Type three uppercase letters that represent your time
        zone and press <ENTER>.

        The system then prompts:

        How many hours west of Greenwhich Mean Time are you?

        Answer with a number between -23 and 23; then press
        <ENTER>.  Do not use fractions.

9.  After the time zone has been set, the system displays
    information about your file system, including the number of
    blocks currently used, followed by:

    1. Stop installation now
    2. Continue installation

    Enter an option:

    Press <2> followed by <ENTER>.

10. The system prompts:

    1. Operating System
    2. Development System
    3. Text Processing System
    4. Add a Supported Product

    Select a set to customize or enter q to quit:

    Press <1> followed by <ENTER>.

11. The system displays:

    Installing customer data files...

    Insert Operating System (Extended Utilities) volume X1 and
    press <RETURN> or enter 1 to return to the menu:

    Insert diskette X1 and press <ENTER>.

12. The following menu appears:

    1. Install one or more packages
    2. Remove one or more packages
    3. List the files in a package
    4. Install a single file
    5. Select a new set to customize
    6. Display current disk usage
    7. Help

    Select an option or enter q to quit:

    Press <1> followed by <ENTER>.

13. The system displays a list of packages that may be installed,
    followed by:

    Enter the package(s) you would like to install
    or enter q to return to the menu:

    Type the following and press <ENTER>.

    all

14. As the system installs the packages, it prompts for various
    diskettes.  Insert each diskette as prompted.

15. After the last diskette has been read, the system displays:

    Link kit serialization.

    Enter your serial number:

    Type your serial number exactly as it is shown on your
    serialization card and press <ENTER>.

16. The system displays:

    Enter your activation key:

    Type your activation key exactly as it is shown on your
    serialization card and press <ENTER>.

17. The system then requests an additional diskette.  Insert the
    specified diskette and press <ENTER>.

18. The system displays:

    Extracting files...
    Checking file permissions...

    Then it redisplays the menu shown in step 12.

    Press <2> followed by <ENTER>.

19. The system displays a list of packages, followed by:

    Enter the package(s) you would like to remove or enter q to
    return to the menu:

    Five packages must be removed.  To remove them, type the
    following exactly as shown** and press <ENTER>:

    link mail dos vsh uucp

20. After it has removed the packages, the system redisplays the
    menu shown in step 12.  Press <1> followed by <ENTER> to list
    the packages.  Check that the LINK, MAIL, DOS, VSH, and UUCP
    packages have been removed (as indicated by "No" by their
    names in the column headed "Inst").

    If these packages have not been removed, press <2> followed
    by <ENTER> to remove packages; then repeat step 19, typing
    the package names exactly as shown.

21. The system displays:

    Enter the package(s) you would like to install or enter q to
    return to the menu:

    Press <Q> followed by <ENTER> to return to the menu.

22. The system redisplays the menu shown in step 12.  Remove the
    diskette from the drive.

                    ** NOTE **

    In the next step, the system should reboot from the fixed
    disk.  If a diskette is present in the drive, the system will
    attempt to boot from it instead of the fixed disk.  Be sure
    to remove the diskette from the drive.

23. To exit the menu, press <Q> to quit, followed by <ENTER>.

24. The system displays several messages, followed by:

    ** Normal System Shutdown **

    **   Safe to Power Off   **
             - or -
    ** Hit Any Key to Reboot **

    Check that no diskette is present in the drive and press any
    key to reboot the system.

25. The system displays:

    Boot
    :

    Press <ENTER>.

26. The system displays:

    hd(40,0)xenix

    Then the screen clears and some self-check diagnostics
    appear, followed by:

    Type CONTROL-d to proceed with normal startup
    (or give root password for system maintenance)

    The next section requires system maintenance mode, but there
    is no root password, so press <ENTER>.

27. The system displays:

    Entering System Maintenance Mode
    #

    Go on to the next section.

------------------
*  You may receive an error message such as "rootdev device
unknown/panic: bad boot string".  If this occurs, press <ENTER>
to return to step 1; then repeat step 2, typing the command
exactly as shown.

** If you do not enter the five package names exactly as shown,
the five packages may not be successfully removed.  For example,
backspacing by pressing <BKSPC> to correct a typing mistake may
have this result.  Step 20 describes how to correct this problem.

.h2;Creating the /usr/NCS File System

To create the /usr/NCS file system, enter the following at the
prompt "#" and press <ENTER>:

       mkdev fs /dev/u   /usr/NCS

When a new prompt appears, enter the following and press <ENTER>:

       mount /dev/u   /usr/NCS

.h2;Installing NCS/AT System Software

To install the NCS/AT system software, follow these steps:

1.  Enter the following and press <ENTER>:

    cd /

2.  Insert the first NCS/AT distribution diskette in the diskette
    drive and close the drive door.

3.  Enter the following and press <ENTER>:

    tar xvf /dev/rfd096ds15

    Be sure to type te numeral 0, not the letter 0, following
    "rfd".

4.  A list of filenames is displayed.  When a new prompt appears,
    repeat steps 2 and 3 for each NCS/AT distribution diskette.

5.  After the last diskette has been read, a new prompt appears.
    Enter the following and press <ENTER>:

    /bin/csh /usr/ncs/etc/install.ncs

    The system displays:

    Installing customized Unit files...
    Installing special device files...
    Installing NCS/AT data file...

6.  As soon as the system displays the following, remove the
    diskette from the drive:

    *******************************
    *    Installation Completed   *
    *    System being rebooted    *
    *******************************

    ** Normal System Shutdown **

    **    Safe to Power Off  **
              - or -
    ** Hit Any Key to Reboot **

    To restore Communications Server software to the NCS/AT, do
    one of the following:

    * Use the Ncsrestore utility to restore your most recent
    archive diskettes (created using the Ncsbackup utility) to
    the system.

    * If no archive diskettes are available, install and
    configure Communications Server software and the NCS/AT.




