Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2022 07:59:40 +0000 (UTC)
From:      Filippo Moretti <filippomore@yahoo.com>
To:        FreeBSD Current <current@freebsd.org>
Subject:   Re: Loader can't find /boot/ua/loader.lua on UFS after main-n255828-18054d0220c
Message-ID:  <1421847788.4116396.1653897580434@mail.yahoo.com>
In-Reply-To: <AE2261C9-12E5-4DA2-AEA9-43C3E9C4AA2A@me.com>
References:  <YpQdK70gH%2B%2BZ9ZjA@albert.catwhisker.org> <AE2261C9-12E5-4DA2-AEA9-43C3E9C4AA2A@me.com>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_4116395_226965274.1653897580432
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

=20
I have the same issue after installing my custom kernel and I did not run=
=20
gpart bootcode -bIt was never needed before.FilippoIs there a way to recove=
r the system?
    On Monday, May 30, 2022 at 07:41:50 AM GMT+2, Toomas Soome <tsoome@me.c=
om> wrote: =20
=20
=20
> On 30. May 2022, at 04:26, David Wolfskill <david@catwhisker.org> wrote:
>=20
> =EF=BB=BFOn Sun, May 29, 2022 at 06:59:34PM -0600, Warner Losh wrote:
>> Sorry for top posting...
>>=20
>> Did you upgrade your boot blocks?
>=20
> Thanks for the reply!
>=20
> Hmmm....=C2=A0 Well, every time I rebuild FreeBSD head, the last step
> just after "make installworld" and before the reboot is:
>=20
> # gpart bootcode -b /boot/boot /dev/ada0s4
>=20
> So *those* get updated.
>=20
> I haven't updated from /boot/boot0 recently (and have a requirement that
> whatever is in the MBR is able to boot stable/12, stable/13, and head).
>=20
> Is updating (from head's /boot/bot0) recommended at this point?
>> ....
>=20
> (And in case it wasn't obvious, I made a silly typo in the Subject; it
> should have read:
>=20
> | Subject: Re: Loader can't find /boot/lua/loader.lua on UFS after
> |=C2=A0 main-n255828-18054d0220c
>=20
> Sorry: I don't have loader messages showing up on serial console on that
> machine at this point, so I had hand-typed it from memory and managed to
> elide a letter.)
>=20

Does loader_4th have same issue?

Rgds,
Toomas=20

> Peace,
> david
> --=20
> David H. Wolfskill=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 david@catwhisker.org
> "Putin is a paranoid dictator.=C2=A0 Putin must go. He started a senseles=
s war
> and is leading Russia into a ditch." - Egor Polyakov & Alexandra Miroshni=
kova
>=20
> See https://www.catwhisker.org/~david/publickey.gpg for my public key.
 =20
------=_Part_4116395_226965274.1653897580432
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"ydpe2aabfcbyahoo-style-wrap" style=
=3D"font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px=
;"><div></div>
        <div><br></div><div dir=3D"ltr" data-setdir=3D"false">I have the sa=
me issue after installing my custom kernel and I did not run <br></div><div=
 dir=3D"ltr" data-setdir=3D"false">gpart bootcode -b</div><div dir=3D"ltr" =
data-setdir=3D"false">It was never needed before.</div><div dir=3D"ltr" dat=
a-setdir=3D"false">Filippo</div><div dir=3D"ltr" data-setdir=3D"false">Is t=
here a way to recover the system?<br></div>
       =20
        </div><div id=3D"yahoo_quoted_4669657485" class=3D"yahoo_quoted">
            <div style=3D"font-family:'Helvetica Neue', Helvetica, Arial, s=
ans-serif;font-size:13px;color:#26282a;">
               =20
                <div>
                    On Monday, May 30, 2022 at 07:41:50 AM GMT+2, Toomas So=
ome &lt;tsoome@me.com&gt; wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir=3D"ltr"><br clear=3D"none">&gt; On 30. May 20=
22, at 04:26, David Wolfskill &lt;<a shape=3D"rect" ymailto=3D"mailto:david=
@catwhisker.org" href=3D"mailto:david@catwhisker.org">david@catwhisker.org<=
/a>&gt; wrote:<br clear=3D"none">&gt; <br clear=3D"none">&gt; =EF=BB=BFOn S=
un, May 29, 2022 at 06:59:34PM -0600, Warner Losh wrote:<br clear=3D"none">=
&gt;&gt; Sorry for top posting...<br clear=3D"none">&gt;&gt; <br clear=3D"n=
one">&gt;&gt; Did you upgrade your boot blocks?<br clear=3D"none">&gt; <br =
clear=3D"none">&gt; Thanks for the reply!<br clear=3D"none">&gt; <br clear=
=3D"none">&gt; Hmmm....&nbsp; Well, every time I rebuild FreeBSD head, the =
last step<br clear=3D"none">&gt; just after "make installworld" and before =
the reboot is:<br clear=3D"none">&gt; <br clear=3D"none">&gt; # gpart bootc=
ode -b /boot/boot /dev/ada0s4<br clear=3D"none">&gt; <br clear=3D"none">&gt=
; So *those* get updated.<br clear=3D"none">&gt; <br clear=3D"none">&gt; I =
haven't updated from /boot/boot0 recently (and have a requirement that<br c=
lear=3D"none">&gt; whatever is in the MBR is able to boot stable/12, stable=
/13, and head).<br clear=3D"none">&gt; <br clear=3D"none">&gt; Is updating =
(from head's /boot/bot0) recommended at this point?<br clear=3D"none">&gt;&=
gt; ....<br clear=3D"none">&gt; <br clear=3D"none">&gt; (And in case it was=
n't obvious, I made a silly typo in the Subject; it<br clear=3D"none">&gt; =
should have read:<br clear=3D"none">&gt; <br clear=3D"none">&gt; | Subject:=
 Re: Loader can't find /boot/lua/loader.lua on UFS after<br clear=3D"none">=
&gt; |&nbsp; main-n255828-18054d0220c<br clear=3D"none">&gt; <br clear=3D"n=
one">&gt; Sorry: I don't have loader messages showing up on serial console =
on that<br clear=3D"none">&gt; machine at this point, so I had hand-typed i=
t from memory and managed to<br clear=3D"none">&gt; elide a letter.)<br cle=
ar=3D"none">&gt; <br clear=3D"none"><br clear=3D"none">Does loader_4th have=
 same issue?<br clear=3D"none"><br clear=3D"none">Rgds,<br clear=3D"none">T=
oomas <div class=3D"yqt6618709319" id=3D"yqtfd71129"><br clear=3D"none"><br=
 clear=3D"none">&gt; Peace,<br clear=3D"none">&gt; david<br clear=3D"none">=
&gt; -- <br clear=3D"none">&gt; David H. Wolfskill&nbsp; &nbsp; &nbsp; &nbs=
p; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &n=
bsp; <a shape=3D"rect" ymailto=3D"mailto:david@catwhisker.org" href=3D"mail=
to:david@catwhisker.org">david@catwhisker.org</a><br clear=3D"none">&gt; "P=
utin is a paranoid dictator.&nbsp; Putin must go. He started a senseless wa=
r<br clear=3D"none">&gt; and is leading Russia into a ditch." - Egor Polyak=
ov &amp; Alexandra Miroshnikova<br clear=3D"none">&gt; <br clear=3D"none">&=
gt; See <a shape=3D"rect" href=3D"https://www.catwhisker.org/~david/publick=
ey.gpg " target=3D"_blank">https://www.catwhisker.org/~david/publickey.gpg =
</a>for my public key.<br clear=3D"none"></div></div></div>
            </div>
        </div></body></html>
------=_Part_4116395_226965274.1653897580432--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1421847788.4116396.1653897580434>