Re: Upgrade 5.0 to 5.1

From: Kent Stewart (kstewart_at_owt.com)
Date: 08/30/03

  • Next message: Lucas Holt: "Re: Why people are not satisfied with FreeBSD?"
    To: Guy Van Sanden <n.b@myrealbox.com>
    Date: Sat, 30 Aug 2003 13:00:49 -0700
    
    

    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.

    Kent

    >
    > 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

    -- 
    Kent Stewart
    Richland, WA
    http://users.owt.com/kstewart/index.html
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Lucas Holt: "Re: Why people are not satisfied with FreeBSD?"

    Relevant Pages

    • Re: Upgrade 5.0 to 5.1
      ... I indeed forgot the system information. ... Judging from your timings, this is going to take a while... ... Does buildworld and installworld always take equally long, ...
      (freebsd-questions)
    • Re: CVSUP and 5.2.1 RELEASE
      ... AFAIK the only time mergemaster -p ... > has done anything it was only needed for installworld but it is intended ... used for the comparison has only very few entries and as soon as something as ... basic as the perl port is installed (and the entries added by 'use.perl port' ...
      (freebsd-current)