Ubuntu 21.04 Beta Installer - Error Installing grub-efi-amd64-signed

Bug #1922315 reported by John Dowling
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ubiquity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Release:
Description: Ubuntu Hirsute Hippo (development branch)
Release: 21.04

Installing Ubuntu 21.04 Beta and installation process executes as expected. At the end of the installation receive a pop up as below:

Title: Error installing grub-efi-amd64-signed
Body: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit1.

After clicking OK, get another pop up as below:

Title: An error occurred while installing packages:
E:Sub-process /usr/bin/dpkg returned error code (1)

The body of the second pop up is to much to type, but says "More details may be found in /var/log/syslog". I found the entries below in /var/log/installer/syslog and believe them to be from the error:

Apr 2 02:31:38 ubuntu ubiquity: Trying to migrate /boot/efi into esp config#015
Apr 2 02:31:38 ubuntu ubiquity: Installing grub to /boot/efi.#015
Apr 2 02:31:38 ubuntu ubiquity: Installing for x86_64-efi platform.#015
Apr 2 02:31:39 ubuntu ubiquity: grub-install: warning: Cannot read EFI Boot* variables.#015
Apr 2 02:31:39 ubuntu ubiquity: grub-install: warning: read_file: could not read from file: Input/output error.#015
Apr 2 02:31:39 ubuntu ubiquity: grub-install: warning: vars_get_variable: read_file(/sys/firmware/efi/vars/Boot0009-8be4df61-93ca-11d2-aa0d-00e098032b8c/raw_var) failed: Input/output error.#015
Apr 2 02:31:39 ubuntu ubiquity: grub-install: warning: efi_get_variable: ops->get_variable failed: Input/output error.#015
Apr 2 02:31:39 ubuntu ubiquity: grub-install: error: failed to register the EFI boot entry: Input/output error.#015
Apr 2 02:31:40 ubuntu ubiquity: dpkg: error processing package grub-efi-amd64-signed (--configure):#015
Apr 2 02:31:40 ubuntu ubiquity: installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 1#015

I have pictures of the two popup windows if needed.

Revision history for this message
John Dowling (lpe404) wrote :
Revision history for this message
aman turate (aturate) wrote :

I faced this issue while ago. It seems like grub-installer is not able to fetch efi variables while installing. In live boot I ran "modprobe efivars" as root and did installation. Everything worked just fine.
I am assuming you are installing in efi mode.Let me know if it works

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu:
status: New → Confirmed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1922315/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → ubiquity (Ubuntu)
tags: added: hirsute
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.