Date: Tue, 13 Aug 2024 11:36:32 -0600 From: Warner Losh <imp@bsdimp.com> To: Tomek CEDRO <tomek@cedro.info> Cc: Daniel Braniss <danny@cs.huji.ac.il>, freebsd-hackers <hackers@freebsd.org> Subject: Re: FreeBSD 14.1 and UEFI boot ignores bootme flag Message-ID: <CANCZdfp56NwHwiOkjxWEnfACyge%2BnHL0CiSnf_NL5MNswpdHTw@mail.gmail.com> In-Reply-To: <CAFYkXjk=W6Lsc9LXsFSuRmffGXwAn0nuiXf5kiu7yDXCumGg5g@mail.gmail.com> References: <0C0CF611-4C88-4EF1-9F9A-3A35D5236854@cs.huji.ac.il> <CANCZdfoqJkcgvG_oS_nQfQABvq8E5sQO7piggj_42Qf=6iA3PA@mail.gmail.com> <DC5F602B-894C-482F-9519-BB057B6DBB10@cs.huji.ac.il> <CAFYkXjk=W6Lsc9LXsFSuRmffGXwAn0nuiXf5kiu7yDXCumGg5g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Tue, Aug 13, 2024 at 11:24 AM Tomek CEDRO <tomek@cedro.info> wrote: > On Tue, Aug 13, 2024 at 3:30 PM Daniel Braniss <danny@cs.huji.ac.il> > wrote: > > (..) > > At some point I succeeded in deleting the dvd, but now I see its back. > > This may be added by BIOS / Setup :-) > > > So how do I add a second boot partition? > > Use efibootmgr as imp suggested and add another entry with desired > boot information, you may then select this new entry as the default. > It will show up in BIOS / Setup menu and you can change order over > there.. but the entry needs to be added with efibootmgr :-) > yea, efibootmgr -k is what's needed. You'll need to specify the partition to boot off of. That's the ideal solution. > No worries I had the same problem too some time ago, also found > reference to bootme flag which did not work (should be removed from > man pages?). Now I sometimes use F8 at boot to select different system > to boot.. but there are good looking menu like bootloaders for UEFI > like reEFInd [1], Clover [2], LibreBoot [3]. Maybe we need some more > documentation on this? :-) > These might work. bootme is only documented in the BIOS loader man page... There's also an unsupported, may go away in the future gptboot.efi that you can use if you really must use this setup.. We use it for bootable USB drives at work, but if it doesn't work for you, I'm not sure I'd fix bugs in it. However, we're moving to ZFS only, and we've found ZFS BEs to be way more flexible and will be the way of the future. As such, I've stopped maintaining gptboot.efi and will likely remove it in the future. Warner > [1] https://sourceforge.net/projects/refind/ > [2] https://sourceforge.net/projects/cloverefiboot/ > [3] https://libreboot.org/ > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > [-- Attachment #2 --] <div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 13, 2024 at 11:24 AM Tomek CEDRO <<a href="mailto:tomek@cedro.info">tomek@cedro.info</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Aug 13, 2024 at 3:30 PM Daniel Braniss <<a href="mailto:danny@cs.huji.ac.il" target="_blank">danny@cs.huji.ac.il</a>> wrote:<br> > (..)<br> > At some point I succeeded in deleting the dvd, but now I see its back.<br> <br> This may be added by BIOS / Setup :-)<br> <br> > So how do I add a second boot partition?<br> <br> Use efibootmgr as imp suggested and add another entry with desired<br> boot information, you may then select this new entry as the default.<br> It will show up in BIOS / Setup menu and you can change order over<br> there.. but the entry needs to be added with efibootmgr :-)<br></blockquote><div><br></div><div>yea, efibootmgr -k is what's needed. You'll need to specify the partition</div><div>to boot off of. That's the ideal solution.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> No worries I had the same problem too some time ago, also found<br> reference to bootme flag which did not work (should be removed from<br> man pages?). Now I sometimes use F8 at boot to select different system<br> to boot.. but there are good looking menu like bootloaders for UEFI<br> like reEFInd [1], Clover [2], LibreBoot [3]. Maybe we need some more<br> documentation on this? :-)<br></blockquote><div><br></div><div>These might work. bootme is only documented in the BIOS loader man</div><div>page...</div><div><br></div><div>There's also an unsupported, may go away in the future gptboot.efi</div><div>that you can use if you really must use this setup.. We use it for bootable</div><div>USB drives at work, but if it doesn't work for you, I'm not sure I'd fix bugs</div><div>in it.</div><div><br></div><div>However, we're moving to ZFS only, and we've found ZFS BEs to be way</div><div>more flexible and will be the way of the future. As such, I've stopped</div><div>maintaining gptboot.efi and will likely remove it in the future.</div><div><br></div><div>Warner</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> [1] <a href="https://sourceforge.net/projects/refind/" rel="noreferrer" target="_blank">https://sourceforge.net/projects/refind/</a><br> [2] <a href="https://sourceforge.net/projects/cloverefiboot/" rel="noreferrer" target="_blank">https://sourceforge.net/projects/cloverefiboot/</a><br> [3] <a href="https://libreboot.org/" rel="noreferrer" target="_blank">https://libreboot.org/</a><br> <br> -- <br> CeDeROM, SQ7MHZ, <a href="http://www.tomek.cedro.info" rel="noreferrer" target="_blank">http://www.tomek.cedro.info</a><br> </blockquote></div></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfp56NwHwiOkjxWEnfACyge%2BnHL0CiSnf_NL5MNswpdHTw>
