Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 2013 19:42:15 -0700
From:      Doug Hardie <bc979@lafn.org>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 9.1 - 9.2 upgrade
Message-ID:  <B01899BC-6E07-450F-AB74-A2EC20011F0D@lafn.org>
In-Reply-To: <20131005040802.32af9b73.freebsd@edvax.de>
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> <20131005040802.32af9b73.freebsd@edvax.de>

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

On 4 October 2013, at 19:08, Polytropon <freebsd@edvax.de> wrote:

> On Fri, 4 Oct 2013 18:58:52 -0700, Doug Hardie wrote:
>> The exact sequence was:
>>=20
>> Step 1:  freebsd-update from 9.1 to 9.2
>=20
> Have you verified in /etc/freebsd-update.conf that "src"
> is definitely part of what should be updated?

System is not bootable - can't verify anything=85

>=20
>=20
>=20
>> Step 2:  make buildworld
>> Step 3:  make build_kernel KERNCONF=3DLAFN
>> Step 4:  make install_kernel KERNCONF=3DLAFN
>=20
> I assume the correct targets "buildkernel" and "installkernel"
> have been used. ;-)
>=20

Yes

>=20
>=20
>> Step 5:  reboot
>=20
> Attention: Into single-user mode.

Not possible since the system is located over 100 miles away.  =
Everything has to be done via remote console.


>=20
>=20
>=20
>> Step 6:  mergemaster -p
>> Step 7:  make installworld
>> Step 8:  mergemaster -i
>> Step 9:  make delete-old
>> Step 10:  reboot
>=20
> Into multi-user mode again.
>=20
>=20
>=20
>> oops, something went wrong..
>>=20
>> After step 5, uname -a still showed 9.2 but now it listed the
>> kernel I built rather than generic.
>=20
> 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:
>=20
> 1.  `cd /usr/src'       (or to the directory containing your source =
tree).
> 2.  `make buildworld'
> 3.  `make buildkernel KERNCONF=3DYOUR_KERNEL_HERE'     (default is =
GENERIC).
> 4.  `make installkernel KERNCONF=3DYOUR_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)
>=20
>=20
> --=20
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B01899BC-6E07-450F-AB74-A2EC20011F0D>