Configuring HP-UX For Peripherals

152 Chapter5
Configuring Disk Drives, Disk Arrays, and CD-ROM Drives
Configuring into your System an Unpartitioned Disk Already
Containing Data
description files directly. Instead, use the commands kmsystem and
kmtune. These commands are new for Release 11.0; consult kmsystem
(1M) and kmtune (1M) in the HP-UX Reference.
c. Build the new kernel by invoking the mk_kernel command. This
creates /stand/build/vmunix_test, a kernel ready for testing.
/usr/sbin/mk_kernel -s /stand/build/system
d. Save the old system file by moving it. Then move the new system file
into place.
mv /stand/system /stand/system.prev
mv /stand/build/system /stand/system
e. Prepare for rebooting by invoking the kmupdate command. This sets a
flag that tells the system to use the new kernel when it restarts.
/usr/sbin/kmupdate
Step 3. Bring the system down and physically install the disk device.
Step 4. Turn on the power to all peripheral devices. Wait for them to become
"ready", then turn on power to the SPU. On booting up, HP-UX detects
the new disk and associates it with its device driver. insf creates the
character and block device special (/dev) files required to communicate
with the disk.
Step 5. Execute /usr/sbin/ioscan
-fun -C disk again, to identify the newly configured disk device and its
device special files.