1

I have multiple OS's installed on my laptop, and am running grub from Ubuntu to boot them. If I run sudo update grub it finds all the systems, as you can see in the image.

1

The problem is that after I reboot the system, it remains the same as it was when I originally installed Grub.

Here is the grub.cfg file:

part 1

part 2

To rephrase the problem, I am getting all the options listed in the grub.cfg file, but it only includes the OS's I had when I originally installed Ubuntu with grub on it. Whenever I run sudo update-grub, it shows that it detected new systems, but does not write them to grub.cfg. At least that's what I think is happening.

If I should include any other files, or information, please let me know.

karel
  • 122,292
  • 133
  • 301
  • 332

2 Answers2

1

I had the exact same symptoms.

Turned out that the Ubuntu 20.04 installer had incorrectly mounted the Windows 10 EFI partition in /etc/fstab at /boot/efi for the Ubuntu installation.

This meant that new kernels and other grub updates were being added to the wrong grub.cfg in the wrong partition.

I just mounted the correct Ubuntu EFI partition in /etc/fstab and updated grub and bingo, my grub menu was properly updated.

Not sure if this is a bug in the Ubuntu dual boot installer for EFI or just my system.

Hope this is helpful.

Artur Meinild
  • 31,035
jimmy90
  • 11
0

Please try sudo grub-install /dev/sda within terminal and check output.

Eliah Kagan
  • 119,640