Date: Tue, 13 Aug 2024 10:20:03 +0300 From: Daniel Braniss <danny@cs.huji.ac.il> To: Cy Schubert <Cy.Schubert@cschubert.com> Cc: freebsd-hackers <hackers@freebsd.org> Subject: Re: FreeBSD 14.1 and UEFI boot ignores bootme flag Message-ID: <DB12D453-C2A5-405A-87B7-31A335516AA0@cs.huji.ac.il> In-Reply-To: <20240813071327.145CC75@slippy.cwsent.com> References: <0C0CF611-4C88-4EF1-9F9A-3A35D5236854@cs.huji.ac.il> <20240813065020.8084E6D@slippy.cwsent.com> <9DEEEE5F-EC21-4CC5-BC5F-A10162D98365@cs.huji.ac.il> <20240813070253.81DF5DD@slippy.cwsent.com> <20240813071327.145CC75@slippy.cwsent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
BINGO! btw, same here, I use UFS for root (or diskless) and zfs for al the = rest i.e: /var thanks 10^6! danny > On 13 Aug 2024, at 10:13, Cy Schubert <Cy.Schubert@cschubert.com> = wrote: >=20 > If your rootfs is ZFS then you need to use loader.efi with the caveat = that=20 > it doesn't honour the bootme flag. >=20 > My UEFI systems are clones of my original systems. I use UFS root/usr = with=20 > ZFS for everything else. gptboot.efi and loader.efi work equally as = well in=20 > my scenario. >=20 >=20 > --=20 > Cheers, > Cy Schubert <Cy.Schubert@cschubert.com> > FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org > NTP: <cy@nwtime.org> Web: https://nwtime.org >=20 > e^(i*pi)+1=3D0 >=20 >=20 > In message <20240813070253.81DF5DD@slippy.cwsent.com>, Cy Schubert = writes: >> I don't think loader.efi honours the bootme flag. Try the gptboot.efi=20= >> binary instead. It does honour the various GPT flags. >>=20 >>=20 >> --=20 >> Cheers, >> Cy Schubert <Cy.Schubert@cschubert.com> >> FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org >> NTP: <cy@nwtime.org> Web: https://nwtime.org >>=20 >> e^(i*pi)+1=3D0 >>=20 >>=20 >> In message <9DEEEE5F-EC21-4CC5-BC5F-A10162D98365@cs.huji.ac.il>, = Daniel=20 >> Braniss >> writes: >>> hi Cy, >>> the boot code is the the latest, copied /boot/loader.efi to =3D >>> /mnt/EFI/BOOT/BOOTX64.efi >>>=20 >>>> On 13 Aug 2024, at 09:50, Cy Schubert <Cy.Schubert@cschubert.com> =3D= >>> wrote: >>>> =3D20 >>>> In message <0C0CF611-4C88-4EF1-9F9A-3A35D5236854@cs.huji.ac.il>, =3D >>> Daniel=3D20 >>>> Braniss >>>> writes: >>>>> hi, >>>>> my disk has 2 root partitions, and once I switched to UEFI boot, = =3D >>> =3D3D >>>>> can=3D3DE2=3D3D80=3D3D99t boot the second partition: >>>>> (the hardware is a bit old, Dell PowerEdge R710 with bios from =3D3D= >>>>> 05/22/2018) >>>>> =3D20 >>>>> store-08# gpart show -l >>>>> =3D3D3D> 40 5857345456 mfid0 GPT (2.7T) >>>>> 40 81920 1 efi (40M) >>>>> 81960 8388608 2 root (4.0G) >>>>> 8470568 8388608 3 root0 [bootme] (4.0G) >>>>> 16859176 8388608 4 d1 (4.0G) >>>>> 25247784 8388608 5 d2 (4.0G) >>>>> 33636392 5823709104 6 zfs (2.7T) >>>>> =3D20 >>>>> it only boots from partition 2. >>>>> =3D20 >>>>> so is there any magic? >>>> =3D20 >>>> Which bootcode do you have in your efi partition? >>>> =3D20 >>>> =3D20 >>>> --=3D20 >>>> Cheers, >>>> Cy Schubert <Cy.Schubert@cschubert.com> >>>> FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org >>>> NTP: <cy@nwtime.org> Web: https://nwtime.org >>>> =3D20 >>>> e^(i*pi)+1=3D3D0 >>>> =3D20 >>>> =3D20 >>=20 >=20 >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB12D453-C2A5-405A-87B7-31A335516AA0>