Date: Sat, 5 Oct 2013 04:08:02 +0200 From: Polytropon <freebsd@edvax.de> To: Doug Hardie <bc979@lafn.org> Cc: freebsd-questions@freebsd.org Subject: Re: 9.1 - 9.2 upgrade Message-ID: <20131005040802.32af9b73.freebsd@edvax.de> In-Reply-To: <2B420332-D26F-4926-A53A-787B110B0EFE@lafn.org> References: <B5D4B829-3B73-4E5F-BA69-6DFA0F129975@lafn.org> <BCEB7B13-2084-4D4E-9F89-19F29EFBCC54@lafn.org> <62A8B684-0328-42F5-B9E4-D5DF80563D4D@lafn.org> <1bdf3856902efd917ab9d489c8b6e751@dweimer.net> <2B420332-D26F-4926-A53A-787B110B0EFE@lafn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131005040802.32af9b73.freebsd>
