Upgreading Servers From 4.9 to 5.x ,Changing Server and BootProblem

Josh Paetzel friar_josh at tcbug.org
Mon Dec 15 13:03:00 PST 2003


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



More information about the freebsd-questions mailing list