Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Feb 2021 20:12:08 -0800
From:      Michael Sierchio <kudzu@tenebras.com>
To:        Garance A Drosehn <gad@freebsd.org>
Cc:        Janos Dohanics <web@3dresearch.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Panic after updating from source
Message-ID:  <CAHu1Y72SAP92M0xB189U2t5%2B%2BFm0DAvj3o3XNFxUvKD_uuBUQg@mail.gmail.com>
In-Reply-To: <FE16C41A-1ECC-46B9-A8B1-B7B1EDC1E411@FreeBSD.org>
References:  <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> <CAHu1Y73iJi=A9vwzOWM90zb2uD1pU9VZfwRJLdeZ6AhRF0nb9A@mail.gmail.com> <20210228120313.cdb53cab429a38fdf9817d0d@3dresearch.com> <CAHu1Y70DCR4z8D85ixc2z2GwwY%2BhsK263QsJuq--BQCmByA9GA@mail.gmail.com> <FE16C41A-1ECC-46B9-A8B1-B7B1EDC1E411@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 28, 2021 at 3:52 PM Garance A Drosehn <gad@freebsd.org> wrote:

> make buildworld && make kernel && make installworld && reboot
>
> that always works for me when following a -STABLE branch.
>
> It may happen to work for you many times in a row, until the day
> it does not work and then you're screwed. The official instructions
> state that you should always reboot into single-user mode before
> doing 'make installworld'.

It's not possible to boot into single-user if you're building from
source and installing in EC2, for example.  The steps above are
guaranteed to work under the conditions described =E2=80=93 tracking a rele=
ase
under -STABLE with git.   Well, guaranteed to work with a nohup or

# cd /usr/src
# ( make buildworld && make kernel && make installworld && reboot ) >&
make.out &

Whereas booting in multiuser with a new kernel and old userland can
cause some difficulties =E2=80=93 though the install chain should still wor=
k.

I've only been building from source since 1.0 ;-). And in AWS since
before instance types supported HVM.  Now, if you're trying to to a
major release upgrade =E2=80=93 I haven't tried with the above approach, bu=
t
booting to single user is still not an option in EC2.

=E2=80=93 M

> --
> Garance Alistair Drosehn =3D drosih@rpi.edu
> Lead Developer @rpi and gad@FreeBSD.org
> Rensselaer Polytechnic Institute; Troy, NY; USA



--=20

"Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is
no wiser, but an intelligent person requires only two thousand five
hundred."

- The Mah=C4=81bh=C4=81rata



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y72SAP92M0xB189U2t5%2B%2BFm0DAvj3o3XNFxUvKD_uuBUQg>