The precise error is: > Jul 2 06:15:58 ubuntu grub-installer: grub-install: warning: Internal error. > Jul 2 06:15:58 ubuntu grub-installer: grub-install: error: failed to > register the EFI boot entry: Operation not permitted. > Jul 2 06:15:58 ubuntu grub-installer: error: Running 'grub-install --force > --target x86_64-efi "/dev/nvme0n1"' failed.
Fundamentally this is an issue with your firmware that grub can't work around. The UEFI implementation is denying Ubuntu access to record its boot entry in the nvram. While it should still be possible to boot Ubuntu from disk via the fallback path, your laptop might also have other boot entries that it prefers over booting from the disk that cause incorrect behavior. Best case, boot will be slower because it's going via the fallback path. And whatever we happen to do in the installer to manage this, if you do run Ubuntu with your firmware in this state, each grub or shim package update will also fail with this error. I recommend you check your firmware settings for any options that show that the boot options are locked down, and if there are any, to disable those settings. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1934449 Title: failed to write grub to disk. Lenovo tiny AMD pro7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1934449/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
