Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX 11i Version 1.6 Installation and Configuration Guide: Itanium®-based Servers and Workstations > Chapter 3 Installing HP-UX 11i Version 1.6

Retrieving Information After Cold-installing

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

After completing the cold-install, you can retrieve the information you had previously saved onto another system. Here are some tips:

Create a new root directory

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 calling it something like /homeroot. This is especially important if you are using LVM and /home is a separate volume.

  1. From the CDE login screen, select Options -> Command Line Login and login as root.

  2. Except on trusted systems, edit /etc/passwd to change the home directory from root to /homeroot and save it.

  3. Create the /homeroot directory:

    mkdir /homeroot

  4. Move root's personal files (files beginning with . ) to /homeroot:

    mv /.[a-zA-Z]* /homeroot

  5. Exit and log in again as root.

Recover files

Recover all the customized and personal files that you saved previously by merging them manually. For example, do not overwrite /etc/passwd with your old version. Instead, either paste in entries from your old files or merge the old information into the new files.

Restore /home

If you had a local home directory, you can restore it as follows:

  • For instance, if you copied it to, /backup/system1/home, enter these commands:

    cd /backup/system1/home
    find -depth | cpio -pdm /system1/home

  • If you backed it up to tape with fbackup, enter:

    frecover -x -i /system1/home -v

Restore other files

Carefully use the same techniques to restore other files and directories, such as /usr, /local and /opt. For help in importing entire volume groups, see either the Managing Systems and Workgroups: A Guide for HP-UX System Administrators or the Managing Superdome Complexes.

The commands above will not write over newer files, so your new operating system and any files you update are well protected.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2002 Hewlett-Packard Development Company, L.P.