From owner-freebsd-questions@FreeBSD.ORG Mon Dec 15 13:03:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A240216A4CE for ; Mon, 15 Dec 2003 13:03:00 -0800 (PST) Received: from ns1.tcbug.org (12-218-40-24.client.mchsi.com [12.218.40.24]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3584C43D51 for ; Mon, 15 Dec 2003 13:02:59 -0800 (PST) (envelope-from friar_josh@ns1.tcbug.org) Received: by ns1.tcbug.org (Postfix, from userid 1003) id 0FA67BA1C; Mon, 15 Dec 2003 15:02:24 +0000 (GMT) Date: Mon, 15 Dec 2003 15:02:24 +0000 From: Josh Paetzel To: Vahric MUHTARYAN Message-ID: <20031215150223.GB583@ns1.tcbug.org> References: <0a9d01c3c34a$e035bc00$110d3ad4@VAHOXP> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0a9d01c3c34a$e035bc00$110d3ad4@VAHOXP> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: Upgreading Servers From 4.9 to 5.x ,Changing Server and BootProblem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2003 21:03:00 -0000 On Mon, Dec 15, 2003 at 10:34:45PM +0200, Vahric MUHTARYAN wrote: > Hi Everybody , > > > First I want to learn Which method are you using When you want > to pass between version For example 3.x to 4.x or 4.x to 5.x . Are you > installing new version to new machine then copy all files ?! > It's certainly possible to "upgrade" from 3.x -> 4.x or from 4.x -> 5.x, but in practice it's almost easier to backup, reinstall, and restore. > > > My second question is ; in FreeBSD package management is very > good . All ports are installed in /usr/local ... at this moment When I > need to change server at this moment does it enough to copy all > /usr/local directory to the new server ( of course all data , same > kernel configuration on new machine and same /etc/rc.conf file .. ) Does > it work ? Anybody have any experience about this ? > Well, most ports are very well behaved and live inside /usr/local, but not all of them do. Anything that wants to interface to mysql, for example, will have database tables in /var/db...that needs to be backed up of course if that's the case...and there are other ports, qmail comes to mind, that install into non-standard locations. You also can't just tar up /usr/local/ and then untar it hoping that things will work on your new system....you're going to have to actually reinstall them, then copy in the old configs. > > And I wondering What do you do when boot problem like loader , > kernel and kernel.old too ... How do you open OS ? Because in Linux We > can create a disk with mkbootdisk command at this moment We have a same > kernel and startup things in diskette ?!! > > > Vahric > You can make a fixit floppy in freebsd, the directions for how to do so are in the handbook at www.freebsd.org/handbook. :) Josh