error: cannot find EFI directory.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub-installer (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Disco |
Won't Fix
|
Undecided
|
Unassigned | ||
partman-efi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Any user installing Ubuntu on UEFI systems and picking manual partitioning. This leads to an installation config that cannot be completed due to the missing partition not being detected until grub-installer runs at the end of the install process
[Test case]
The exact behavior will differ depending on the precise set of features enabled in the system's firmware:
== In each firmware mode (BIOS, UEFI, UEFI w/ CSM), using automatic partitioning (full disk) ==
1) Boot to an install media
2) At the partitioning screen, pick "Erase disk and install Ubuntu" or "Use entire disk - Guided partitioning".
3) Confirm all changes and begin the installation.
The user should see no user prompt, and system is bootable after installation.
== System in UEFI, with or without CSM enabled ==
1) Boot to an install media
2) At the partitioning screen, pick "Something else" or "Manual partitioning".
3) Create a single partition for /.
4) Confirm all changes and begin the installation.
The installer should immediately warn the user that there is no EFI System partition and offer to go back to the partitioning screen. Once the EFI System partition is present, the user is not shown the prompt and the installation completes successfully. The system is bootable.
Without the fix, the installation process happily continues and ends in a crash in grub-installer.
== System in BIOS mode, manual partitioning without ESP ==
1) Boot to an install media
2) At the partitioning screen, pick "Something else" or "Manual partitioning".
3) Create a single partition for /.
4) Confirm all changes and begin the installation.
Install should complete successfully, without prompting the user (an ESP is not strictly required for booting).
[Regression potential]
There may be unforseen cases in which users really do not want to create an ESP despite using an installation medium that was booted in UEFI mode. In these cases, users will now have an additional dialog warning them that the ESP does not exist, and have the option to hit "Continue" after reading the message.
As in some cases the partitioning logic is run twice (for instance, when in the ubiquity installer); there is some risk of additional warning when going forward and back in the installer steps and the partitioning screens. Any step in which the partitionning prompts unduly or refuses to install should be investigated, they may be regressions if the setup was previously allowed and lead to a succesfully completed installation.
---
Não instalou por erro no GRUB.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubiquity 18.04.14
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CasperVersion: 1.394
CurrentDesktop: ubuntu:GNOME
Date: Tue Nov 13 00:11:42 2018
InstallCmdLine: BOOT_IMAGE=
LiveMediaBuild: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
XDG_RUNTIME_
LANG=pt_BR.UTF-8
LC_NUMERIC=C.UTF-8
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- Instalação mal sucedida + erro: cannot find EFI directory. |
tags: | added: rls-bb-incoming |
description: | updated |
description: | updated |
description: | updated |
summary: |
- erro: cannot find EFI directory. + error: cannot find EFI directory. |
tags: |
added: verification-done-bionic removed: verification-needed verification-needed-bionic |
tags: | removed: rls-bb-incoming |
Changed in grub-installer (Ubuntu Disco): | |
status: | Confirmed → Won't Fix |
Status changed to 'Confirmed' because the bug affects multiple users.