Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 May 2020 18:41:25 +0300
From:      Andrey Fesenko <f0andrey@gmail.com>
To:        marco <marco+freebsd-current@lordsith.net>,  freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: ZFS BE not booting
Message-ID:  <CA%2BK5SrOAG4TdSnonRxLnGn6kvypN%2BpFk6d9ThKeY8w%2BrrbH6yQ@mail.gmail.com>
In-Reply-To: <20200528142558.GA96180@lordsith.net>
References:  <20200525085103.GA51695@lordsith.net> <CACNAnaEvb9GeMGXnGdS7ZKa9cj8zDajdpU%2BYVRMd7TCcKarviQ@mail.gmail.com> <20200525201316.GA90171@lordsith.net> <20200525204059.GB90171@lordsith.net> <bed9b3f2-8a0e-e7dc-c14e-eab9418d0ded@freebsd.org> <20200528075610.GA83445@lordsith.net> <20200528142558.GA96180@lordsith.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 28, 2020 at 5:26 PM marco
<marco+freebsd-current@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@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BK5SrOAG4TdSnonRxLnGn6kvypN%2BpFk6d9ThKeY8w%2BrrbH6yQ>