Re: FreeBSD 14.1 and UEFI boot ignores bootme flag
Date: Tue, 13 Aug 2024 17:36:32 UTC
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 >