Ubuntu 21.04 Beta Installer - Error Installing grub-efi-amd64-signed
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-
Body: installed grub-efi-
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/
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(
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-
Apr 2 02:31:40 ubuntu ubiquity: installed grub-efi-
I have pictures of the two popup windows if needed.
affects: | ubuntu → ubiquity (Ubuntu) |
tags: | added: hirsute |
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