Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Jul 2022 17:09:23 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   About zfs upgrade
Message-ID:  <CAFDf7U%2Bm1P5o56%2BefS1WVDoiVWwuCmZJW57ZTBOQcTpTX6yKog@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
--000000000000536d4805e3ee5c5b
Content-Type: text/plain; charset="UTF-8"

Hello,

I'm about to upgrade zfs pool and I need to know the command to update boot
code on my efi config:
---
 gpart show
=>        40  2000409184  nvd0  GPT  (954G)
          40      532480     1  efi  (260M)
      532520        2008        - free -  (1.0M)
      534528     8388608     2  freebsd-swap  (4.0G)
     8923136  1991485440     3  freebsd-zfs  (950G)
  2000408576         648        - free -  (324K)
---
Handbook says:
gpart bootcode -p /boot/boot1.efifat -i 1 ada1

Should I use:
gpart bootcode -p /boot/boot1.efifat -i 1 nvd0p1 ?

Thanks,

Nuno Teixeira

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

<div dir=3D"ltr"><div><div><div>Hello,<br><br></div><div>I&#39;m about to u=
pgrade zfs pool and I need to know the command to update boot code on my ef=
i config:</div><div>---</div><div>=C2=A0gpart show<br>=3D&gt; =C2=A0 =C2=A0=
 =C2=A0 =C2=A040 =C2=A02000409184 =C2=A0nvd0 =C2=A0GPT =C2=A0(954G)<br>=C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 40 =C2=A0 =C2=A0 =C2=A0532480 =C2=A0 =C2=A0=
 1 =C2=A0efi =C2=A0(260M)<br>=C2=A0 =C2=A0 =C2=A0 532520 =C2=A0 =C2=A0 =C2=
=A0 =C2=A02008 =C2=A0 =C2=A0 =C2=A0 =C2=A0- free - =C2=A0(1.0M)<br>=C2=A0 =
=C2=A0 =C2=A0 534528 =C2=A0 =C2=A0 8388608 =C2=A0 =C2=A0 2 =C2=A0freebsd-sw=
ap =C2=A0(4.0G)<br>=C2=A0 =C2=A0 =C2=A08923136 =C2=A01991485440 =C2=A0 =C2=
=A0 3 =C2=A0freebsd-zfs =C2=A0(950G)<br>=C2=A0 2000408576 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 648 =C2=A0 =C2=A0 =C2=A0 =C2=A0- free - =C2=A0(324K)</div><div>-=
--</div><div>Handbook says:</div><div>gpart bootcode -p /boot/boot1.efifat =
-i 1 ada1</div><div><br></div><div>Should I use:</div>gpart bootcode -p /bo=
ot/boot1.efifat -i 1 nvd0p1 ?<br><br></div>Thanks,<br><br></div>Nuno Teixei=
ra<br></div>

--000000000000536d4805e3ee5c5b--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2Bm1P5o56%2BefS1WVDoiVWwuCmZJW57ZTBOQcTpTX6yKog>