From wayne@barnes1.wustl.edu  Thu Mar 27 10:50:40 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 KAA09529
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Mar 1997 10:50:37 -0800 (PST)
Received: (from wayne@localhost) by barnes1.wustl.edu (8.8.3/8.7.3) id MAA00485; Thu, 27 Mar 1997 12:50:40 -0600 (CST)
Message-Id: <199703271850.MAA00485@barnes1.wustl.edu>
Date: Thu, 27 Mar 1997 12:50:40 -0600 (CST)
From: "Wayne M. Barnes" <wayne@barnes1.wustl.edu>
Reply-To: wayne@barnes1.wustl.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: /stand/sysintstall does not perform to upgrade to 2.2
X-Send-Pr-Version: 3.2

>Number:         3123
>Category:       conf
>Synopsis:       /stand/sysintstall does not perform to upgrade to 2.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 27 11:00:01 PST 1997
>Closed-Date:    Sat May 30 09:48:28 PDT 1998
>Last-Modified:  Sat May 30 09:49:58 PDT 1998
>Originator:     Wayne M. Barnes
>Release:        2.1.6       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:
Dell Pentium on university network
	

>Description:

      Upon your suggestions, I tried /stand/sysinstall (the upgrade option).

      By the way, this should be called update, not upgrade.

I tried both the menu system and I tried the following command to start it:

/stand/sysinstall nfs=wuarchive.wustl.edu:/archive/systems/unix/FreeBSD\
 releaseName=2.2.1-RELEASE distSetDeveloper installUpgrade mediaSetNFS 

RESULT:

     After the /etc saving screen, it says
     Unable to backup your /etc into ^T.   (or other unprintable chars)
	This happened many times, no matter what directory I specified for
	saving /etc

     After the program ignores the command 'mediaSetNFS' and I choose NFS
for the medium, it crashes with:

     Error mounting wuarchive.(...)  on /dist: No such file or directory (2)

     I went back and created the directory /dist with no good result on
many retries.

     I am able to mount said wuarchive directory (with FreeBSD files) just
fine outside of the /stand/sysinstall program.  You can, too. 

     Please respond with a list of commands that would accomplish the update.
I suppose I should backup and save /etc/fstab and /etc/master.passwd.
Then, I suppose I should cd to certain subdirectories in 2.2.1-RELEASE
and say ' sh install.sh'
Which items should I be sure to specify in src?
What other directories should I go to and what options to specify, if their
install.sh asks for options?
Maybe bin and src are all I need?
Then what?

Here is my guess:  [Perhaps you can just make notes on this to help me, Please?]

cd 2.2.1-RELEASE
cd src
sh install.sh bin lib libexec lkm sys sbin usbin
cd ..
cd bin
sh install.sh

[go back to my computer and build a fresh new MYKERNEL:]

cd /sys/i386/conf
vi MYKERNEL
cd ../../compile/MYKERNEL
make depend
make
make install



	

>How-To-Repeat:

	

>Fix:
	
	

>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/3123: /stand/sysintstall does not perform to upgrade to 2.2
Date: Thu, 27 Mar 1997 20:22:52 +0100

 As Wayne M. Barnes wrote:
 
 >       Upon your suggestions, I tried /stand/sysinstall (the upgrade option).
 
 Errrm, no!
 
 Boot the boot floppy, and use it's `Upgrade' option.
 /stand/sysinstall is not supposed to do this.
 
 -- 
 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/3123: /stand/sysintstall does not perform to upgrade to 2.2 
Date: Thu, 27 Mar 1997 15:00:16 -0800

 > I tried both the menu system and I tried the following command to start it:
 > 
 > /stand/sysinstall nfs=wuarchive.wustl.edu:/archive/systems/unix/FreeBSD\
 >  releaseName=2.2.1-RELEASE distSetDeveloper installUpgrade mediaSetNFS 
 
 Yikes!
 
 I never thought anyone would actually try to run it from multi-user
 mode like this. :-)
 
 It really expects to be run off the boot floppy, where it can
 carefully mount portions of the system and know that they're not
 *active* during the update/upgrade process.  I should probably disable
 upgrade entirely in multiuser mode - whoops.

From: "Wayne M. Barnes" <wayne@barnes1.wustl.edu>
To: jkh@time.cdrom.com (Jordan K. Hubbard)
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: conf/3123 reply2
Date: Thu, 27 Mar 1997 17:22:51 -0600 (CST)

 Dear Jordan,
                     Re: My goal is to update to release 2.2
 
       Actually, I can't boot my Dell Pentium with a floppy, as I have
 complained months ago -- I just get a loop of something like H:0 C:0 S:0 or
 something that looks like hard drive sector pointer errors.
 It might be an incompatibility with my CD (ATAPI), but I'm not sure.  Disabling
 the ATAPI in a kernel does not help.  
 Actually, I can't install from the CD, either.  What works for me, and
 I may try it, is to boot from the CD from DOS, 
 and install over the network with FTP.
 It is tricky to avoid the partition part of the install, however.  Is
 this what the 'upgrade' menu item is for?  
 
       Therefore I would just like to update from my installed system.
 I am willing to run in single-user mode for this.  
 Thank you for this undoubtably good suggestion.  
 Can you just modify /stand/sysinstall to only perform an upgrade in
 single-user mode?  I'm afraid I would still get the other problems
 I reported ( about saving /etc and mounting nfs).  
 
       All I want is updated source and binaries, right?  Why shouldn't I just be
 able to dump them into my directories with one command or two
 (and have the Makefile.386 or whatever be updated, too) and then make
 a new MYKERNEL?  Would I only have to mount / for the system binaries,
 and *not* /usr ? 
 
 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/
 
 
 > > I tried both the menu system and I tried the following command to start it:
 > > 
 > > /stand/sysinstall nfs=wuarchive.wustl.edu:/archive/systems/unix/FreeBSD\
 > >  releaseName=2.2.1-RELEASE distSetDeveloper installUpgrade mediaSetNFS 
 > 
 > Yikes!
 > 
 > I never thought anyone would actually try to run it from multi-user
 > mode like this. :-)
 > 
 > It really expects to be run off the boot floppy, where it can
 > carefully mount portions of the system and know that they're not
 > *active* during the update/upgrade process.  I should probably disable
 > upgrade entirely in multiuser mode - whoops.
 > 
 

From: "Jordan K. Hubbard" <jkh@time.cdrom.com>
To: "Wayne M. Barnes" <wayne@barnes1.wustl.edu>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: conf/3123 reply2 
Date: Thu, 27 Mar 1997 16:36:23 -0800

 >       Therefore I would just like to update from my installed system.
 > I am willing to run in single-user mode for this.  
 
 Just boot the installation boot floppy - you don't have to overwrite
 your entire system for this.
 
 > Can you just modify /stand/sysinstall to only perform an upgrade in
 > single-user mode?  I'm afraid I would still get the other problems
 > I reported ( about saving /etc and mounting nfs).  
 
 Hrm.  I'd really rather people just did it from the floppy, frankly! :-)
 
 					Jordan
State-Changed-From-To: open->feedback 
State-Changed-By: steve 
State-Changed-When: Mon May 25 14:55:30 PDT 1998 
State-Changed-Why:  
Have you tried a more recent version (2.2.6)?  Did this solve 
any of the problem that you mentioned? 
State-Changed-From-To: feedback->closed 
State-Changed-By: steve 
State-Changed-When: Sat May 30 09:48:28 PDT 1998 
State-Changed-Why:  
Mail ping failed, so close it pending more details. 
>Unformatted:
