Retrieving Information After Cold-Installing - HP -UX 11i Installation And Update Manual

Hide thumbs Also See for HP-UX 11i:
Table of Contents

Advertisement

Create a new root
directory
Step 1. From the CDE login screen, select
Step 2. Edit /etc/passwd to change the home directory from root to /homeroot
Step 3. Create the /homeroot directory:
Step 4. Move root's personal files (files beginning with . ) to /homeroot:
Step 5. Exit and log in again as root.
Recover files
Restore /home
Restore other files Carefully use the same techniques to restore other files and directories,
Migrating to HP-UX 11i
Cold-installing HP-UX 11i

Retrieving 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:
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.
login as root.
and save it.
mkdir /homeroot
mv /.[a-zA-Z]* /homeroot
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.
If you had a local home directory, you can restore it as follows:
• If you copied it to, say, /backup/moe/home, enter these commands:
cd /backup/moe/home
find -depth -print | cpio -pdm /moe/home
• If you backed it up to tape with fbackup, enter:
frecover -x -i / moe/home -v
such as /usr, /local and /opt. For help in importing entire volume
groups, see either the Managing Filesystems and Workgroups manual or
the Managing HP Superdome Complexes manual.
46
->
Options
Command Line Login
and
Chapter 2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

9000

Table of Contents