On Thu, Dec 14, 2017 at 11:02 PM, Eugene Grosbein <eu...@grosbein.net>
wrote:

> 15.12.2017 6:50, Warner Losh wrote:
> >
> >
> > On Thu, Dec 14, 2017 at 5:00 PM, Eugene Grosbein <eu...@grosbein.net
> <mailto:eu...@grosbein.net>> wrote:
> >
> >     14.12.2017 23:27, Warner Losh wrote:
> >
> >     >     - zfsloader(8) failing to find any ZFS pool after zfsboot(8)
> successfully
> >     >     loaded and started zfsload(8) from zpool (PR pending, need to
> collect more info)
> >     >
> >     >
> >     > GPT or MBR?
> >
> >     MBR, no GELI used.
> > when you update, you're updating both halves of the loader, right?
>
> I do not get it, what are "halves of the loader"?
> I know zfsboot should be installed in parts but it finds boot pool just
> fine
> and I do not update it. As for zfsloader, I install it with to
> /boot/zfsloader
> with simple "make install" command.


So you are using the old zfsboot then?

And if you didn't do something like:

    dd if=${dst}/boot/zfsboot of=/tmp/zfsboot1 count=1
    gpart bootcode -b /tmp/zfsboo1 ${dev}s${s}
    sysctl kern.geom.debugflags=0x10
    dd if=${dst}/boot/zfsboot iseek=1 seek=1024 of=/dev/${dev}s${s}
    sysctl kern.geom.debugflags=0x0

then you're using the new zfsloader with old zfsboot blocks. Which should
work just fine, but is apparently failing.

Warner
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to