loader.efi of 13.1
- Reply: Naomichi Nonaka : "Re: loader.efi of 13.1"
- Reply: Tomoaki AOKI : "Re: loader.efi of 13.1"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Aug 2022 05:39:02 UTC
$B4];3(B@$BG/6b@83h<T(B $B$G$9!#(B $B$=$m$=$m8E$$(B FreeBSD$B$rB46H$7$F!"(B13.1$B$"$?$j$K0\=;$7$h$&$H;W$$!"%$%s%9%H!<(B $B%k$r;n$7$F$_$?$N$G$9$,!"(Bloader.efi $B$N;H$$J}$Gm5$$$F$$$F!";W$&$h$&$J%l(B $B%$%"%&%H$GFbB!%G%#%9%/$K%$%s%9%H!<%k$G$-$:$K$$$^$9!#;d$,D>LL$7$F$$$k>u(B $B67$rC/$K$G$b<B832DG=$J7A$G@bL@$9$k$?$a$K!"<!$N$h$&$J!VN}=,LdBj!W$r9M$((B $B$F$_$^$9!#(B FreeBSD 13.1 $B$N(B loader.efi $B$N;H$$J}$NN}=,LdBj(B $B4{$K$I$3$+$K%$%s%9%H!<%k$7$F$"$k(B13.1$B$N%Q!<%F%#%7%g%s(B(amd, zfs on UEFI$B%^%7%s(B)$B$rJL$N%G%#%9%/$K%3%T!<$7$F(B boot$B2DG=$K$9$k$K$O$I$&$7$?$iNI(B $B$$$+!#(B $B6qBNE*$K$O0J2<$N$h$&$J<j=g$G$d$C$F$_$^$7$?!#(B 1. FreeBSD-13.1-RELEASE-amd64-dvd1.iso $B$r(Bdd $B$G%3%T!<$7$?30IU$1(B USB $B%G%#(B $B%9%/(B(/dev/da0$B!"$D$^$j$O!V%$%s%H!<%k%a%G%#%"!W(B)$B$G5/F0$7!"Cf?H$,6u$N(B USB $B%G%#%9%/(B(/dev/da1)$B$K(B FreeBSD13.1amd$B$r!!(Bzfs $B$G%$%s%9%H!<%k$9$k!#(B $B$3$l$O4JC1$G!"(B # gpart show da1 => 40 78140080 da1 GPT (37G) 40 532480 1 efi (260M) 532520 1024 2 freebsd-boot (512K) 533544 984 - free - (492K) 534528 4194304 3 freebsd-swap (2.0G) 4728832 73410560 4 freebsd-zfs (35G) 78139392 728 - free - (364K) $B$N$h$&$K$J$k!#$3$N(B USB $B%G%#%9%/$r0J2<!V%$%s%9%H!<%k:Q$_%G%#%9%/!W$H8F(B $B$V$3$H$K$7$^$9!#(B 2. $B%$%s%9%H!<%k:Q$_%G%#%9%/$N$_$r30IU$1%G%P%$%9$H$7$F@\B3$7$F%Q%=%3%s(B $B$r5/F0$9$k$H!"L^O@5/F0$9$k!#(B/dev/da0 $B$H$J$k!#(B 3. $BFbB!%G%#%9%/(B(ada0, gpt$B%9%-!<%`(B)$B$N6u$-%Q!<%F%#%7%g%s(B($B;d$N>l9g(B ada0p13)$B$r(B type freebsd-zfs $B$K$7$F!"$=$3$K(Bda0p4$B$N(Bzroot$B$r%3%T!<$9$k!#(B zpool create NEWPOOLNAME ada0p13 zfs send -R zroot@SNAPSHOT | zfs recv -F NEWPOOLNAME 4. (ada0$B$+$i$N(Bboot$B$N=`Hw(B) zpool set bootfs=NEWPOOLNAME/ROOT/default NEWPOOLNAME ($B0BA4$N$?$a(B) ada0 $B$N(B efi $B%Q!<%F%#%7%g%s(B($B;d$N>l9g(B ada0p4)$B$N(B EFI/Boot/bootx64.efi $B$rB`Hr(B /boot/loader.efi $B$r(B ada0 $B$N(B efi $B%Q!<%F%#%7%g%s$N(B EFI/Boot/bootx64.efi $B$K%3%T!<(B zpool export NEWPOOLNAME halt -p $B0J>e$N=`Hw$N85!"$9$Y$F$N30IU$1%G%P%$%9$r30$7$F!"FbB!%G%#%9%/$+$i5/F0$7$F$_$^$9!#(B Consoles: EFI console Reading loader vars from /efi/freebsd/loadef.env Setting currdev disk0p4: FreeBSD/amd64 EFI loader, Revision 1.1 Command line arguments: Image base: 0xd0998000 EFI version: 2.31 $BEy$HI=<($5$l$^$9!#B3$$$F$5$i$K2hLLH>J,$[$I$N%a%C%;!<%8$,I=<($5$l$?8e!"(B ERROR: cannot open /boot/lua/loader.lua: no such file or directory. Type '?' for a list of commands,'help' for more detailed help. OK $B$H$J$C$F;_$^$j$^$9!#$3$3$G(B OK lsdev $B$H$d$k$H(B ada0p12($B8E$$(B FreeBSD$B$G:n$C$?(B zfs) $B$H(B ada0p13($B:#2s:n$C$?(B FreeBSD13.1$B$N(B zfs) $B$K$"$k(B zfs $B$N%W!<%kL>$O(B zfs devices $B$H$7$F@5$7$/I=(B $B<($5$l$^$9!#$3$3$G(B Google $B8!:w$G8+$D$1$?(B https://www.ish.org/blog/?p=968 $B$r<j$,$+$j$K0J2<$N$h$&$K$7$F$_$^$7$?!#(B OK set currdev=zfs:NEWPOOLNAME/ROOT/default: OK unload OK boot $B$9$k$H!"2?$d$i5/F0:n6H$H;W$o$l$kF0:n$,?J9T$7!"2hLL$K$O?'!9I=<($5$l$k$N(B $B$G$9$,!"(B mountroot> $B$G;_$^$C$F$7$^$$$^$9!#IT;W5D$J$3$H$K!"(B mountroot> $B%W%m%s%W%H$N>/$7A0$K(B $B0J2<$N$h$&$KI=<($5$l$F$$$k$N$K(B mount $B$G$-$F$$$^$;$s!#(B Loader variables: vfs.root.mountfrom=zfs:NEWPOOLNAME/default $B$3$3$N:G8e$K%3%m%s(B(:)$B$,L5$$$N$bIT;W5D$G$9!#;EJ}$J$$$N$G(B mountroot> zfs:NEWPOOLNAME/ROOT/default: $B$H$d$C$F$_$^$9$,!"$&$^$/$f$-$^$;$s!#$*<j>e$2$G$9!#(B $B$J$*!">e$N(B OK $B%W%m%s%W%H$N$H$3$m$G>e5-(B ish.org $B$N%V%m%0$K=q$$$F$"$k(B free-module-options $B$d(B start $B$O(B unknown command$B$H$J$k$N$G!"(B 12.x $B$H(B 13.1 $B$G$O(B loader.efi $B$N;EMM$,0c$C(B $B$F$$$k$h$&$G$9!#(B $B$I$J$?$+$*=u$1$/$@$5$$!#(B -------- $B4];3(B $BD>>;(B $B$^$k$d$^(B $B$J$*$^$5(B $B%a!<%k%"%I%l%9!'(B masa@amogha.jp