What argument did you give to --root-directory? You shouldn't need the argument unless you are booted from a livecd and aren't chrooted into your installed system. If you specified /boot/efi, then that would be the problem: it should be your root directory.
** Changed in: grub2 (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1478848 Title: Grub efi does not execute /efi/boot/grub.cfg and goes in shell mode To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1478848/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs