Problem:
Hi there, I am trying to get a new updated setup of Foreman up and running to deploy machines with UEFI and Windows 10.
The only issue I am facing now is that once pressing “provision” in the GUI the host to be deployed reboots but it just loads the discovery image again, eg nothing is being deployed.
Expected outcome:
Have Foreman start to format disk, deploy the WIM image etc
Just one to be sure, this is for discovered hosts, not rebuilding the host, right?
The only issue I am facing now is that once pressing “provision” in the GUI the host to be deployed reboots but it just loads the discovery image again, eg nothing is being deployed.
What’s the content of the GRUB files, are they properly deployed?
I suggest to check Debugging provisioning tutorial, there are some instructions on how to investigate issues with the provisioning
OK, seems there was mess with Rocky Linux and paths…
I re-installed the VM with CentOS 8 Stream. Looking better. Now I am only stuck at finding right templates for deployment I guess.
The $chroot is set by the search line above to disk+partition identifier (e.g. hd0,gpt1) where a file under /EFI/centos/grubx64.efi was found. This is GRUB2’s way to find & boot installed systems before booting discovery image as fallback. Inside Linux system it’s /boot/efi/EFI/... because this partition is mounted.
So looks like GRUB2 and its configuration file, which was successfully loaded from your TFTP server, has issues finding and booting either the ESP (EFI Service Partition) or the kernel.
Can you directly boot the installed system (no network boot)?