Bug#1038974: grub2: Update Linux erases Windows entry in boot list
Chris Carr
rantingman at gmail.com
Thu Sep 21 12:49:41 BST 2023
On Fri, 23 Jun 2023 16:31:55 -0400 bud <budheal508 at gmail.com> wrote:
> Package: grub2
> Severity: important
> File: grub2
> X-Debbugs-Cc: budheal508 at gmail.com
>
> Dear Maintainer,
>
> * What led up to the situation?
> I installed the 2023-04-24 weekly build, downloaded the 2023-06-05 build
and used that as the jigdo base to download bookworm 12.0.0
> Then I added the 21 DVD images and synaptic suggested adding the online
main repository. After apt-get update --allow-insecure-repositories, I
rebooted.
> * What exactly did you do (or not do) that was effective (or
> ineffective)?
> The computer booted into bookworm. However, the existing option to boot
Windows is no longer available. Looking in the Advanced options finds the
prior Linux entry.
>
> Compare Bugs #1033985, #1008294 and #250626
>
> * What was the outcome of this action?
> Without a Windows option, there is a suggestion in bug #1033985 that
os-prober will help set me reset the grub list. Otherwise, the Windows DVD
will contrarily erase grub. I only added a Linux partition to this laptop
to investigate a HDMI bug, as this one has HDMI, VGA and DisplayPort
connectors.
> * What outcome did you expect instead?
> Just because the Linux kernel has been updated, any existing entries
should not be erased - except for the one being replaced.
>
> An update should not erase the settings the user or administrator has
added to customize the system. This looks like a bug.
I just wanted to add my 2p to this as I have just had the same experience -
I have just updated my Linux installation, and rebooted to find that my
Windows installation is no longer available. I had to go and look up
GRUB_DISABLE_OS_PROBER, find it in /etc/default/grub, then change it, then
run update-grub, then reboot again.
It's fine to change the default behaviour, but it's not fine to remove OSs
that are already configured in grub before the upgrade. This is definitely
a bug.
CC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grub-devel/attachments/20230921/0c73c77e/attachment.htm>
More information about the Pkg-grub-devel
mailing list