Ask Your Question
0

/usr/lib/grub/x86_64-efi doesnt exist

asked 2014-12-12 20:06:09 -0500

Oscar314 gravatar image

Hello, I am upgrading from Fedora 19 to Fedora 21 using fedup. After the preparation, the System Upgrade option doesn't show in the GRUB menu. I tried to reinstall grub according to fedup documentation:

grub2-mkconfig -o /boot/grub2/grub.cfg grub2-install /dev/sda

I get the message "usr/lib/grub/x86_64-efi doesn't exist. Please specify --target or --directory" from the last command.

The indicated directory doesn't exist. I tried reintalling grub

yum reinstall grub2-efi shim

...but the directory is still missing. I have an UEFI dual boot system with Windows 8.

Any ideas? Thanks in advance.

edit retag flag offensive close merge delete

Comments

You don't install GRUB to the MBR on a UEFI system.

randomuser gravatar imagerandomuser ( 2014-12-15 08:54:21 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-12-17 04:38:03 -0500

Oscar314 gravatar image

Thanks randomuser for the useful tip. You are right, the command grub2-install must not be used on a UEFI system, it is just to install grub in the MBR. Much to my embarrassment I knew this some time ago and even had it documented.

The solution as you indicated in another post is just to use the command:

grub2-mkconfig /boot/efi/EFI/fedora/grub.cfg

Many thanks.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-12-12 20:06:09 -0500

Seen: 5,201 times

Last updated: Dec 17 '14