Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 1995 11:54:10 -0700 (PDT)
From:      bmk@dtr.com
To:        tpr@pics.com (Terry Rossi)
Cc:        questions@freebsd.org
Subject:   Re: Moving from 2.0R to 2.0.5
Message-ID:  <199509051854.LAA00638@rainier>
In-Reply-To: <199509031844.OAA24334@picspc01.pics.com> from "Terry Rossi" at Sep 3, 95 02:44:40 pm

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

> I would love to hear from folks who have done this.  My FreeBSD system is
> mainly used for
> the following things and I don't know how hard the "upgrade" process will be.

> The stuff I use most.

>         Inn
>         CERN Http
>         Lynx
>         PPPd
>         IRC Client
>         Sendmail/UUCP
>         Perl 4

> Does any of this break or get drasticly better under 2.0.5
> What is the recommended process to upgrade?  Is there an upgrade procedure?

Here's what I did.  It may or may not be successful for you - it depends
on how you've set up your filesystems.  I install all of my systems
so that / and /usr are separate filesystems, and the only things on
those filesystems is the FreeBSD distribution.  Everything else
(additional installed software, home directories, etc.) goes on other
filesystems.  Generally speaking, I install with at least the following
filesystems:

	/
	/usr
	/var
	/usr/local
	/home

The goal is to replace everything in / and /usr without touching the
rest.

First of all, back up your system.  I can't emphasize this enough.
I also make backup copies of everything in /etc on a floppy so
that I can meld changes into the new installed versions.

Boot the 2.0.5 installation floppy.  Don't modify the partition map.
After you enter the disklabel editor, assign mountpoints for /, /usr,
and swap.  Toggle newfs on for / and /usr.  All other FreeBSD filesystems
should be toggled to NOT perform newfs.  Either assign mountpoints now,
or later by editing/restoring /etc/fstab.

Proceed with the installation.  

After the installation is complete, copy any files from your saved copy
of /etc that you need.  This would include your password files (pwd.db,
spwd.db, passwd, master.passwd) and fstab, at least.

You might also want to restore some of the contents of /var depending on
your individual circumstances.  Personally, I like to keep at least the
contents of /var/log, /var/db, and /var/mail.

Any comments or improvements on this general procedure would be
appreciatied.




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