Installation guide

for the system localsystem, with an Internet address of 120.105.5.1,
connected by an Ethernet interface to the remote system
remotesystem, with an Internet address of 120.105.5.2:
# cd /etc
# echo "127.0.0.1 localhost" >> hosts
# echo "120.105.5.2 remotesystem" >> hosts
# ifconfig ln0 120.105.5.1 netmask 0xfffffc00
Some older systems broadcast all 0s instead of all 1s. In this situation,
you must also specify the broadcast address.
5. Change to the root directory.
# cd /
6. If the disk does not have a label, which could occur if the disk was
physically damaged or replaced, write the default disk partition tables
and bootstrap programs. The disk partitions and bootstrap programs
should be operational. To determine if the disk has a valid label, use
the disklabel command with the following syntax:
disklabel -r disk
Use the disklabel command with the following syntax to write the
default disk partition table:
disklabel -rw disk disk_type
The
disk
parameter specifies the disk that includes the device
mnemonic and unit number. The
disk_type
parameter specifies the
type of disk associated with
disk
as described in the /etc/disktab
file. For example, to write the default disk partition tables on an RZ57
disk, unit 0, enter the following command:
# disklabel -rw rz0 rz57
_____________________ Note _____________________
The disklabel command used in this procedure writes the
default disk partition tables to the disk. Writing a label with
customized partition table settings may affect the entire
disk. If the disk you are restoring has customized partition
table settings, invoke the editing option of the disklabel
command. Refer to Chapter 7 or to the disklabel
(8)
reference page for more information.
7. Create a new root file system by using the following command syntax:
newfs raw_device
Administering the Archiving Services 11–25