Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 1997 01:31:05 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Gary Kline <kline@tera.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: OK, one  last thing...
Message-ID:  <Pine.BSI.3.94.970331013003.397T-100000@localhost>
In-Reply-To: <199703272228.OAA08703@athena.tera.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 27 Mar 1997, Gary Kline wrote:

> > If it's a 2940 or deriviative try 2.1.1.
> 
> 	My floppy isn't working.  Is there a way of upgrading from
> 	2.2 to 2.2.1 using /stand/sysinstall?   ---I only want the
> 	src; of the diffs??   And I realize that I am missing 
> 	the 2.2.1 /etc/sysconfig.  Where would this be on freefall?

Yes. This little gem is my tribute to the upgrade procedure.

FreeBSD Upgrade Checklist for 2.2: 

1)  Boot the new floppy.  Select the 'update' option.  Follow the prompts.
Make sure you MOUNT your filesystems and not NEWFS them.  Select the same
distributions you did originally (including the kernel source, src/ssys!) 
and any you wish to add.  

[you'll just build & run sysconfig from single user mode]

**WARNING!** Do **NOT** upgrade XFree86 at this time.  The binary distributed
with 2.2 is built for 3.0-CURRENT, which has longer usernames.  It will
corrupt your utmp file, which will cause w, who, and associated utils to give
odd output.  If you have dire need to upgrade, you will want to rebuild
xdm and xterm, and probably the whole package, before using it.

2)  Hit 'commit' to start the upgrade.  

3)  When you're dumped to a shell prompt:

	. Your /etc directory is preserved as it was for 2.1.x.  You will
	  want to look in /etc/upgrade, which contains new & updated files
 	  for this release.  

	. Using your old sysconfig as a guide, create a new sysconfig using
          the one in /etc/upgrade as a template.

	. Copy over the rc* files from upgrade/, so new features in 
          sysconfig are used.  Merge in any local changes, if necessary.
          If you are getting unusual messages from ipx, you forgot to do
          this.
 
 	. Migrate other files as necessary.  	

5)  Reboot, recompile & reinstall your kernel, reboot again, and enjoy.

> > > PS:  I'm keeping a raft of notes re how to upgrade by just rebuilding
> > > the world... so if anybody is interested, drop a line.
> > 
> > A future tutorial?  :)
> > 
> 
> 	Could very well be.  I've used BSD off and on for 19 years
> 	and am hooked.  But all of tricks to upgrading:: whole new
> 	ballgame.  A cookbook tutorial might be a big win.

My little note above is fair game for such a book.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.970331013003.397T-100000>