[Bug 1803031] Re: erro: cannot find EFI directory.

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Fri Feb 1 20:39:32 UTC 2019


** Description changed:

+ [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
+  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)

-- 
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

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