Replacing the root hard disk
You may need to replace the root
hard disk if an existing disk is no
longer large enough for your needs, or if it suffers a
head crash or some other irreparable failure.
You should perform regular full and incremental system backups
of the filesystems on the root disk to be able to restore these
in case of a root disk crash.
Install the new disk. If the drive is not a SCSI drive and
is not identical to the original, be sure you change the
BIOS settings with the setup program provided with
your computer hardware to record the new disk parameters.
See the documentation provided with your system hardware.
Start a fresh installation. From the Preparing your disk and choosing
software screen, select Hard Disk Setup.
From the Disk 0 Partitions and filesystems screen,
Recreate each of your old filesystems. Make the sizes of
your filesystems at least as large as the originals,
otherwise your backups will not fit when you restore them.
When you are returned to the Preparing ...
screen, select Optional software.
You can omit installation of all
optional software by typing n
for Operating system services,
Graphical environment, and so on.
When installation is complete, put the system
into single-user mode and restore
your root filesystem backup.
For example, to restore a
cpio -imucvdB -I/dev/rct0
If your tape drive is not yet configured, run
mkdev tape to reconfigure your tape drive so that
you can restore your backups. As an alternative, you can
reboot and specify the appropriate bootstring for the tape device.
For example, to configure a Wangtek drive:
If you have a SCSI system and you changed the host adapter in
addition to changing the root disk, follow these additional steps:
Remove your old host adapter driver from your kernel configuration
by editing the file:
where adapter is the name of the SCSI driver
for your old host adapter
(see /etc/default/scsihas for a list of host adapter
Change the Y to N in the second column, as in
ad N 1 5 0 0 330 332 0 0
In the same directory, edit the file that corresponds to your new
host adapter. Change N to Y in the second column.
Edit the file /etc/conf/cf.d/mscsi, replacing each instance
of the old host adapter driver name (first column) with the new
name, as in this example that uses the Adaptec driver, ad:
*ha attach number ID lun bus
ad Stp 0 2 0 0
ad Sdsk 0 0 0 0
Relink your kernel to restore your system configuration using
the following commands:
Stop the system:
After rebooting your system, restore the backups for your other
filesystems on the root disk (if any).
Any non-root disks should
be accessible after the restore of the root filesystem.
Configuring the root hard disk
BIOS support for disks larger than 1024 cylinders
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003