Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Aug 2001 11:58:22 +0200 (CEST)
From:      Micke Josefsson <mj@isy.liu.se>
To:        Robin Becker <robin@jessikat.fsnet.co.uk>
Cc:        questions@FreeBSD.ORG
Subject:   Re: 4.2 to 4.3 upgrade
Message-ID:  <XFMail.010802115822.mj@isy.liu.se>
In-Reply-To: <nlM4eLAs1Ra7Ewyu@jessikat.demon.co.uk>

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

On 02-Aug-01 Robin Becker wrote:
> In article <3B690B4F.8C95E3BF@i-clue.de>, Christoph Sold <so@server.i-
> clue.de> writes
>>
>>
> .....
>>
>>/stand/sysinstall can update to -RELEASE only: It needs pre-built
>>binaries. -STABLE or -SECURITY have to be built on your box from source.
>>
>>Read the handbook about staying current, and try it for yourself. You
>>need about a day or two for the first time, later on, you'd do it within
>>minutes.
>>
>>HTH
>>-Christoph Sold
> ...
> I'm very unsure about the src building mechanism. How do I go about
> upgrading my system to 4.3  from 4.2? My machine has low bandwidth
> access and I have /=17M /usr=590M /var=448M space. I have managed to
> download and burn a 4.3-install iso. It's very attractive for me to keep
> my existing applications and have a suitable base system for recovery
> purposes.
> 

I'd mount the 4.3-cdrom and then:

#cd /cdrom/src 
#./install all
(this installs the entire 4.3 source tree into /usr/src)

To compile everything:
#cd /usr/src
#make world
(wait, wait...)

#cd /usr/src/sys/i386/conf
#/sbin/config GENERIC
#cd ../../compile/GENERIC
#make depend && make && make install

(then reboot into your new 4.3)


This will turn your box into a 4.3-RELEASE. You may want to cvsup the newer
sources (this will patch the tree, not intall everything again). cvsup can
readily be done via modem. When you have new sources then repeat from cd
/usr/src/ above.

Warning: The instructions for doing this also tells you to run mergemaster
afterwards. I have not used that yet, it *seems* to be doing fine. But before
embarking on the trip above do read the handbook on "make world".

/M



> How much space do I need to use one of the src schemes? 
> I need hardly add that this is one of our 'important' servers and
> pressure to keep downtime to a minimum is important.
> 
> I have a spare 10G hd lying about so I could at a pinch just add volume
> and use that for space except that I suppose that would be pretty
> pointless as I'm sure all the utilities like to point to /usr/src.
> -- 
> Robin Becker
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

----------------------------------
Michael Josefsson, MSEE
mj@isy.liu.se

This message was sent by XFMail
running on FreeBSD 4.3-STABLE
----------------------------------

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?XFMail.010802115822.mj>