HP Tru64 UNIX Version 5.1B-2 and Higher Patch Kit Installation Instructions (March 2009)

# /usr/sbin/mount /dev/disk/dsk3g /patches
# cd /patches
# mkdir pk5
Note:
If you are installing successive patch kits, place and untar each kit in a separate directory.
Copy or ftp the patch kit to the directory you created. For example:
# cp T64V51BB26AS0005-20050215.tar /patches/pk5
2. Untar the patch kit, capturing the process to a log file. For example:
# script untar.log
# tar -xpvf /patches/pk5/T64V51BB26AS0005-20050215.tar
# Ctrl/d
3. View the untar.log for errors or failures untarring the file.
Choosing Single-User or Multi-User Mode
You can install patches from either single-user or multi-user modes. See “When Single-User
Mode Is Recommended” for information about selecting one of these modes. “Installing Patches
from Single-User Mode” describes the process from single-user mode and “Installing Patches
from Multi-User Mode” describes the process from multi-user mode. “Common Installation
Steps” describes the remaining steps, which are common to installations from single-user and
multi-user modes.
Installing Patches from Single-User Mode
The following steps describe a patch kit installation from single-user mode. Although these steps
are the same whether installing an old or new style patch kit, the text that dupatch displays
differs in minor ways. The examples used in these steps reflect the output of a new style patch
kit installation.
1. Halt the system. For example:
# /usr/sbin/shutdown -h +5 "Applying 5.1B-3 OS and TCR patches"
2. Boot to single-user mode from the console prompt. For example:
>>>boot -fl s
3. Run the init s command to change the run level to a single-user state with only essential
kernel services:
# /sbin/init s
4. Run the bcheckrc command to check and mount all the UFS and AdvFS file systems, the
kloadsrv command to load kernel modules into the kernel, and the lmf reset command
to copy license details for all enabled products from the License Database to the kernel cache:
# /sbin/bcheckrc
# /sbin/kloadsrv
# /usr/sbin/lmf reset
5. For systems prior to 5.0A, issue the update command and activate your swap partition
with the swapon command:
# /sbin/update
# /sbin/swapon -a
6. Enter the rcinet command to start network services:
# /usr/sbin/rcinet start
Informational messages will appear on the screen.
34 Patch Installation and Removal Instructions