0

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?

1 Answers1

0

Edit the file /etc/default/grub, and add the line GRUB_DISABLE_OS_PROBER=false.

Then, run the command sudo update-grub, and reboot.

Archisman Panigrahi
  • 28,338
  • 18
  • 105
  • 212