Hello to all my dear friends!
I installed Ubuntu 22.04 (Jammy Jelfish) alongside Windows on a brand new laptop. Laptop is Lenovo LOQ. This laptop came to me for testing it’s performance. After the installation, I found that GRUB does not list the Windows boot manager.
I first tried updating grub using
sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.8.0-40-generic
Found initrd image: /boot/initrd.img-6.8.0-40-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
This only listed the Ubuntu entry in /boot/grub/grub.cfg
.
Also, there is a warning that says Warning: os-prober will not be executed to detect other bootable partitions.
For this, I have to add this entry in /etc/default/grub
.
GRUB_DISABLE_OS_PROBER=false
And then run update-grub command again.
sudo update-grub
Sourcing file `/etc/default/grub'
Sourcing file `/etc/default/grub.d/init-select.cfg'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.8.0-40-generic
Found initrd image: /boot/initrd.img-6.8.0-40-generic
Memtest86+ needs a 16-bit boot, that is not available on EFI, exiting
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done
And now it can be seen from above output, that Windows boot manager is detected. This also puts the entry of UEFI firmware settings
that allows to go into BIOS.
So that’s it what I observed and did to fix it up.