I have followed the instructions for reinstalling GRUB boot loader in my Ubuntu installation as explained in How can I reinstall GRUB to the EFI partition?. After that my GRUB works fine for booting Ubuntu but Windows does not boot anymore. Does anyone know how to fix it?

It returns the message: error: premature end of file /EFI/Microsoft/Boot/bootmgfw.efi.

Photo of the error message

  • That's a Windows problem: you need to re-install bootmgwf.efi... – Fabby Apr 28 at 9:04