| www.sun.com | docs.sun.com |

4. | Chapter 2 # Installing the Solaris 9 Maintenance Update 2 This chapter describes how to install your Solaris 9 MU2 software. If you are installing the Solaris 9 MU2 software as part of a custom JumpStart™ installation, refer to the Solaris 9 Installation Guide. # Time Considerations The Solaris 9 MU2 installation time varies, depending on the following: CPU speed of your machine `install_mu` option you select Transfer speed of the hard drive or network you use to access the `install_mu` code and patch set If you install the MU2 with the `-backout` option disabled, installation proceeds more quickly. However, you cannot then back out any of the patches MU2 delivers. # Requirements The MU2 can only be installed on a system that is running the Solaris 9 operating environment. Space requirements for each file system vary, depending on the following: Whether you select the `-backout` option The location of the backout directory when saving backout data The disk partitions and the space available in each file system, relative to the patch disk space that is needed for each file system Your system's locale Whether some of the Maintenance Update patches are already installed on your system The `install_mu` script performs a space analysis and reports the space that is needed for each file system, including backout space if applicable. The space calculations are completed in several minutes. The `install_mu` script does not proceed if it determines that space is lacking in one or more file systems. The patch installation space that is needed is calculated with some precision. However, the backout data space need is estimated. The reported need might be higher than the actual need. Run `install_mu` with the`-f` option if you meet both of the following conditions: If you know, that you have enough disk space to apply the patch set and backout data if desired If you are bypassing the space calculation # Installing the Solaris 9 MU2 Solaris 9 MU2 software can only be installed if the system that is running `install_mu` is already running the Solaris 9 operating environment. Note - Relocatable root and service areas are not supported in the Solaris 9 MU2. Ideally, you reboot your system in single-user mode before installing MU2 because MU2 applies patches to system libraries. Avoid introducing instability in individual systems is a multiuser system. Ensure that no processes have mapped to an unpatched version of a library. Otherwise, those processes might later attempt to map to different sections of the old library. In single-user mode, network services are not available. The MU2 image might be on the network rather than on a CD. If so, you must copy the MU2 image from the network to your local system before booting your system in single-user mode. You need to install MU2 by using NFS in multiuser mode if you meet one of the following criteria: You cannot reboot the system in single-user mode You do not have enough disk space to make a local copy of the MU2 image In this case, you should have the system in as quiet a state as possible, without users logged on or running jobs. When in single-user mode or multiuser mode, you must reboot your system after MU2 is installed. Do not use the `exit` command. If the `exit` command is used, the system is brought to `init 3`, and no one can log in until the system is rebooted. If the root user has logged out, and no other root users remain logged in, the system must be rebooted. See Chapter 4, "Known Problems", for more detail. Note - Ensure that you have backed up your system's operating system before proceeding. To install the Solaris 9 MU2 software: Ensure that no important user or system processes are running. Note - You must kill the `powerd` process if it is running. Exit the current session. The CDE login screen is displayed. Click the Options button and select Command Line Login. The system prompts you to log in. Type your login name as root and type the root password:
       login: root
       password: root password
5. Reboot in single-user mode. From the root shell prompt, type:
       # reboot -- -s
6. Type the root password. Check that the system displays the following message and is now in system maintenance mode.
       Entering System Maintenance Mode

       Sun Microsystems Inc. SunOS 5.9 Generic May 2002
       #
7. Run `install_mu`. From a local copy of the MU2 image, type:
       # cd local_directory
       # ./install_mu options
   You can use the following options at the command line. Table 2-1 Command-Line Options for `install_mu`
   Option | Description
   --- | ---
   `-d` | Specifies that patches will not be backed up. Use of this argument decreases the time to install the software, but it also prevents you from backing out individual patches. Cannot be specified with `-B` option.
   `-p` patchdir | Specifies directory that includes all the patches.
   `-q` | Disables the display of dots that indicate `install_mu` activity.
   `-B` backoutdir | Specifies that the backout data is saved in the indicated directory. Cannot be specified with the `-d` option.
   `-f` | Forces installation of patch set without checking for sufficient disk space. Use of this option is quicker, but you must use it only if you know that you have enough space.
8. When the installation is complete, check that the following message is displayed.
       install_mu completed at date_time.
9. If you see this message, go to Step 9. If you encounter any errors, go to Chapter 5, Error Messages. Reboot the system by typing:
       # sync ; reboot
10. You are then prompted for a login. Note - To prevent the library conflict problem, you must reboot your system after installing MU2. Type your login name and password:
        login: login
        password: password