Re: Where to get clue about UEFI and zfs boot clue?

From: Warner Losh <imp_at_bsdimp.com>
Date: Sat, 16 Mar 2024 05:45:51 UTC
On Fri, Mar 15, 2024, 10:21 PM George Michaelson <ggm@algebras.org> wrote:

> how "generic" is the initial boot selector? If I have one already
> which points to debian on the same MMC, is there any point installing
> the FreeBSD one? the generic one I have chain loads what looks like
> grub. I want to minimise damage to the MMC and so don't want to
> destroy this state if I can, but in the final analysis I can, if the
> best path is to recreate an EFI partition of known quality.
>
> the one I have (zimablade) is able to boot the SSD with a FreeBSD
> install if I break to F11 so there obviously is a bootable media
> reference visible at EFI time but I cannot work out how to make it the
> autoboot target. That in itself might be the reason to install the
> FreeBSD one.  Do I e.g. have to put something into the MMC backed EFI
> msdos partition, and boot to that? Is that a loader, or a kernel? How
> does it find the (ZFS) FreeBSD partition I want to be the live boot?
> (ie is the FreeBSD /boot partition going to have to live on the MMC
> itself)
>
> thats about it for now. FreeBSD on the zimablade (quad core, 16GB
> DDR3L, fanless, small box with a PCIx2 breakout connector and 2xSATA
> on the main board) works fine. I'm booting into TrueNAS core so its
> FreeBSD 13.1 and working fine. Every mainboard device seems to be
> recognized and the 4 port SATA card I am running on the PCI connector
> works fine. zimablade wants you to run some debian hosted suite, I
> prefer to be in BSD. That said, it does have VMs and docker.
>


When you boot FreeBSD,  what does efibootmgr -v say?

Warner

-G
>
>
> On Sat, Mar 16, 2024 at 1:59 PM Warner Losh <imp@bsdimp.com> wrote:
> >
> >
> >
> > On Fri, Mar 15, 2024, 3:47 PM George Michaelson <ggm@algebras.org>
> wrote:
> >>
> >> I feel in a bit of a corner case window regarding UEFI boot
> configuration, multiple disks, and zfs. Ignorance is not bliss.
> >>
> >> Probably it's UEFI clue more than FreeBSD clue I lack, but the target
> OS is a zfs backed FreeBSD.
> >>
> >> Which ML is the best place to ask? Here?
> >
> >
> > Here. What's your question?
> >
> > Warner
> >
> >> G
>