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,
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.
... 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!
For the curious, I occasionally need to run Microchip MPLAB, the old
pre-Java version which doesn't do Linux. It only just about does
Windows... I used to think Serif software was buggy until I tried
Microchip stuff.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 307 |
Nodes: | 16 (2 / 14) |
Uptime: | 37:15:30 |
Calls: | 6,910 |
Files: | 12,376 |
Messages: | 5,428,815 |