I have recently set up a dual boot on my computer to dual boot between Windows 10 and Ubuntu. After some time, seemingly overnight, I was not able to boot into windows anymore. Whenever I try entering the boot menu upon launching, the computer turns itself off for a split second and boots directly into Ubuntu. After running sudo os-prober it still detects that windows is there, and looking at my disk shows that the partition that contains windows still exists. Below is a similar problem to mine which seemed to be fixed by altering GRUB and writing a script which boots the computer directly into windows: How to reboot into Windows from Ubuntu?
I tried following this solution, but when executing the script it just turns off for a split second and boots right back into Ubuntu, like I tried launching the boot menu from before. I'm really not sure what to do now.
GRUB
. If so, trysudo update-grub
, reboot. If the issue remain edit your question and copy-paste the output of the previous command. – GuillaumeF93 May 26 '22 at 22:14sudo apt purge grub grub-pc grub-common && sudo apt install grub-pc
– GuillaumeF93 May 26 '22 at 22:21