Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2024 23:45:51 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        George Michaelson <ggm@algebras.org>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: Where to get clue about UEFI and zfs boot clue?
Message-ID:  <CANCZdfpF7W2=P0AFLz16TnQY=yYNDi31eH1maS4wxi2Sc7PODQ@mail.gmail.com>
In-Reply-To: <CAKr6gn0TAFhWDALDRNVwdu9Amt-5EcVc6H7=4uAcwTkDYWh6zg@mail.gmail.com>
References:  <CAKr6gn1Z3%2Bfj1MA7ULEw6kkRxLsAT51aR3u9nQKW0vpH69agOg@mail.gmail.com> <CANCZdfqdDPvDkoP7ffp1xhJWFHoQ07vSYTkoSZD9ADAPS3eLEQ@mail.gmail.com> <CAKr6gn0TAFhWDALDRNVwdu9Amt-5EcVc6H7=4uAcwTkDYWh6zg@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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
>

[-- Attachment #2 --]
<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 15, 2024, 10:21 PM George Michaelson &lt;<a href="mailto:ggm@algebras.org">ggm@algebras.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">how &quot;generic&quot; is the initial boot selector? If I have one already<br>
which points to debian on the same MMC, is there any point installing<br>
the FreeBSD one? the generic one I have chain loads what looks like<br>
grub. I want to minimise damage to the MMC and so don&#39;t want to<br>
destroy this state if I can, but in the final analysis I can, if the<br>
best path is to recreate an EFI partition of known quality.<br>
<br>
the one I have (zimablade) is able to boot the SSD with a FreeBSD<br>
install if I break to F11 so there obviously is a bootable media<br>
reference visible at EFI time but I cannot work out how to make it the<br>
autoboot target. That in itself might be the reason to install the<br>
FreeBSD one.  Do I e.g. have to put something into the MMC backed EFI<br>
msdos partition, and boot to that? Is that a loader, or a kernel? How<br>
does it find the (ZFS) FreeBSD partition I want to be the live boot?<br>
(ie is the FreeBSD /boot partition going to have to live on the MMC<br>
itself)<br>
<br>
thats about it for now. FreeBSD on the zimablade (quad core, 16GB<br>
DDR3L, fanless, small box with a PCIx2 breakout connector and 2xSATA<br>
on the main board) works fine. I&#39;m booting into TrueNAS core so its<br>
FreeBSD 13.1 and working fine. Every mainboard device seems to be<br>
recognized and the 4 port SATA card I am running on the PCI connector<br>
works fine. zimablade wants you to run some debian hosted suite, I<br>
prefer to be in BSD. That said, it does have VMs and docker.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">When you boot FreeBSD,  what does efibootmgr -v say?</div><div dir="auto"><br></div><div dir="auto">Warner</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-G<br>
<br>
<br>
On Sat, Mar 16, 2024 at 1:59 PM Warner Losh &lt;<a href="mailto:imp@bsdimp.com" target="_blank" rel="noreferrer">imp@bsdimp.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Mar 15, 2024, 3:47 PM George Michaelson &lt;<a href="mailto:ggm@algebras.org" target="_blank" rel="noreferrer">ggm@algebras.org</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; I feel in a bit of a corner case window regarding UEFI boot configuration, multiple disks, and zfs. Ignorance is not bliss.<br>
&gt;&gt;<br>
&gt;&gt; Probably it&#39;s UEFI clue more than FreeBSD clue I lack, but the target OS is a zfs backed FreeBSD.<br>
&gt;&gt;<br>
&gt;&gt; Which ML is the best place to ask? Here?<br>
&gt;<br>
&gt;<br>
&gt; Here. What&#39;s your question?<br>
&gt;<br>
&gt; Warner<br>
&gt;<br>
&gt;&gt; G<br>
</blockquote></div></div></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpF7W2=P0AFLz16TnQY=yYNDi31eH1maS4wxi2Sc7PODQ>