Sometimes GC fails to detect Windows

Bug #1981434 reported by Radoslav Nenchovski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Grub Customizer
New
Undecided
Unassigned

Bug Description

At the end of May there was a system update (Arch Linux) after which GC stopped detecting Windows. I ran os-prober in the terminal and it detected Windows just fine but Windows wouldn't appear in the GC's screen to be added as a grub menu entry.
I didn't report this earlier bc I thought it was a local problem only. But a friend of mine told me he had the same problem with GC (the latest version), so clearly it's a bug of some kind.
Then, a few days ago I had to reinstall Arch and Windows did appear in GC's screen. Today I ran GC to check something on GRUB_CMD_DEFAULT and noticed that Windows had disappeared (again) from the entry list. After a few reboots Windows came back to the entry list.
At this point GC is only useable to edit the visual style of grub - font, background, etc. The only way I could keep Windows in the entry list was to add it manually by editing grub.cfg and then make grub.cfg to be read only by using "chattr +i" command on it.

Revision history for this message
Daniel Richter (danielrichter2007) wrote :

That's strange. Grub Customizer just runs the system command "grub-mkconfig" (or grub2-mkconfig) to detect operating systems. If you don't change something on Grub Customizers list config, it wont modify something on the detection scripts (/etc/grub.d). Look at this folder. Is there an extra folder named proxifiedScripts? If not, it must be another reason.

Btw.: There's a better way to add extra entries to the boot menu. Put it into /etc/grub.d/40_custom and then run update-grub or use the save button of grub customizer. Then your grub menu stays updatable.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.