Re: ZFS BE not booting

From: Andrey Fesenko <f0andrey_at_gmail.com>
Date: Thu, 28 May 2020 18:41:25 +0300
On Thu, May 28, 2020 at 5:26 PM marco
<marco+freebsd-current_at_lordsith.net> wrote:
>
> On Thu, May 28, 2020 at 07:56:10AM +0000, you (marco) sent the following to [freebsd-current] :
> > make[1]: stopped in /usr/src
> > *** [installworld] Error code 2
> >
> > make: stopped in /usr/src
> >
> > make: stopped in /usr/src
> >
> > Not sure how I ended up in that situation exactly.
> > Think I'm going to destroy that r360723 BE for now and create a new one
> > for a later revision and do the build world, kernel and install kernel
> > dance and will make notes of all the steps I've taken should the update
> > fail at some point.
> >
>
> I decided creating a new BE for r361307 and am now running that revision
> using the following steps:
>
> - destroyed the BE
> - created a new one for r361307 and activated it
> - rebooted
> - updated /usr/src to r361307
> - make buildworld
> - make buildkernel
> - make installkernel
> - portsnap fetch update
> - make reinstall of graphics/drm-current-kmod
> - mergemaster -Fp
> - reboot
> - make installworld
> - mergemaster -Fi
> - make delete-old
> - final reboot
>
> [~] bectl list -aDs
> BE/Dataset/Snapshot                          Active Mountpoint Space Created
>
> r359556
>   zroot/ROOT/r359556                         -      -          440K  2020-04-03 20:05
>     zroot/ROOT/r361307_at_2020-05-28-07:40:34-0 -      -          6.35G 2020-05-28 07:40
>
> r361307
>   zroot/ROOT/r361307                         NR     /          19.7G 2020-05-28 07:40
>   r361307_at_2020-05-28-07:40:34-0              -      -          6.35G 2020-05-28 07:40
>

too more reboot

make buildworld
make buildkernel
beadm create xxx
beadm mount xxx /mnt
make installkernel DESTDIR=/mnt
mergemaster -Fp -D /mnt
make installworld DESTDIR=/mnt
mergemaster -Fi -D /mnt
make delete-old DESTDIR=/mnt
make delete-old-libs DESTDIR=/mnt
make reinstall of graphics/drm-current-kmod (add key destdir)
beadm umount xxx
beadm activate xxx
reboot
Received on Thu May 28 2020 - 13:41:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:24 UTC