Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Feb 2011 23:46:08 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Adam Vande More <amvandemore@gmail.com>
Cc:        freebsd-questions@freebsd.org, Robert Fitzpatrick <robert@webtent.org>
Subject:   Re: kern.crit messages
Message-ID:  <20110206234608.0151cd9d.freebsd@edvax.de>
In-Reply-To: <AANLkTimhzD2PaDwsmr3j79zAGeTMaw9SPek08kK+Utha@mail.gmail.com>
References:  <4D4ED4BB.5090704@webtent.org> <20110206172037.GA31301@hape.internal> <4D4EE410.7010608@webtent.org> <AANLkTimhzD2PaDwsmr3j79zAGeTMaw9SPek08kK+Utha@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sun, 6 Feb 2011 12:21:02 -0600, Adam Vande More <amvandemore@gmail.com> wrote:
> On Sun, Feb 6, 2011 at 12:10 PM, Robert Fitzpatrick <robert@webtent.org>wrote:
> 
> > Thanks. Can someone confirm these steps as the best way to attempt to
> > get back to a 8.1 kernel I originally installed...
> >
> > 1. update my tag line to 8_1
> > 2. update my source tree
> >
> 
> For step 3, you can something like "make buildkernel  && make installkernel"
> but you may not have to do that if the /boot/kernel.old is a match your
> currect userland as mentioned previously.  simply move it /boot/kernel after
> you have tested it.

Refer to the comment section of /usr/src/Makefile for an
explaination of the correct procedure of the updating
process:

 1.  `cd /usr/src'       (or to the directory containing your source tree).
 2.  `make buildworld'
 3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE'     (default is GENERIC).
 4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is GENERIC).
      [steps 3. & 4. can be combined by using the "kernel" target]
 5.  `reboot'        (in single user mode: boot -s from the loader prompt).
 6.  `mergemaster -p'
 7.  `make installworld'
 8.  `make delete-old'
 9.  `mergemaster'                         (you may wish to use -U or -ai).
10.  `reboot'
11.  `make delete-old-libs' (in case no 3rd party program uses them anymore)

You'll also see what the different make targets are representing
(e. g. make world = "buildworld + installworld, no kernel").




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20110206234608.0151cd9d.freebsd>