Grub doesn't recognize Win11 anymore  [Solved]

Report Bugs, Issues and non- package Requests
Message
Author
User avatar
fehlix
Developer
Posts: 12706
Joined: Wed Apr 11, 2018 5:09 pm

Re: Grub doesn't recognize Win11 anymore

#21 Post by fehlix »

pete67 wrote: Mon Jan 15, 2024 10:03 am As far as I have understood the procedure described by you in the thread, the 40_Custom file must be populated with the Win11 boot entry due to the deactivation of the OS prober function under Debian Bookworm in Grub 2.
...
Is that correct?
Probably not, b/c in MX Linux OS prober was activated again.
So after installing the GRUB menu should already have an entry for Windows.
In case it could not detect windows during installation,
and windows was properly shutdown (with no windows fast-boot)
Rerunning update grub either this way:
sudo update-grub
or with
sudo dpkg-reconfigure grub-pc
is supposed to add the missing entry.

User avatar
pete67
Posts: 146
Joined: Sun Apr 17, 2022 8:26 am

Re: Grub doesn't recognize Win11 anymore

#22 Post by pete67 »

Hi @fehlix ,

so at the moment, Win11 starts automatically, as this was the only OS entered in the EFI partition during the restore.

So I boot with my MX-Live stick and then have to rebuild Grub 2 in MX-Linux on the existing partition of MX 23.1.

If I understood your post correctly, in the latest version of MX Linux 23.1 I had updated my "old" 21.3 despite the Debian Bookworm based on the 23.1 OS prober is still active, although Debian no longer supports it.

I'm so suspicious because the thread said several times that OS-Prober doesn't work anymore because Debian Bookworm has disabled it and I don't want to fall into the trap again that the bootloader of Win11 is not recognized again, no matter what I do.

User avatar
fehlix
Developer
Posts: 12706
Joined: Wed Apr 11, 2018 5:09 pm

Re: Grub doesn't recognize Win11 anymore

#23 Post by fehlix »

Maybe a misunderstanding: Debian had disabled os-prober on automatic re-genration of the grub menu,
e.g during/after kernel upgrade/install. But user can re-enable always using the dppk-reconfigure command shown above. The MX adjustment made would probably also have the regenerate working during kernel upgrade.
Of course, all depends whether some manually changes with the grub-setup have been made by the user and disturbed the finetuned changes made, or potentially even worse, in case grub-customizer would be in use.

User avatar
pete67
Posts: 146
Joined: Sun Apr 17, 2022 8:26 am

Re: Grub doesn't recognize Win11 anymore  [Solved]

#24 Post by pete67 »

Meanwhile Wingarbage 11 has decided to crash totally and to kill it EFI-Partition or write such a xxxxxxx in it, that even my Supergrub-Stick doesn't find it anymore. So let this xxxxxxx be dead and gone. As MS decided to give us all Co-Pilos and Recall they can kiss me where no sun shines. So I close this thread as obsolete.

Post Reply

Return to “Bugs and Non-Package Requests Forum”