freebsd at edvax.de
Sun Feb 6 22:46:13 UTC 2011
On Sun, 6 Feb 2011 12:21:02 -0600, Adam Vande More <amvandemore at gmail.com> wrote:
> On Sun, Feb 6, 2011 at 12:10 PM, Robert Fitzpatrick <robert at 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
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).
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").
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions