9.1 - 9.2 upgrade
Polytropon
freebsd at edvax.de
Sat Oct 5 02:15:52 UTC 2013
On Fri, 4 Oct 2013 18:58:52 -0700, Doug Hardie wrote:
> The exact sequence was:
>
> Step 1: freebsd-update from 9.1 to 9.2
Have you verified in /etc/freebsd-update.conf that "src"
is definitely part of what should be updated?
> Step 2: make buildworld
> Step 3: make build_kernel KERNCONF=LAFN
> Step 4: make install_kernel KERNCONF=LAFN
I assume the correct targets "buildkernel" and "installkernel"
have been used. ;-)
> Step 5: reboot
Attention: Into single-user mode.
> Step 6: mergemaster -p
> Step 7: make installworld
> Step 8: mergemaster -i
> Step 9: make delete-old
> Step 10: reboot
Into multi-user mode again.
> oops, something went wrong..
>
> After step 5, uname -a still showed 9.2 but now it listed the
> kernel I built rather than generic.
Again, verify your configuration. Compare your steps with the
comment header of /usr/src/Makefile which illustrates the
exact procedure; from a (dated) 8-STABLE installation:
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 -i, along with -U or -F).
10. `reboot'
11. `make delete-old-libs' (in case no 3rd party program uses them anymore)
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list