Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 2003 15:02:24 +0000
From:      Josh Paetzel <friar_josh@tcbug.org>
To:        Vahric MUHTARYAN <vahric@doruk.net.tr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Upgreading Servers From 4.9 to 5.x ,Changing Server and BootProblem
Message-ID:  <20031215150223.GB583@ns1.tcbug.org>
In-Reply-To: <0a9d01c3c34a$e035bc00$110d3ad4@VAHOXP>
References:  <0a9d01c3c34a$e035bc00$110d3ad4@VAHOXP>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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