I am having issue with the GRUB bootloader, where the Focal OS isnt showing at all - just Ubuntu 18.04 and Windows are shown as boot options.
I had installed Windows (/dev/nvme1n1p3) -> Ubuntu 18.04 Beaver(/dev/nvme1n1p5 )-> Ubuntu 20.04 Focal (/dev/nvme0n1) on my PC with two drives (/dev/nvme1n1 and /dev/nvme0) . After installation everything was working fine. I was able to see the GRUB boot loader with all the OS. The bootloader was configured on /dev/nvme1n1 .
Partitions of /dev/nvme1n1 .
- grub.cfg for Beaver : Ubuntu 18.04
- grub.cfg for Focal : Ubuntu 20.04
Not sure but I think the problem occurred after I mounted the Focal drive while inside the Beaver and tried writing some files. Although I wasn't able to write anything on the mounted drive point because of write privileges. This is the screenshot of the mounted disk of Focal when I am inside Beaver. I was doing this since the Beaver partition is smaller and I needed to used the larger Focal disk from inside Beaver.Mounted Disk of Focal inside Beaver
I tried using the boot-repair utility using the recommended option but it is not working out. Only Beaver and Windows options are being shown. Can some one please help me fix the grub boot loader. I can access all the files on the Focal Drive without any issue.