[Bug 1803031] Re: erro: cannot find EFI directory.
Steve Langasek
steve.langasek at canonical.com
Fri Feb 1 20:51:58 UTC 2019
I would like to see a more complete set of test cases here for SRU
verification.
- system booted in UEFI mode; manual partitioning w/o ESP; user correctly stopped and given the opportunity to fix; install successful after fixing.
- system booted with UEFI but with CSM enabled; manual partitioning w/o ESP; should the user be stopped or not?
- system booted in BIOS mode; manual partitioning w/o ESP; install completes successfully despite our having configured grub-installer to install both EFI and BIOS versions of grub by default. (If this is not the case, then I think a change is needed to grub-installer instead of to partman-efi, but we should identify this.)
- system booted in UEFI mode; full disk automatically partitioned; no error prompts shown and system is bootable after install.
- system booted with UEFI but with CSM enabled; idem.
- system booted in BIOS mode; idem.
We need to make sure that each of these cases is validated for 18.04.2 -
whether as part of this SRU or as part of ISO testing is not important,
but I want to be sure these don't get missed.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub-installer in Ubuntu.
https://bugs.launchpad.net/bugs/1803031
Title:
erro: cannot find EFI directory.
Status in grub-installer package in Ubuntu:
Confirmed
Status in partman-efi package in Ubuntu:
New
Status in partman-efi source package in Bionic:
Fix Committed
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]
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 on UEFI that there is
no EFI System partition and offer to go back to the partitioning
screen.
Without the fix, the installation process happily continues and ends
in a crash in grub-installer.
[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
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
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=/casper/vmlinuz file=/cdrom/preseed/ubuntu.seed boot=casper only-ubiquity quiet splash ---
LiveMediaBuild: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
ProcEnviron:
LANGUAGE=pt_BR.UTF-8
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=pt_BR.UTF-8
LC_NUMERIC=C.UTF-8
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1803031/+subscriptions
More information about the foundations-bugs
mailing list