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>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000c30d860613c0a313 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Mar 15, 2024, 10:21=E2=80=AFPM 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=E2=80=AFPM Warner Losh <imp@bsdimp.com> wrot= e: > > > > > > > > On Fri, Mar 15, 2024, 3:47=E2=80=AFPM George Michaelson <ggm@algebras.o= rg> > 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 > --000000000000c30d860613c0a313 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto"><div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr" = class=3D"gmail_attr">On Fri, Mar 15, 2024, 10:21=E2=80=AFPM George Michaels= on <<a href=3D"mailto:ggm@algebras.org">ggm@algebras.org</a>> wrote:<= br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde= r-left:1px #ccc solid;padding-left:1ex">how "generic" is the init= ial 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'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.=C2=A0 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'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></blockquot= e></div></div><div dir=3D"auto"><br></div><div dir=3D"auto"><br></div><div = dir=3D"auto">When you boot FreeBSD,=C2=A0 what does efibootmgr -v say?</div= ><div dir=3D"auto"><br></div><div dir=3D"auto">Warner</div><div dir=3D"auto= "><br></div><div dir=3D"auto"><div class=3D"gmail_quote"><blockquote class= =3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd= ing-left:1ex"> -G<br> <br> <br> On Sat, Mar 16, 2024 at 1:59=E2=80=AFPM Warner Losh <<a href=3D"mailto:i= mp@bsdimp.com" target=3D"_blank" rel=3D"noreferrer">imp@bsdimp.com</a>> = wrote:<br> ><br> ><br> ><br> > On Fri, Mar 15, 2024, 3:47=E2=80=AFPM George Michaelson <<a href=3D= "mailto:ggm@algebras.org" target=3D"_blank" rel=3D"noreferrer">ggm@algebras= .org</a>> wrote:<br> >><br> >> I feel in a bit of a corner case window regarding UEFI boot config= uration, multiple disks, and zfs. Ignorance is not bliss.<br> >><br> >> Probably it's UEFI clue more than FreeBSD clue I lack, but the= target OS is a zfs backed FreeBSD.<br> >><br> >> Which ML is the best place to ask? Here?<br> ><br> ><br> > Here. What's your question?<br> ><br> > Warner<br> ><br> >> G<br> </blockquote></div></div></div> --000000000000c30d860613c0a313--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpF7W2=P0AFLz16TnQY=yYNDi31eH1maS4wxi2Sc7PODQ>