HP-UX 11i Version 1 Installation and Update Guide, December 2003

Cold Installing HP-UX 11i v1
Next Steps
Chapter 5112
Next Steps
Your task is nearly complete. If you cold-installed to enable a
hardware upgrade, proceed with the hardware phase of the upgrade.
Ask your HP Customer Engineer for more information.
To potentially improve performance, run sam as root and remove any
unneeded network drivers. The drivers listed in Table 4-4 on page 82
are installed by default. For help using sam, see its Help screens or
the Managing Systems and Workgroups: A Guide for HP-UX System
Administrators manual.
How to Retrieve Information After Cold-Installing
After completing the cold-install, you can retrieve the information you
had previously saved onto another system. Here are some tips:
Create a New Directory for Root Users
Consider creating a root home directory that is not /. This keeps the user
root dot files out of the / directory. Make sure it is on the root volume by
not locating it under the mount point of the file system. A good name to
uses /homeroot (not /home/root) as /home is often a mount point. This
is especially important if you are using LVM or VxVM and /home is a
separate volume.
Step 1. From the CDE login screen, select Options -> Command Line Login and
login as root.
Step 2. Except on trusted systems, edit /etc/passwd to change the home
directory from root to /homeroot and save it.
Step 3. Create the /homeroot directory:
mkdir /homeroot
Step 4. Move root’s personal files (files beginning with . ) to /homeroot:
ls -a | grep “^\.” | grep -v “^\.$” | grep -v “^\.\.$” | \
cpio -pdmv /homeroot
Step 5. Exit and log in again as root.