Step 2: Merging - Sun Microsystems Sun Workstation 100U System Manager's Manual

Table of Contents

Advertisement

Sun 100/150 Installation Manual
Upgrading System Software
"u,ertJ ... " with the names of all users on your system. (You can double check by looking
in /etc/pa8swd or by doing "Is usr".)
For a machine with a tape drive:
:/I:
tar ct dev/rttJPe=/l: uar/{apooi,iocai,u,ertJ,u,erb,u,erc,u,erd ••• }
For a machine without a tape drive (note that the command should be typed 38 a single
line; it appears on two lines because of formatting constraints only):
:/I:
tar ctb - block_,ize /dev/rttJPe# uar/{apooi,iocai,u,ertJ, u,erb,u,erc, u,erd ••• }
I
rib remote_holt dd ot-/ dey / ttJpef oba==block_,ize b
This makes a tape containing users' files.
You may want to use other options on the ttJr commands, such 38 b to specify a large blocking
factor such as 126 on Archive quarter-inch tapes, or v to list each file as it is processed. See
ItJr(l) for more information.
Once you have saved the appropriate files in a convenient format, the next step is to dump all
your file systems to magnetic tape with /
etcl
dump
(see dump (8)).
When you have completed your system dump, install the new relea8e from the distribution tape
as described in the chapter, IndtJlling UNIX lor the Fir,t Time (except that you may skip the
disk-reformatting ph38e); or, if you are installing the rele38e on a machine without a tape drive,
in the chapter, IndtJlling UNIX on S"dem, Without TtJpe Support. Then proceed with the sec-
tion below.
7.2. Step 2: Merging
When your system is booting reliably and you have the root and
I
u,r file systems fully installed,
you will be ready to proceed to the next step in the conversion process: merging your old files
into the new system.
1. Using the first tar tape you created in Step 1, extract the appropriate files into a scratch
directory, say
I u,rl
convert.
For a machine with a tape drive:
*
mkdir /usr/eonvert
:/I:
cd /uar/convert
:/I:
tar xt dev/rttJpe:/l:
For a machine without a tape drive:
:/I:
mkdir /usr/convert
:/I:
cd /uar/convert
:/I:
rsb remote_ho" dd if
/dev/ttJpe:/l= bs==block_,izeb
I
tar xbBf block_,ize-
2. Certain files, such 38 those from the /
etc
directory, may simply be moved back into place:
:/I:
cp passwd group fstab ttya ttytype / etc
:/I:
cp crontab !usr/lib
Remember to remove the old copies after you're sure your system completeness/consistency
is confirmed. If you wish, you can mv the files instead of copying them.
Other files must be merged into the distributed versions by hand (di.t1{l) is often useful
here). In particular, be careful with /etc/termctJp.
Revision H of 12 March 1984
7-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sun workstation 150u

Table of Contents