Date: Sun, 18 Jul 2021 00:52:05 +0900 From: skyblue <zyxjulep@gmail.com> To: freebsd-users-jp@freebsd.org Subject: [FreeBSD-users-jp 96832] Re: =?iso-2022-jp?b?WkZTGyRCJCxGTUEzGyhCYm9vdBskQiQ3JEokLyRKGyhC?= =?iso-2022-jp?b?GyRCJGokXiQ3JD8bKEI=?= Message-ID: <60f2fca8.1c69fb81.68ec9.af9a@mx.google.com> In-Reply-To: <CABTq=pt_wHS4=CEJvh_JywEaJ4WbzMsaYsgowU7zoNiXuyKBSw@mail.gmail.com> References: <CABTq=pt_wHS4=CEJvh_JywEaJ4WbzMsaYsgowU7zoNiXuyKBSw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
$BX)B<$G$9!#(B $BEvJ}!"$?$$$F$$$O(B ufs $B$r;HMQ$7$F$$$k$N$G!"(Bzfs $B$K4X$7$F>\$7$/$J(B $B$$$N$G$9$,!"$A$g$C$H5$$K$J$kE@$,$"$j$^$9!#(B On Mon, 5 Jul 2021 19:47:28 +0900 Hideo Kuwabara <kuwa@superconnect.or.jp> wrote: > $B%O!<%I%G%#%9%/$OF~$lBX$($?$P$+$j$J$N$G!"%O!<%I$NITNI$G$O$J$$$H;W$$$^$9!#(B > $B>/$7A0$K!"(B installworld, installkernel $B$G(B 11.4p4 $B$GF0$+$7$F$$$^$7$?!#(B /usr/src/UPDATING $B$N(B 'ZFS notes' $B$O$*FI$_$K$J$i$l$?$G$7$g$&$+!#(B > ZFS notes > --------- > When upgrading the boot ZFS pool to a new version, always follow > these two steps: > > 1.) recompile and reinstall the ZFS boot loader and boot block > (this is part of "make buildworld" and "make installworld") > > 2.) update the ZFS boot block on your boot drive > > The following example updates the ZFS boot block on the first > partition (freebsd-boot) of a GPT partitioned drive ada0: > "gpart bootcode -p /boot/gptzfsboot -i 1 ada0" > > Non-boot pools do not need these updates. $B62$i$/!"(Binstallworld $B$ND>8e$"$?$j$K!"(B > "gpart bootcode -p /boot/gptzfsboot -i 1 ada0" $B$H!"(Bboot block $B$r99?7$9$k:n6H$,I,?\$N$h$&$K=q$$$F$"$j$^$9!#(B $B2f$,2H$G$ODI;n$N%F%9%H$,=PMh$J$$8=>u$G$9!#(B $B$3$A$i$N4*0c$$$G$7$?$i!"30$7$F$$$kH&$J$N$G!"$4MF<O$/$@$5$$!#(B $B$J$*!"Ev3:$NCm5-$O!"(B11.4 $B$H(B 13.0 $B$G$O!"4v$i$+:90[$,$"$j$^$9!#(B --- /usr/src/UPDATING 2020-06-12 20:48:06.000000000 +0900 +++ /y2/UPDATING-fb13.0-p3 2021-04-09 09:24:00.000000000 +0900 @@ -1707,9 +2268,11 @@ 2.) update the ZFS boot block on your boot drive - The following example updates the ZFS boot block on the first - partition (freebsd-boot) of a GPT partitioned drive ada0: - "gpart bootcode -p /boot/gptzfsboot -i 1 ada0" + The following example updates the ZFS boot block on the + freebsd-boot partition of a GPT partitioned drive ada0: + "gpart bootcode -p /boot/gptzfsboot -i $N ada0" + The value $N will typically be 1 (if booting from BIOS) or 2 (if + booting from EFI). 13.0 $B$G$O!"$$$o$f$k(B legacy BIOS $B$H(B UEFI $B$G$OJL$N;XDj$r$9$k$h$&$K(B $B5-=R$5$l$F$$$^$9!#(B On Mon, 5 Jul 2021 19:47:28 +0900 Hideo Kuwabara <kuwa@superconnect.or.jp> wrote: > $B7,86$H?=$7$^$9!#(B > > FreeBSD11.4 p4 $B$K$7$F;C$/$7$?$iFMA3(Bboot$B$7$J$/$J$j$^$7$?!#(B > > > Attempting Boot From Hard Drive (C:) > ZFS: i/o error - all block copies unavaillavle > ZFS: cat't read MOS of pool zroot > gptzfsboot: failed to mount default pool zroot > > FreeBSD/x86 boot > > $BI|5l$N%R%s%H$rD:$1$l$P$H;W$$$^$9!#(B > > $B%O!<%I%G%#%9%/$OF~$lBX$($?$P$+$j$J$N$G!"%O!<%I$NITNI$G$O$J$$$H;W$$$^$9!#(B > $B>/$7A0$K!"(B installworld, installkernel $B$G(B 11.4p4 $B$GF0$+$7$F$$$^$7$?!#(B > > USB$B$G(Bboot$B$7$F$b!"(Bzpool $B$O8+$($^$;$s$G$7$?!#(B > $B$=$3$G!"(B zpool import zroot $B$7$^$7$?$,(B $B$O$M$i$l(B $B;X<($K=>$C$F(B > zpool import -f zroot $B$7$?$i(B zpool $B$O@5>o$K8+$($k$h$&$K$J$j!"(B > $B<jF0$G%^%&%s%H$9$k$HCf?H$O@5$7$/8+$($^$9$,!"%V!<%H$G$-$^$;$s!#(B > $B2?$+$*<v$$$,I,MW$G$7$g$&$+!)(B -- $BX)B<@.0l(B
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60f2fca8.1c69fb81.68ec9.af9a>