I just got my PC back from the service where they changed the power supply. Probably that changed the setup for the dual boot I have already set up. I have installed Windows 10 and Ubuntu. When I tried to start the PC, in the grub menu there is only Ubuntu and not Windows. Tried to fix it with boot-repair but it didn't work. Here is the link from boot-repair
I have tried update-grub
, editing the custom_40
file with:
menuentry "Windows 10" --class windows --class os {
insmod ntfs
search --no-floppy --set=root --fs-uuid $your_uuid_here$
ntldr /bootmgr
}
with the correct uuid. Windows 10 appeared as an option but when I enter it shows the errors:
file '/boot/grub/x86_64-efi/ntfs.mod' not found
file '/boot/grub/x86_64-efi/ntldr.mod' not found
can't find command 'ntldr'
Can anyone help me?
ubuntu
-entry, that's for EFI-mode, instead boot to your HDD, then grub will open, choose ubuntu then and runsudo update-grub
again. You have an obsolete boot-loader for ubuntu on your drive which will boot in efi-mode, but grub is also in MBR. – mook765 Aug 01 '19 at 13:21