Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
 Contact HP
HP.com home
HP Tru64 UNIX Version 5.1B-2 and Higher: Patch Kit Installation Instructions > Chapter 3 Patch Installation and Removal Instructions

Choosing Single-User or Multi-User Mode

 

Table of Contents
Glossary
Index
Content starts here

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.

  7. Run the dupatch utility. You will be asked to specify the path to the patch_kit file. For example:

    # cd /var/patch/pk5/patch_kit
    # ./dupatch
    
    Enter path to the top of the patch distribution, 
    or enter "q" to quit : .
    
    

  8. From the Main Menu, enter 1 at the Enter your choice prompt to invoke the patch installation session. For example:

    Tru64 UNIX Patch Utility (Rev. 48-00)
    ==========================
            - This dupatch session is logged in /var/adm/patch/log/session.log
    
        Main Menu:
        ---------
    
        1)  Patch Kit Installation
        2)  Patch Kit Deletion
        3)  Patch Kit Documentation
        
        4)  Patch Tracking
        5)  Patch Baseline Analysis/Adjustment
        
        h)  Help on Command Line Interface
        
        q)  Quit
    
    Enter your choice: 1
    

  9. When the patch installation menu is displayed, enter 2 at the Enter your choice prompt:

         Patch Installation Menu:
         -----------------------
    
        1)  Pre-Installation Check ONLY
        2)  Check & Install the patch kit in Single-User Mode
        
        b)  Back to Main Menu
        q)  Quit
    
    Enter your choice: 2

Installing Patches from Multi-User Mode

The following list describes the steps you take and the type of output you will see when you install patches from multi-user mode.

  1. Run the dupatch utility and enter 1 at the Enter your choice prompt to the invoke the patch installation session:

    # /patches/pk4/patch_kit/dupatch
    Tru64 UNIX Patch Utility (Rev. 48-00)
    ==========================
            - This dupatch session is logged in /var/adm/patch/log/session.log
    
        Main Menu:
        ---------
    
        1)  Patch Kit Installation
        2)  Patch Kit Deletion
        3)  Patch Kit Documentation
        
        4)  Patch Tracking
        5)  Patch Baseline Analysis/Adjustment
        
        h)  Help on Command Line Interface
        
        q)  Quit
    
         Enter your choice: 1
  2. When the patch installation menu is displayed. Enter 3, at the Enter your choice prompt. Read the warning message and press Return if you want to continue the installation in multi-user mode:

         Patch Kit Installation Menu:
         -----------------------
    
        1)  Pre-Installation Check ONLY
        2)  Check & Install in single-user mode w/ network services
        3)  Check & Install in Multi-User mode
        
        b)  Back to Main Menu
        q)  Quit
    
    Enter your choice: 3
    
                    *** Installation Warning ***
    
    You have chosen to install the patch kit onto this system while it is
    running in Multi-User mode. Some patches may directly affect core operating
    system operations. To ensure the proper operation of all applications, it is
    strongly suggested that you install these patches while the system is in
    Single-User mode. If this cannot be done, install these patches when the
    system is as lightly loaded as possible (i.e. not running production
    environments, no users logged on, etc.).
    
    Do you wish to continue? (y/n) [y]:
Printable version
Privacy statement Using this site means you accept its terms
2006 Hewlett-Packard Development Company, L.P.