Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2002 22:12:01 +0200
From:      Thomas Spreng <spreng@insomniac.ch>
To:        John Mills <john.m.mills@alum.mit.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Q: how to upgrade least painfully
Message-ID:  <20020826221201.B25382@rock.stable.ch>
In-Reply-To: <Pine.LNX.4.21.0208261412050.5377-100000@otter.mills-atl.com>; from jmmills@telocity.com on Mon, Aug 26, 2002 at 02:25:32PM -0400
References:  <Pine.LNX.4.21.0208261412050.5377-100000@otter.mills-atl.com>

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

> Hello -
> 
> I have a fairly simple FreeBSD at RELENG_4_5 level and would like to move
> forward to RELENG_4_6. Since I have a successful kernel-build, boot, and
> network configurations set up, I would like to preserve them if I can.

well, who wouldnt? :)
 
> What directories and files should I back up for use and/or information
> later on? (I suppose '/etc/*', but how about others?)
> 
> What about the configuration to which the kernel is built? The boot setup?
 
well you can backup your system config file within /etc if you want to, your
custom kernel file wont be touched, assuming you have copied it to a new file.
Other config files, like application configs under /usr/local/etc wont be affected
by a system upgrade.
I'd suggest that you are looking carefully at the upgrading procedure and be sure
to check /usr/src/UPDATING before doing so.
And remember, no config files will be overridden by the upgrading procedure unless  
you tell it to do so. New configuration files will be installed (or merged with your
existing ones) with 'mergemaster'. The diary (http://www.freebsddiary.org) has a 
pretty good article about mergemaster.


> Will the user accounts come along transparently?

well, just dont ovverride your /etc/passwd and /etc/group with mergemaster.
 
> What should I expect will need reconfiguration after I am running on 4_6?
> 
> I did a CVSUP, kernel build, and boot cycle in my 4_5 installation, and
> had no particular rework to do afterward, though I did walk through the
> boot parameters.
> 
> When I'm happy with the results, how should I clean up - and ultimately
> remove - the older version?

You dont have to remove/clean up anything after the upgrading procedure.
 
> Thanks for any comments and pointers. I'm new at this.
> 
>  - John Mills
> 

I hope that helps,
Bye

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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