Solaris Transition Guide

Restoring Files and File Systems After You Install

This section describes issues related to restoring SunOS 4.x files and file systems you backed up before installing the Solaris 7 software.

Restoring SunOS 4.x File Systems and User Files

You can restore the SunOS 4.x file systems that you could not or chose not to preserve into the new file systems you created during the Solaris 7 installation. For information about backup and restore procedures, see System Administration Guide, Volume I.


Note -

Before proceeding make sure that the target slice is large enough to accommodate the file system being restored.


Restore any SunOS 4.x user files that you backed up, and copy them to the new system.

Restoring SunOS 4.x System Configuration Files

First, you must restore the SunOS 4.x system configuration files to a temporary directory on the Solaris 7 system. After the information is back on the system in the temporary directory, you need to make it available in the Solaris 7 operating environment. Some of the data can just be merged into the files, while some types of data must be converted to new formats.

The system's configuration defines which files you need to work with. Complete the restore by merging or converting files as follows:

Files to Merge

To make data from any of the following files available, merge the changes into the Solaris 7 version of the same file. Note, however, that not all of these files were modified on the SunOS 4.x system. Identify files that were changed on the SunOS 4.x system and merge these only. As you read the list, note that some of the file names are slightly different. For example, /etc/auto.* files are now /etc/auto_*.

The following is an example list of the SunOS release 4.x files backed up using the instructions in the first part of this chapter. These files are candidates for merging into the Solaris 7 operating environment. See Appendix D, System Files Reference Table, to examine SunOS release 4.x files for changes.

Files to Convert

Many system files, such as the /etc/fstab file, have been replaced and do not exist under the Solaris 7 operating environment. Information from these files must be extracted and manually converted in the Solaris 7 environment. See Appendix D, System Files Reference Table, to examine SunOS release 4.x files for changes.


Caution - Caution -

Do not restore operating system executable files (such as system commands in /usr/bin) from the SunOS release 4.x system to your system after installing the Solaris 7 software.


You must change the following files before merging the data onto the Solaris 7 system:

share -F fstype -o options -d "text" pathname resource

See the dfstab(4) man page for additional information.

dev raw_dev mnt_pt fs_type
fsck_pass auto_mnt mnt_option

Refer to the vfstab(4) man page for additional information.