Technical article 105011

I've installed my system and now I need to know about configuring it.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6OpenServer 5.0.7

Written · Last revised

Problem

I've installed my machine successfully and now I need to know about configuring the machine.

Solution

Suggested post-installation plan would include:

1. Permanently install any Boot Time Loadable Drivers (BTLD) 2. Configure your tape drive 3. Create emergency boot/root floppies 4. Make a backup of your root filesystem 5. Take a snapshot of your disk configuration 6. Configure your devices and make another tape of your root file system.

1. Permanently install BTLDs.  Ensure the device driver that talks
to your host adapter has been permanently installed on your hard
drive, so that subsequent relinks of your kernel will contain
the driver.  Follow the instructions provided by the BTLD's
manufacturer for details on how to permanently install the driver.
2. Configure your tape drive. To ensure that you have a kernel
with a tape driver in it and you are able to successfully back
your system up, configure your tape drive.  To configure your
tape drive, run the 'mkdev tape' command.  After configuring the
tape drive successfully, go on to the next step.

3. Make emergency boot/root floppy disks. In the event that your system crashes and you are unable to get as far as single-user mode, you will need boot/root floppy disks to recover the system. Do not make your boot/root floppies until after you've permanently installed your BTLDs and configured your tape drive successfully.

To create these disks, run 'mkdev fd'. For SCO UNIX Operating System Version 4.xand SCO Open Server Release 3.0 products, after you've selected the appropriate media size and density, choose option 2 (bootable only), then 3 (root filesystem only). For SCO OpenServer Release 5, choose option 2 (Emergency Boot and Root floppy filesystems).

4. Make a backup of your root filesystem.  A relative cpio backup
of your root file system will save you trouble in the event that
device configuration goes astray.  An example illustrates how to
make the backup to a 150 MB tape:
# cd /
# find . -depth -mount -print | cpio -ocv -K148000 -C10240 -O/dev/rct0

Store this tape in a safe place.

5. Take a snapshot of your disk configuration. In the event that
your primary hard drive crashes and is unrecoverable, you will
want to know the layout of your filesystems, to make recovery and
restoration easier.  To do this, invoke divvy.  For example:
+---------------+---------------+--------+---+-------------+------------+
| Name          | Type          | New FS | # | First Block | Last Block |
+---------------+---------------+--------+---+-------------+------------+
| boot          | EAFS          |  no    | 0 |            0|       15359|
| swap          | NON FS        |  no    | 1 |        15360|       46575|
| root          | HTFS          |  no    | 2 |        46576|      204085|
| u             | HTFS          |  no    | 3 |       204086|      431413|
|               | NOT USED      |  no    | 4 |            -|           -|
|               | NOT USED      |  no    | 5 |            -|           -|
| recover       | NON FS        |  no    | 6 |       431414|      431423|
| hd0a          | WHOLE DISK    |  no    | 7 |            0|      433943|
+---------------+---------------+--------+---+-------------+------------+
431423 1K blocks for divisions, 2520 1K blocks reserved for the system
NOTE: Write down the name, first block, last block, and type of
each filesystem you have configured.  This information should be
stored in a safe place along with your emergency boot/root floppies.
6. Configure your devices and make another tape of your root file
filesystem.  Prior to adding production data to your system, you
may need to add devices such as network cards, multiport boards,
printers or CD-ROM drives.  After configuring all the devices that
you plan to add to your system, make a backup tape of your root
filesystem.  An example illustrates how to make this backup
to a 150 MB tape:
# cd /
# find . -depth -mount -print | cpio -ocv -K148000 -C10240 -O/dev/rct0

Store this tape in a safe place.

From the Xinuos technical article database, record 105011. Reproduced with permission. The original is at www.sco.com/ta/105011, which is reachable but blocked from search engines.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.