Date: Mon, 30 May 2022 08:03:09 -0600 From: Warner Losh <imp@bsdimp.com> To: Jeffrey Bouquet <jbtakk@iherebuywisely.com> Cc: current <current@freebsd.org> Subject: Re: Loader can't find /boot/ua/loader.lua on UFS after main-n255828-18054d0220c Message-ID: <CANCZdfpr3iELRk7HQ8k1RndhgR1sA_C%2B5=kNu8pR8=XgeAzn-w@mail.gmail.com> In-Reply-To: <E1nvchZ-0003E5-PV@rmmprod05.runbox> References: <YpQdK70gH%2B%2BZ9ZjA@albert.catwhisker.org> <E1nvchZ-0003E5-PV@rmmprod05.runbox>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000059508005e03b1ee2 Content-Type: text/plain; charset="UTF-8" On Mon, May 30, 2022 at 4:33 AM Jeffrey Bouquet <jbtakk@iherebuywisely.com> wrote: > > > On Sun, 29 May 2022 18:26:03 -0700, David Wolfskill <david@catwhisker.org> > wrote: > > > On Sun, May 29, 2022 at 06:59:34PM -0600, Warner Losh wrote: > > > Sorry for top posting... > > > > > > Did you upgrade your boot blocks? > > > > Thanks for the reply! > > > > Hmmm.... Well, every time I rebuild FreeBSD head, the last step > > just after "make installworld" and before the reboot is: > > > > # gpart bootcode -b /boot/boot /dev/ada0s4 > > > > So *those* get updated. > > > > 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). > > > > Is updating (from head's /boot/bot0) recommended at this point? > > > .... > > > > (And in case it wasn't obvious, I made a silly typo in the Subject; it > > should have read: > > > > | Subject: Re: Loader can't find /boot/lua/loader.lua on UFS after > > | main-n255828-18054d0220c > > > > 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.) > > > > Peace, > > david > > -- > > David H. Wolfskill david@catwhisker.org > > "Putin is a paranoid dictator. Putin must go. He started a senseless war > > and is leading Russia into a ditch." - Egor Polyakov & Alexandra > Miroshnikova > > > > See https://www.catwhisker.org/~david/publickey.gpg for my public key. > > > I've never heard of that. Why isnt it in UPDATING? Re updating boot blocks: It's not a requirement. It's a diagnostic question to see what code we're dealing with. The only time it's been required was the ZFS update to OpenZFS after a zpool upgrade because the latter introduced new features the old boot blocks would reject as being a valid ZFS that it recognized. Warner --00000000000059508005e03b1ee2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">= <div dir=3D"ltr" class=3D"gmail_attr">On Mon, May 30, 2022 at 4:33 AM Jeffr= ey Bouquet <<a href=3D"mailto:jbtakk@iherebuywisely.com">jbtakk@iherebuy= wisely.com</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex"><br> <br> On Sun, 29 May 2022 18:26:03 -0700, David Wolfskill <<a href=3D"mailto:d= avid@catwhisker.org" target=3D"_blank">david@catwhisker.org</a>> wrote:<= br> <br> > On Sun, May 29, 2022 at 06:59:34PM -0600, Warner Losh wrote:<br> > > Sorry for top posting...<br> > > <br> > > Did you upgrade your boot blocks?<br> > <br> > Thanks for the reply!<br> > <br> > Hmmm....=C2=A0 Well, every time I rebuild FreeBSD head, the last step<= br> > just after "make installworld" and before the reboot is:<br> > <br> > # gpart bootcode -b /boot/boot /dev/ada0s4<br> > <br> > So *those* get updated.<br> > <br> > I haven't updated from /boot/boot0 recently (and have a requiremen= t that<br> > whatever is in the MBR is able to boot stable/12, stable/13, and head)= .<br> > <br> > Is updating (from head's /boot/bot0) recommended at this point?<br= > > > ....<br> > <br> > (And in case it wasn't obvious, I made a silly typo in the Subject= ; it<br> > should have read:<br> > <br> > | Subject: Re: Loader can't find /boot/lua/loader.lua on UFS after= <br> > |=C2=A0 main-n255828-18054d0220c<br> > <br> > Sorry: I don't have loader messages showing up on serial console o= n that<br> > machine at this point, so I had hand-typed it from memory and managed = to<br> > elide a letter.)<br> > <br> > Peace,<br> > david<br> > -- <br> > 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 <a href=3D"mailto:davi= d@catwhisker.org" target=3D"_blank">david@catwhisker.org</a><br> > "Putin is a paranoid dictator.=C2=A0 Putin must go. He started a = senseless war<br> > and is leading Russia into a ditch." - Egor Polyakov & Alexan= dra Miroshnikova<br> > <br> > See <a href=3D"https://www.catwhisker.org/~david/publickey.gpg" rel=3D= "noreferrer" target=3D"_blank">https://www.catwhisker.org/~david/publickey.= gpg</a> for my public key.<br> <br> <br> I've never heard of that. Why isnt it in UPDATING?</blockquote><div><br= ></div><div>Re updating boot blocks: It's not a requirement. It's a= diagnostic question to see what code we're dealing with.</div><div>The= only time it's been required was the ZFS update to OpenZFS after a zpo= ol upgrade because the latter</div><div>introduced new features the old boo= t blocks would reject as being a valid ZFS that it recognized.</div><div><b= r></div><div>Warner=C2=A0</div></div></div> --00000000000059508005e03b1ee2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpr3iELRk7HQ8k1RndhgR1sA_C%2B5=kNu8pR8=XgeAzn-w>