Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2023 09:39:37 -0700
From:      Xin LI <delphij@gmail.com>
To:        mike tancsa <mike@sentex.net>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: RELENG_13 to 14 upgrade fail
Message-ID:  <CAGMYy3sL%2B2BikO%2BwGakues3aFnUCL=GoEG%2BLdMVF_0gZknpBEg@mail.gmail.com>
In-Reply-To: <0c19b8a6-119c-4f5d-af26-d625afc7afec@sentex.net>
References:  <0c19b8a6-119c-4f5d-af26-d625afc7afec@sentex.net>

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

On Thu, Nov 2, 2023 at 9:28=E2=80=AFAM mike tancsa <mike@sentex.net> wrote:

> On one of my VMs that I upgraded from RELENG_13 to RELENG_14, I forgot
> to update the boot loader so now at bootup, I have
> ZFS: unsupported feature: com.klarasystems:vdev_zaps_v2
>
> Can't find /boot/zfsloader
>
> What is the best way to recover from this ? Its a raw vm image. gpart is
> p1=3Dfreebsd-boot, p2=3Dfreebsd-swap,p3=3Dfreebsd-zfs
>
> I was thinking perhaps start up a second vm thats RELENG_14, mdconfig
> the image, and then what do I need to do ? Just
>
> gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 md0 ?
>

Yes, note that if the host is running FreeBSD you can mdconfig the image on
the host directly and do it on the host too.

BTW. pmbr is very simple and doesn't change that often, updating gptzfsboot
should be sufficient.

Cheers,

--0000000000004b9cee06092e09a4
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_default" style=3D"fon=
t-family:monospace,monospace"><br></div></div><br><div class=3D"gmail_quote=
"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Nov 2, 2023 at 9:28=E2=80=
=AFAM mike tancsa &lt;<a href=3D"mailto:mike@sentex.net">mike@sentex.net</a=
>&gt; 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">On =
one of my VMs that I upgraded from RELENG_13 to RELENG_14, I forgot <br>
to update the boot loader so now at bootup, I have<br>
ZFS: unsupported feature: com.klarasystems:vdev_zaps_v2<br>
<br>
Can&#39;t find /boot/zfsloader<br>
<br>
What is the best way to recover from this ? Its a raw vm image. gpart is <b=
r>
p1=3Dfreebsd-boot, p2=3Dfreebsd-swap,p3=3Dfreebsd-zfs<br>
<br>
I was thinking perhaps start up a second vm thats RELENG_14, mdconfig <br>
the image, and then what do I need to do ? Just<br>
<br>
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 md0 ?<br>
</blockquote><div><br></div><div><div class=3D"gmail_default" style=3D"font=
-family:monospace,monospace">Yes, note that if the host is running FreeBSD =
you can mdconfig the image on the host directly and do it on the host too.<=
/div></div><div class=3D"gmail_default" style=3D"font-family:monospace,mono=
space"><br></div><div class=3D"gmail_default" style=3D"font-family:monospac=
e,monospace">BTW. pmbr is very simple and doesn&#39;t change that often, up=
dating gptzfsboot should be sufficient.</div><div class=3D"gmail_default" s=
tyle=3D"font-family:monospace,monospace"><br></div><div class=3D"gmail_defa=
ult" style=3D"font-family:monospace,monospace">Cheers,</div></div></div>

--0000000000004b9cee06092e09a4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGMYy3sL%2B2BikO%2BwGakues3aFnUCL=GoEG%2BLdMVF_0gZknpBEg>