Upgrade 5.0 to 5.1
Guy Van Sanden
n.b at myrealbox.com
Sun Aug 31 01:20:14 PDT 2003
Thanks for your answers!
I have one more question, the manual says to drop to single user mode
before doing buildworld, do you do this.
If I could avoid this, I could run buildworld during the night, and do
installworld when it suits me during the daytime.
Thank you very much
On Sat, 2003-08-30 at 22:00, Kent Stewart wrote:
> On Saturday 30 August 2003 11:44 am, Guy Van Sanden wrote:
> > Ah, I indeed forgot the system information.
> > It is a P II 333 MHZ with 256 of RAM and an UDMA 33 HD (40 GB).
> > Judging from your timings, this is going to take a while...
> Yes, on a machine with that speed, it will be several hours.
> > Does buildworld and installworld always take equally long, even say
> > only 10 files changed?
> Buildworld always takes about the same time. The installworld on my
> machine runs <4 minutes. Running mergemaster the first time on an
> upgrade can take a while. You need to look at /usr/src/UPDATING for
> when you need to run it and the options.
> The installs are always fast and only the builds take much time.
> > Are there any pitfalls I should be aware of (seeing that this would
> > be the first time I attempt such a thing).
> That you have done a full src-all on your cvsup. There are also some
> options that help in your /etc/make.conf. From what I saw a little
> while ago, the default make.conf is now in the examples directory.
> Don't let mergemaster replace your hosts entries and your user entries
> in master.passwd and groups. I edit the password entries manually with
> vipw and groups with vi. If you have a special /etc/printcap, it will
> try to replace it. Just pay attention is all that is required. You can
> save trouble if you back up /etc before you do the installs.
> > On Sat, 2003-08-30 at 18:34, Kent Stewart wrote:
> > > On Saturday 30 August 2003 08:58 am, Guy Van Sanden wrote:
> > > > How would I best upgrade my 5.0 installation to 5.1?
> > > >
> > > > I have done binary (CD-ROM) updates on 4.x in the past, but I was
> > > > thinking this could be done using cvsup.
> > > >
> > > > Can anyone briefly say wheter this procedure would be right:
> > > > - change default release=cvs tag=RELENG_5_0 to RELENG_5_1
> > > > - cvsup the new sources
> > > > - follow instructions to buildworld+installworld in Chapter 21 of
> > > > the handbook.
> > > >
> > > > Any ideas how long this would take ?
> > >
> > > It is totally a function of your computer. Since, you didn't
> > > provide that information, we can only provide information on our
> > > personal systems.
> > >
> > > I follow current, since I don't think 5.x is up to 4.x release
> > > quality at this point. I don't think it is far off, just not quite
> > > there. A buildworld, which is the longest part of an upgrade,
> > > requires 50+ minutes on my AMD 1600+ with 512 MB of DDR-266 memory
> > > and 3 ATA-100 HDs. Having less memory won't affect the build time
> > > unless you produce swaping. Having both /usr/src and /usr/obj on
> > > the same HD will also increase compile times.
> > >
> > > The buildkernel probably takes on the order of 10 minutes since it
> > > is long enough that I won't sit there to watch and I haven't timed
> > > my build script. The installs probably take less than 5 minutes.
> > >
> > > Kent
More information about the freebsd-questions