Failed to find primary ESP mounted at /boot/efi when deploying machine with MAAS

This is the problem I’m still battling with and so far I haven’t resolved it. I mean, I did find workaround, but the problem itself is still here. This happens on Ubuntu machine deployments with MAAS.

I started testing MAAS recently, since I like concept very much. But, in the beginning I wasn’t able to deploy even one machine.

I tried to deploy Ubuntu with MAAS, because that is what I need.

I would always stuck at deployment process with some kind of boot error – Failed to find primary ESP mounted at /boot/efi was very common.

So I tried a lot of thing, various version of Ubuntu on MAAS controller, various versions of MAAS (2.6-2.9) and I also changed Intel, HPE servers and I even tried on VMs – but error is always the same, it doesn’t matter on what I try to deploy.

I also tried to read documentation and search through internet, but no luck for me.

Curtin haven’t played well with UEFI in the past, according to the internet, but that should be the past. MAAS 2.9.1 uses last version of Curtin…

In the end, I tried deployment inside my VM lab, with Legacy BIOS setting.

So, if you are doing this on server or pc – switch your BIOS from UEFI to LEGACY BIOS. Same goes if you are doing this in virtual environment.

Machine deployed successfully after changing my VM from UEFI to LEGACY BIOS

Machines set with legacy BIOS were able to deploy Ubuntu via MAAS.

I know this will not help everyone, nor is it elegant solution. If you managed to resolve this some other way (still using UEFI) – please let me know.

Disclaimer