BE and loader integration

Trond Endrestøl trond.endrestol at ximalas.info
Mon Oct 21 15:52:19 UTC 2019


On Mon, 21 Oct 2019 22:44+0700, Victor Sudakov wrote:

> Trond Endrestøl wrote:
> > 
> > > BTW the boot menu BE selection does not work properly anyway. I've found some
> > > combinations of BEs and loader options which lead to an unbootable
> > > system: http://admin.sibptus.ru/~vas/bad_be.png
> > > Maybe it's sysutils/beadm's fault incorrectly creating BEs, whatever.
> > 
> > For some reason /dev failed to mount. Normally, the kernel 
> > automatically mounts / read-only and /dev read-write. The former is 
> > upgraded to read-write by the rc scripts during multiuser boot.
> 
> I think I know the reason: it's several BEs trying to mount on top of
> one another, again. I've seen this already in the pre-zfsbe times.
> 
> > 
> > It could be a bug in 11.3.
> 
> It actually seems that the bug
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208601 is not really
> fixed. 
> 
> > 
> > The menus are somewhat improved in stable/12 and head. Here are some 
> > screenshots from a VM I just booted, it runs head from February(!):
> > 
> >   https://ximalas.info/~trond/FreeBSD-head-BE-menu-2019-feb/
> 
> Yes, it looks more logical though the BE punches the Daemon in the nose.
> 
> > 
> > That dark blue colour is my only complaint. It can be a real pain to 
> > read on certain terminals/video adapters.
> 
> Do you use sysutils/beadm or sysutils/beadm-devel? 

No, I roll my own BEs, using:
https://ximalas.info/~trond/create-zfs/canmount/create-and-populate-new-BE.sh

This link is easier to view in a browser:
https://ximalas.info/~trond/create-zfs/canmount/create-and-populate-new-BE.sh.txt

-- 
Trond.


More information about the freebsd-questions mailing list