-1
I have installed openSUSE (12.2) on a PC that has Win8 installed.
At the beginning there were problems and it didn't start, after some "fixes" Linux started but when going in the grub2-efi Windows 8
entry I get this error:
error: can't find command 'drivermap'
error: invalid EFI file path
First of all, I have checked and in my /boot/EFI/
there's no Windows .efi
file, just the openSUSE one.
I have tried the command:
grub2-efi-probe --target=fs_uuid /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi
and I got:
grub2-efi-probe: error: failed to get canonical path of /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi."
I tried also to modify /boot/grub2-efi/grub.cfg
, adding:
menuentry "Windows 8 UEFI" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
set root='(hd0,gpt4)'
search --fs-uuid --no-floppy --set=root 4f84-ee2e
chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi
}
as suggested in some websites..
I also tried:
menuentry "Microsoft Windows Vista/7/8 x86_64 UEFI-GPT" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --fs-uuid --set=root $hints_string $uuid
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
}
but no luck.
My guess is that the Win EFI file has been deleted and I need that to make Win start? Am I right?
In this case, where can I find it? Is it possible to solve this problem without reinstalling Windows (I've got no DVD)?
Edit:
sudo ls -l $(find /boot/efi -iname "*.efi")
root's password:
-rwxrwxr-x 1 root root 665600 Jan 8 2013 /boot/efi/EFI/opensuse/grub.efi
-rwxrwxr-x 1 root root 120832 Mar 11 2013 /boot/efi/EFI/opensuse/grubx64.efi
Have you tried using Windows to repair the problem? Have you tried a different boot manager by chance? http://askubuntu.com/questions/263044/after-install-ubuntu-12-10-cannot-boot-to-windows-8-pre-installed I am going to guess your partition type is GPT instead of MBR? This thread explains how to use the Windows Recovery Console to solve this problem https://bbs.archlinux.org/viewtopic.php?id=164486
– Ramhound – 2013-10-09T15:22:09.107What is the output of sudo /usr/bin/diff /boot/efi/EFI/Boot/bootx64.efi /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi? You need to boot to the recovery mode in order to fix this, which might required media, so start working on that problem. – Ramhound – 2013-10-09T15:25:03.707
My previous comment was suppose to say "might need to" – Ramhound – 2013-10-09T15:39:22.163
Hi there, thank you for your suggestions. The output is: /usr/bin/diff: /boot/efi/EFI/Boot/bootx64.efi: No such file or directory /usr/bin/diff: /boot/efi/EFI/Microsoft/Boot/bootmgfw.efi: No such file or directory so it seems the file is not present.. Do you think it's possible to copy the EFI directory from another windows pc in that runs Win8 in my EFI partition and solve the problem in this way? I'd prefer to stay away from the win repair console – testun – 2013-10-10T07:12:17.273