Installed image can be missing necessary boot file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Incomplete
|
Undecided
|
Unassigned | ||
grub |
New
|
Undecided
|
Unassigned | ||
shim |
New
|
Undecided
|
Unassigned |
Bug Description
Sometimes, an installation via MAAS will fail, with the following displayed on the node's screen:
Booting local disk...
Failed to open \efi\boot\
Failed to load image \efi\boot\
start_image() returned Not Found
The boot process stops here. Bypassing network booting to boot from the hard disk succeeds. It turns out that the EFI System Partition's (ESP's) \efi\boot\
The server in question is meitner, a Supermicro 5018R-WR. I'm trying to deploy Ubuntu 19.10 on it; I haven't yet checked to see if the same problem occurs when deploying other versions of Ubuntu. Other servers boot just fine in the absence of this file; I don't know why this is a problem for just this one server.
$ dpkg -l '*maas*'|cat
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii maas 2.6.1-7832-
ii maas-cert-server 0.4.4-0ppa1~
ii maas-cli 2.6.1-7832-
un maas-cluster-
ii maas-common 2.6.1-7832-
ii maas-dhcp 2.6.1-7832-
un maas-dns <none> <none> (no description available)
ii maas-proxy 2.6.1-7832-
ii maas-rack-
ii maas-region-api 2.6.1-7832-
ii maas-region-
un maas-region-
un python-django-maas <none> <none> (no description available)
un python-maas-client <none> <none> (no description available)
un python-
ii python3-django-maas 2.6.1-7832-
ii python3-maas-client 2.6.1-7832-
ii python3-
Changed in maas: | |
status: | Incomplete → New |
status: | New → Incomplete |
This problem occurs when attempting to deploy Ubuntu 18.04, too.
It appears that the ESP's \efi\boot\ bootx64. efi is Shim. There's also a copy of fbx64.efi in this directory, but it looks like this Shim isn't configured to look for it, so in the absence of grubx64.efi in this directory, the boot process hangs when Shim is launched. At least, that's my hypothesis.