Context: I have a notebook which originally had an SSD and an HDD. For very specific reasons, at some point, I had two ubuntus, one in which drive, until recently I changed the HDD for another SSD (in which I installed Windows 11).
Current situation: My notebook has ubuntu 22.04 in one SSD and Windows 11 in the other one.
Problem: Ubuntu's dual boot configuration is set to the situation described in Context, so, when I boot, I get the option to boot ubuntu that is currently in my SSD and an ubuntu that no longer exists.
Is there a way to reconfigure the dual boot so that I can choose between ubuntu and Windows without having to install ubuntu 22.04 again?
sudo update-grub
in Ubuntu – Archisman Panigrahi Jun 08 '23 at 15:49