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?

AcKoucher
  • 13
  • 2

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
  • 25,210
  • 17
  • 90
  • 185
  • The command `sudo update-grub` was not available. Alternatively used [this](https://askubuntu.com/questions/418666/update-grub-command-not-found) and it worked either way. Thank you. – AcKoucher Jun 08 '23 at 17:26