[Bug 1396379] Re: installer uses first EFI system partition found even when directed otherwise

rj 1396379 at bugs.launchpad.net
Wed May 3 16:37:47 UTC 2023


Now that the installer in the 23.04 ISO works, are we sure there are ongoing efforts to fix the 
installer for 22.04?
 
Also, @tim-richardson, you've stated here and on AskUbuntu that it's possible to disable ESPs
so that the 22.04 (and previous) installer won't see them or act on them by using Gparted to
un-check the boot/efi flags.
 
Oldfred has stated that he has never gotten that to work, at least when doing it from inside
the "Try Ubuntu" of the installer.  I tried it from within the installer, and also in the 
Gparted in an internal drive/20.04 OS, and that method does not work for me at all.
 
Is there something more to how you're doing this that we may have missed?  (Apologies if this
is the wrong place to be asking this question.)
 
If I'm ever going to get jammy installed, I'll have to rely on oldfred's workaround method in
message #55, but first I'll need to understand it more than I do at the moment.
 
I'd prefer to install the LTS release (jammy) but if these workarounds are such a hurdle, maybe the 
easier thing to do is install 23.04 until the next LTS is released. It'd be the first time I've
ever used a non-LTS release because I hate bothering with frequent new installs and 
yet again re-configuring my environment.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1396379

Title:
  installer uses first EFI system partition found even when directed
  otherwise

Status in grub-efi-amd64-signed package in Ubuntu:
  Confirmed
Status in ubiquity package in Ubuntu:
  Fix Released
Status in grub-efi-amd64-signed source package in Jammy:
  Confirmed
Status in ubiquity source package in Jammy:
  Confirmed

Bug description:
  (k)ubuntu 14.04.1
  package version: 2.02~beta2-9ubuntu1

  i installed ubuntu on my external hard disk, where i also have a previously installed fedora system. i also have a windows
  (efi-booted) system in the internal hard disk.

  at install time via ubiquity i get all grub configuration files in the first EFI-labelled partition (i.e. /dev/sda2 in my case) instead of the one i selected (/dev/sdb1).
  later i changed my fstab mounting /boot/efi on /dev/sdb1 and tried to reinstall grub package (apt-get install --reinstall grub-efi-amd64); now all grub configuration files are in the rigt place, but booting from the external hard disk still shows the fedora grub installation, while selectin the internal hard disk from the bios menu shows a submenu listing ubuntu and windows.
  explicitly installing grub in the correct disk (grub-install /dev/sdb; grub-mkconfig -o /boot/efi/EFI/ubuntu/grub.cfg) has no effect, nor it has running efibootmgr (efibootmgr -c --disk /dev/sdb --part 1).

  expected results: grub shoud have been installed in the disk/partition i chose;
  actual results: ubuntu always chooses the first disk to install grub on.

  Note that this is not just about the dummy grub install location
  selector that is not used in EFI mode, but configuring one partition
  as do not use, and the other as ESP in the manual partitioning screen.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub-efi-amd64-signed/+bug/1396379/+subscriptions




More information about the foundations-bugs mailing list