Installer won't create EFI partition in "Install alongside" or "Replace a partition" mode - because the installer USB already has an EFI partition
I have a machine whose SSD contains two ext4 partitions (approx 70 GiB and 40 GiB) and no EFI partition.
I want to use the space occupied by the 70 GiB partition to install KDE Linux - i.e. I expect the installer to make two partitions in that space (a 4 GiB EFI and a 66 GiB btrfs). To install, I'm booting into a USB drive to which I wrote the `kde-linux_202602240255.raw` image.
However, when I choose "Replace partition" and ask the installer to replace the 70 GiB partition, it wants to use that whole 70 GiB for the btrfs partition, and not create an EFI partition. Looks like instead of creating a new EFI partition, it wants to use the existing one at /dev/sdb1, but that won't work - /dev/sdb1 is the _EFI partition of the installer USB drive_, it doesn't live on a fixed drive of the system.
{width=767 height=404}
The behaviour is similar in "Install alongside" mode. If I try to shrink a partition to leave space, then the installer wants to use all the newly-freed space for the btrfs partition, because again it thinks it can use the installer USB's EFI partition instead of creating a new one.
{width=866 height=544}
The "search first for an existing EFI partition that you can use" logic probably needs to be made more selective so that it ignores the installer USB device?
#340 seems related but not identical. In that case, the user has another fixed drive with an EFI partition, and the installer offers the choice of either the installer USB's EFI partition, or the fixed drive EFI partition. Offering the existing fixed drive EFI partition is not unreasonable, but the user isn't given the option to create a new EFI partition on the drive that KDE Linux will be installed to.
issue