From wayne@barnes1.wustl.edu  Wed Mar 26 14:10:12 1997
Received: from barnes1.wustl.edu (barnes1.wustl.edu [128.252.162.58])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA02539
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 Mar 1997 14:10:00 -0800 (PST)
Received: (from wayne@localhost) by barnes1.wustl.edu (8.8.3/8.7.3) id QAA00620; Wed, 26 Mar 1997 16:10:02 -0600 (CST)
Message-Id: <199703262210.QAA00620@barnes1.wustl.edu>
Date: Wed, 26 Mar 1997 16:10:02 -0600 (CST)
From: "Wayne M. Barnes" <wayne@barnes1.wustl.edu>
Reply-To: wayne@barnes1.wustl.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: unintellible upgrade doc
X-Send-Pr-Version: 3.2

>Number:         3109
>Category:       conf
>Synopsis:       unintellible upgrade doc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 26 14:20:01 PST 1997
>Closed-Date:    Sat Aug 23 14:58:26 MEST 1997
>Last-Modified:  Sat Aug 23 14:58:53 MEST 1997
>Originator:     Wayne M. Barnes
>Release:        2.7.1.1   FreeBSD 2.1-STABLE i386
>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/
>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.  
>Release-Note:
>Audit-Trail:

From: j@uriah.heep.sax.de (J Wunsch)
To: wayne@barnes1.wustl.edu
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: conf/3109: unintellible upgrade doc
Date: Thu, 27 Mar 1997 00:20:41 +0100

 As Wayne M. Barnes wrote:
 
 > This section tantalizingly talks about an automated upgrade, but
 > where is it?
 
 In sysinstall's main menu.
 
 >      Should I make world?  If so, what directory should I be in when
 > I issue the command 'make world'?
 
 /usr/src
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)

From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
To: wayne@barnes1.wustl.edu
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: conf/3109: unintellible upgrade doc 
Date: Wed, 26 Mar 1997 15:38:52 -0800

 > This section tantalizingly talks about an automated upgrade, but where is it?
 
 In the top level menu of the installation boot floppy.
 
 						Jordan
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Sat Aug 23 14:58:26 MEST 1997 
State-Changed-Why:  
(See the audit-trail, no reaction from the originator happened since.) 
>Unformatted:
