I have two hard drives installed. You can see that from the attachment. On disk 0 I have five partition, on this disk windows is installed. On disk 1 I have three partition, first partition (Drive E) is for windows, the last two are for Ubuntu. I formatted this before installing Ubuntu also removed bit locker from disk 1.
In post 6, you listed the partial output of the efibootmgr command but did not list the boot order. Boot0005* Ubuntu is to boot Ubuntu so do you have that set first in your BIOS? If so, it should boot Ubuntu and if it does, you should be able to run sudo update-grub to add windows to the Grub boot menu and boot both Windows and Ubuntu. If you look at the 2 EFI partitions, the one on the Ubuntu disk as well as the one on the windows disk you can check to see what is in the partitions. Before you installed Ubuntu again, did you have the Ubuntu EFI files on the EFI partition on the first (windows) disk.
I managed to solve it by adding new boot option and set the file name as grubx64.efi(as the secure boot is off) but for some reason the default Ubuntu was set us shimx64.efi which is for secure boot I think
I have never had UEFI Secure boot on, but it uses shimx64.efi. If Secure boot is off, it should not matter whether you use grubx64.efi or shimx64.efi.
UEFI boot install & repair info - Regularly Updated : https://ubuntuforums.org/showthread.php?t=2147295 Intro to Discourse: https://discourse.ubuntu.com/t/welco...and-help/49951
well right now my secure boot is off, if I use shimx64.efi it does not work. Anyway thanks for the help.
View Tag Cloud
Ubuntu Forums Code of Conduct