0

I have 4 drives, a 2TB HDD for data, a 1TB NVMe, a 240GB SSD with only Ubuntu 22.04, and a 240GB SSD with only Windows 10. I went to reinstall Ubuntu so I checked which drive was which, Ubuntu was on sda, and Winndows on sdb, so I installed Ubuntu formatting sda only. After installation, Ubuntu boots in correctly, but now it won't show the option for choosing where to boot. I checked the BIOS in case it removed the Windows boot option, but there was no option to boot into Windows, where just before re installing Ubuntu there was. I also checked to see if all the drives where being detected, and they are. I can also access the Windows drive through Ubuntu, I just can't boot into Windows.

Already triedboot-repair and it didn't work

Also tried sudo update-grub and also nothing.

Is there a way to fix this?

  • Does this work? `sudo echo GRUB_DISABLE_OS_PROBER=false >> /etc/default/grub && sudo update-grub`? ([Source](https://askubuntu.com/a/1378891/124466)) – Archisman Panigrahi Jun 12 '23 at 13:01
  • It gives bash: /etc/default/grub: Permission denied – ManuManito Jun 12 '23 at 13:18
  • 1
    Ok, can you add the line `GRUB_DISABLE_OS_PROBER=false` to `/etc/default/grub` using a text editor as root? – Archisman Panigrahi Jun 12 '23 at 13:25
  • Did it, but didn't work. I also tried using a usb with the Windows 10 ISO to try reinstall Windows, but it won't let me boot into the usb – ManuManito Jun 12 '23 at 13:40
  • Did you install Ubuntu in legacy mode by any chance? Windows 10 is probably running in UEFI mode. If Ubuntu is in legacy mode it will not see Windows. If so the solution is to reinstall Ubuntu in UEFI mode – PonJar Jun 12 '23 at 15:07
  • Does Grub show up when you switch on the computer? Or does it go right into Ubuntu? – Béné Jun 22 '23 at 13:35

0 Answers0