2

I have just installed Kubuntu 22.04 (dual boot with Windows 10 on the same disk). During the installation of Kubuntu, I created a partition (i.e. partition 7) to use as EFI system partition and marked it as device for boot loader installation. Now, I realize that the boot loader is not in partition 7, but in partition 1 which previously belongs to Windows.

enter image description here

Things in partition 1:

enter image description here

Things in partition 7:

enter image description here

Why does it happen?


Edit: about the installation of Kubuntu, in the disk setup step, I chose to install manually. I created an EFI partition (partition 7) like in the image below, the "device for boot loader installation:" option was set partition 7. I also created 2 more partitions: one is for "swap area", and the other is for "ext4 journaling file system", the mount point is /.

(I didn't capture the setup image when I was installing, so I got this image from Internet) enter image description here

Becker
  • 155
  • 8

1 Answers1

0

An EFI partition is identified by its partition signature. When booting, the UEFI BIOS searches sequentially the partitions on the disk, looking for the first one that is marked as EFI. This means that only the first EFI partition on the disk is used for all the operating systems that are installed on this disk.

You have created during the installation a second EFI partition. However, the installation searched for the first EFI partition and installed in it its stub bootloader, which was the correct thing to do. If it has used your second EFI partition, the Kubuntu installation would have been ignored by the BIOS that will only look at the first one.

You may delete the second EFI partition, as it will never be used. It's too small to bother with it any further.

harrymc
  • 498,455