I used to have 2 OS: windows 11 and ubuntu, windows was installed on my SSD and I replaced it with ubuntu, but after replacing grub was working just fine, but I tried to clean my hard drives so I deleted a efi partition on my hdd (P.S my new ubuntu is installed on SSD) I don't know what happened (I didn't touch the partitions is SSD) but grub wasn't working and I was not able to log to ubuntu, I tried to create the EFI partition again on my HDD and I formatted it as fat32 and mounted it as efi but I didn't understand what's happening, so I inserted my USB and installed ubuntu again on my ssd, now it's booting directly into ubuntu but grub isn't showing, I tried to update it and I changed the flag from hidden to menu, didn't work, and on the boot options in bios there's no option for grub, gust ubuntu and UEFI firmware and a third uefi something I don't know what it is. when i run sudo update-grub this is what I get
Asked
Active
Viewed 78 times
/
or root partition. Your machine firmware will decide which ESP is used; thus where it needs to be located, and first drive is default for many machines. You've not said what release you're using, but your paste indicates "os-prober will not be executed to detect other bootable partitions" meaning other OSes won't show in grub menus due to config on your system. – guiverc Sep 12 '23 at 22:45