News for hackers. Stuff that matters.
Re:No more boot loader: Please use the kernel instead by ziml77 on Monday July 08, 2024 @05:28PM (#40909918)
Does Windows not ensure that the UEFI boots back into Windows when it does an auto-reboot for updates? There's a UEFI variable called BootNext which Windows already knows how to use since the advanced startup options must be setting it to allow rebooting directly to the UEFI settings.

Given that Windows tries to restore open windows to make it look like it didn't even reboot, I'm surprised they wouldn't make sure that the reboot actually goes back into Windows.

Re:No more boot loader: Please use the kernel instead by joe5150 on Monday July 08, 2024 @05:41PM (#40910030)
Not in my experience. For my typical dual boot situation where Grub is installed as the bootloader, I have to update the Grub settings like so to allow Windows updates to go smoothly:

  GRUB_DEFAULT=saved
  GRUB_SAVEDEFAULT=true
Re:No more boot loader: Please use the kernel instead by lproven on Tuesday July 09, 2024 @06:36AM (#40914486)
I am not certain about this, but I think that these options no longer work on UEFI machines. GRUB does not have control over what options are presented if GRUB isn't the selected bootloader. This stuff is BIOS-only.
Re:No more boot loader: Please use the kernel instead by ndiddy on Tuesday July 09, 2024 @09:34AM (#40915957)
I have this working on a UEFI system. You select your Linux drive in the UEFI configuration (so the computer always boots into GRUB) and then GRUB will boot into Linux or Windows depending on the last saved option.
Re:No more boot loader: Please use the kernel instead by lproven on Tuesday July 09, 2024 @02:12PM (#40919135)
Sure, but whether that GRUB entry is remembered as the default is up to the UEFI not GRUB. If you pick another entry GRUB is powerless to effect it.
Re:No more boot loader: Please use the kernel instead by ndiddy on Tuesday July 09, 2024 @02:52PM (#40919520)
The GRUB_DEFAULT and GRUB_SAVE_DEFAULT settings don't affect the UEFI settings, they only affect the default boot option in GRUB's boot menu. From the UEFI configuration perspective, the boot option never changes and it's always set as the drive with GRUB installed on it.
Re:No more boot loader: Please use the kernel instead by lproven on Tuesday July 16, 2024 @11:49AM (#40977639)
Yes, that is indeed what I just said. :-)
Re:No more boot loader: Please use the kernel instead by ale42 on Tuesday July 09, 2024 @03:56AM (#40913576)
No, it doesn't. Even a sysprepped image of Windows (which thus runs Setup to install drivers and finalize the installation) doesn't change the boot order on UEFI machines. I think just the installer does this when you first install Windows.
Re:No more boot loader: Please use the kernel instead by ziml77 on Tuesday July 09, 2024 @08:08PM (#40922594)
That's so weird. Normally I don't want my OS changing what is booted into on a whim, but going back into the same OS for cases like these just seems like sane behavior to me.
Re:No more boot loader: Please use the kernel instead by DEADMINCE on Wednesday July 10, 2024 @07:07AM (#40925652)
There's good reason you might not want that behavior, and no reason to enforce it. Booting an alternate OS doesn't interrupt Windows update operations.