On Thu, 30 Nov 2023 13:27:59 +0100 Arno Lehmann <a...@its-lehmann.de> wrote:
> > ... 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! > I have used it in the past, when Windows moved away from boot.ini. That was probably XP, so about twenty years ago. I believe using it to write currently requires booting to Safe Mode, and if I've got to reboot, it might as well be to the Debian install disc/USB. Having got to chroot, I just use the up-arrow and it remembers the efibootmgr command I used last time. I haven't looked for a while, if it's possible to set NextBoot from normal Windows it would be worth doing. -- Joe