Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2002 09:33:11 -0400 (EDT)
From:      John Mills <jmmills@telocity.com>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        John Mills <john.m.mills@alum.mit.edu>, FreeBSD-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Question on order and targets of kernel and world builds
Message-ID:  <Pine.LNX.4.21.0207170928360.4674-100000@otter.mills-atl.com>
In-Reply-To: <p05111725b95a961d5dca@[128.113.24.47]>

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

Thanks for the information and for replying.

On Tue, 16 Jul 2002, Garance A Drosihn wrote:

> You should check:
 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

Will do.

> If you are fairly up-to-date with freebsd-stable, the preferred order
> would be more like:

I presume this follows my 'cvsup', and expect this is true for
freebsd-release as well?

>     *READ*   /usr/src/UPDATING
>          [every time, just to make sure there are no special
>           issues with this specific snapshot of freebsd]
>     mergemaster -p
      ^^^^^^^^^^^^^^-- This is new to me - thanks.
>     make buildworld
>     make buildkernel
>     make installkernel
>          [reboot, to make sure the kernel at least boots up]
>     get into single user mode
>          [usually by booting into it in the above step,
>           although I often cheat on that...]
>     make installworld
>     mergemaster
>          [go thru all the questions from mergemaster]
>     reboot into your new world.

That's exactly what I wanted to know.
 
> You do not want to install the new world before you know whether
> the kernel that matches it will work on your hardware.  If the
> kernel does *not* work (and I have had cases where this happens,
> although not very often on freebsd-stable), then you can easily
> back out by just renaming the kernel-related files in '/'.
> 
> If you have done the installworld and *then* find out the new
> kernel does not work, well, you'll be in a world of hurt.
  and that's a _bad_thing(TM)_ in my book.
 ...

> The documented order is the order you should stick with, because
> it's the only order that we actively *try* to keep working.  If
> some other order happens to work, feel free to use it, but do not
> come complaining to us for the update where that alternate order
> does NOT happen to work...

Exactly what I wanted to know. Thanks again.

 - John Mills


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?Pine.LNX.4.21.0207170928360.4674-100000>