Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 1997 16:10:02 -0600 (CST)
From:      "Wayne M. Barnes" <wayne@barnes1.wustl.edu>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   conf/3109: unintellible upgrade doc
Message-ID:  <199703262210.QAA00620@barnes1.wustl.edu>
Resent-Message-ID: <199703262220.OAA03579@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3109
>Category:       conf
>Synopsis:       unintellible upgrade doc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 26 14:20:01 PST 1997
>Last-Modified:
>Originator:     Wayne M. Barnes
>Organization:

Wayne M. Barnes, Ph.D.                        wayne@barnes1.wustl.edu
Biochemistry Dept. 8231                   or  barnes@biodec.wustl.edu
Washington Univ. Medical School               314.362.3351  fax 7183
660 South Euclid Ave., St. Louis, MO 63110
           http://mbb.wustl.edu/~barnes/
>Release:        2.7.1.1   FreeBSD 2.1-STABLE i386
>Environment:

Pentium connected to wuarchive.wustl.edu

	

>Description:

     I have inspected the .TXT files in the top of various -RELEASE directories,
and they give me no clue how to perform an update.
Section 3.2 of INSTALL.TXT talks about this subject, but it actually gives
no commands nor names any Makefiles or scripts to run.  

This section tantalizingly talks about an automated upgrade, but where is it?

     As a few recent messages from me have indicated, I have tried to perform
this upgrade on my own, but I keep getting crashes.

     Should I make world?  If so, what directory should I be in when I issue
the command 'make world'?  Shouldn't it be enough to copy a few bin directories
and just make a new kernel? 



	

>How-To-Repeat:

	

>Fix:
	
	

     Disconnect your hard drive.  Buy a new one.  Install FreeBSD from scratch.
Reconnect your old drive as drive 1 (new one is 0) and mount it on /olddrive.
This is not so easy.  Having saved /etc/fstab to a floppy, using
a file name that is different for each drive, you can maybe figure out how
to spell the slice names for each partition.  For instance, if I
remember correctly (I haven't done this for months):

fstab line =
/dev/wd0s2f			/usr		ufs	rw 1 1

your mount command =  (after doing a mkdir /olddrive and mkdir /olddrive/usr)
mount ufs /dev/wd1s2f /olddrive/usr

Copy over all user files, but be sure not to copy over /etc/fstab, since
it may be specific to your new drive.  Hopefully, you have never before
put a user file in a system directory, with the possible exception of /etc.
Hopefully, you had saved a copy of everything in /etc in case you need it.
You might need master.passwd, resolv.conf, and config.sys, ...

A good command for the copy of your user files is:

(cd /olddrive/usr/home; tar cf - .) | (cd /usr/home; tar xvf -)

Do NOT try cp -r  or cpio.  
Similarly for other useful branches of your directory tree.

You better study the -X option of tar, and use it to avoid overwriting
anything in /usr/bin or /usr/local/bin, in case the new RELEASE has
a critically different executable there.
It's not clear to me whether you have to (or can) feed the -X option a list of
files with their directory names, or not.  
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703262210.QAA00620>