Am 30.11.2023 um 12:52 schrieb Joe:
On Wed, 29 Nov 2023 18:34:30 -0500 Jeffrey Walton <noloader@gmail.com> wrote:As I understand things, a well functioning UEFI system does not need to use GRUB. The entries for Linux and Windows will be in the UEFI boot menu, and you can boot directly using EFI variables.It's the 'well functioning' that is sometimes a problem. I have a netbook which, left to its own devices, will always boot to Windows, and cannot be made to boot to anything else from the UEFI part of whatever we're supposed to call the BIOS these days. It does not honour DefaultBoot, always resetting it to Windows, but for some reason does honour NextBoot. So once Linux is running, a script sets NextBoot to grub. Unfortunately, there's no simple way to set NextBoot from Windows,
... have you ever tried bcdedit /bootsequence <id>In general, the built-in help of bcdedit is not bad, needs a bit of patience, though.
And of course we lack the flexibility of tools such as awk or sed on Windows, to automate setting things and still remain flexible :-)
On a particular system, with rather static setup, hard-coding a single bcdedit call and automatically execute that should be feasible, though.
Give it a try if you haven't done yet!
There seems to be a lot of problems with the EFI commands operating BIOSes properly, so I wonder if good old MS requires compliant manufacturers to get it wrong deliberately.
Well...... probably yes. But that's MS and their hardware partners for you. It's getting better the more MS loses interest in actually selling Windows.
Cheers, Arno -- Arno Lehmann IT-Service Lehmann Sandstr. 6, 49080 Osnabrück