You are not logged in.
..Bizarre problem. I'm doing the installation procedure the same way I've done it thousands of times, but now
bootctl --path=/boot installgives me:
File system "/dev/sda2" has wrong type for an EFI System Partition (ESP)."even though I formatted it as FAT32 earlier:
mkfs.vfat -F32 /dev/sda2What could be the problem?
Last edited by nicehand90210 (2023-04-05 10:51:33)
Offline
Did you follow official guide: creating EFI system partition, exactly and in full?
Offline
bootctl --path=/boot installFile system "/dev/sda2" has wrong type for an EFI System Partition (ESP)."mkfs.vfat -F32 /dev/sda2What could be the problem?
In my many Arch Linux installs of recent that I have experience this error only when using the partition manager through archinstall 2.5.3-2.5.4 when creating partitions. I found a bug that would incorrectly detect the ESP partition as a non-FAT32 when it had been formatted correctly.
I think it is buried somewhere in this message.
Offline
Did you follow official guide: creating EFI system partition, exactly and in full?
I'm using parted, and I have tried it two ways. Historically, the installation guide said NOT to specify a file system type when creting the ESP partition:
parted /dev/sda mkpart esp 2MiB 514MiB…I did that and ran into the error running bootctl the first time. So I re-read the installation guide, and now it seems to say you DO need to specify the file system when creating the partition (though it doesn't have a specific example for parted), so I did:
parted /dev/sda mkpart esp fat32 2MiB 514MiB…and got the same error.
In my many Arch Linux installs of recent that I have experience this error only when using the partition manager through archinstall 2.5.3-2.5.4 when creating partitions. I found a bug that would incorrectly detect the ESP partition as a non-FAT32 when it had been formatted correctly.
I'm not using archinstall so I'm guessing this doesn't apply?
Offline
Found the problem. The guide says to set the esp flag on in the partitioning tool, which I didn't do. Instead, I'd set the boot flag on, which is historically how I've done it and how it was formerly documented in the guide.
Offline