Thursday, October 27, 2016

grub2 - Unable to boot Windows 8 after Ubuntu installation



I installed Ubuntu on a pc with Windows 8 preinstalled.



After installation Grub showed Ubuntu entries and Windows 8 Boot Manager (or something similar), selecting it I got:



/EndEntire
file path /ACPI(a0341d0,0)/PCI(2,1f)/UnknownMessaging(12)/HD(2,e1800,82000,963b540a6178e211,8d,38)/File(\EFI\Microsoft\Boot)/File(bootmgfw.efi)/EndEntire

error: cannot load image.



After that I run boot-repair with the default options.



This is the file it generated: http://paste.ubuntu.com/6005571



And this grub entries:




  • Ubuntu


  • Advanced options for Ubuntu

  • Windows UEFI bkpbootmgfw.efi

  • Windows Boot UEFI loader

  • EFI/toshiba/Boot/bootmgfw.efi

  • Windows Boot Manager (UEFI on /dev/sda2)

  • System setup (Bios menu)



The four about Windows 8 all give a similar error message:




Windows UEFI bkpbootmgfw.efi



/EndEntire
file path /ACPI(a0341d0,0)/PCI(2,1f)/UnknownMessaging(12)/HD(2,e1800,82000,963b540a6178e211,8d,38)/File(\EFI\Microsoft\Boot)/File(bootmgfw.efi)/EndEntire

error: cannot load image.


Windows Boot UEFI loader




/EndEntire
file path /ACPI(a0341d0,0)/PCI(2,1f)/UnknownMessaging(12)/HD(2,e1800,82000,963b540a6178e211,8d,38)/File(\EFI\Microsoft\Boot)/File(bkpbootx64.efi)/EndEntire

error: cannot load image.


EFI/toshiba/Boot/bootmgfw.efi



/EndEntire
file path /ACPI(a0341d0,0)/PCI(2,1f)/UnknownMessaging(12)/HD(2,e1800,82000,963b540a6178e211,8d,38)/File(\EFI\toshiba\Boot)/File(bootmgfw.efi)/EndEntire


error: cannot load image.


Windows Boot Manager (UEFI on /dev/sda2)



/EndEntire
file path /ACPI(a0341d0,0)/PCI(2,1f)/UnknownMessaging(12)/HD(2,e1800,82000,963b540a6178e211,8d,38)/File(\EFI\Microsoft\Boot)/File(bootmgfw.efi)/EndEntire

error: cannot load image.



How can I fix this?



Update:



Following Rod Smith answer I tried wit rEFInd from an USB flash drive.



It shows two Windows icons, one of which work (the other gives an error, it's the one that says Probabbly Grub).




The working one is: Boot Microsoft EFI boot (Boot Repair backup) from 256MiB FAT Volume



enter image description here



So I was able to boot into Windows, now how can I fix this so that I don't have to use rEFInd?



And how can I remove rEFInd from my pc (it shows also after removing the usb flashdrive from the pc)?



Try preparing a USB flash drive or CD-R with my rEFInd boot manager. (Download links for both types of media appear on the download page I've just referenced.) Boot from it. Chances are it will give you two Windows icons with different descriptions. If you're able to boot to Windows from rEFInd using any icon, try installing rEFInd in Ubuntu using the Debian package file. If rEFInd doesn't work or if it works partially but has its own problems, post back with details. (You might want to edit your original question, especially if the problem is complex.) Note that you can adjust the entries that rEFInd shows by cleaning out unwanted boot loaders (files with .efi extensions) from the /boot/efi/EFI directory tree (in Linux) or by editing /boot/efi/EFI/refind/refind.conf and uncommenting and adjusting the dont_scan_files and/or dont_scan_dirs options.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...