While doing some experiments with bootc, and the docs here - https://bootc-dev.github.io/bootc//bootc-install.html#more-advanced-installation clearly say Note that while --privileged is used, this command will not perform any destructive action on the host system. Which I made the mistake of trusting.
It ran efibootmgr and removed the boot entry, and then appeared to recreate it. But now the system won't boot.
So, at the least the docs need to have a warning.
And it should not be running efibootmgr, ever. The filesystem or block device being installed to may have no association with the host hardware as was the case here.
While doing some experiments with bootc, and the docs here - https://bootc-dev.github.io/bootc//bootc-install.html#more-advanced-installation clearly say
Note that while --privileged is used, this command will not perform any destructive action on the host system.Which I made the mistake of trusting.It ran efibootmgr and removed the boot entry, and then appeared to recreate it. But now the system won't boot.
So, at the least the docs need to have a warning.
And it should not be running efibootmgr, ever. The filesystem or block device being installed to may have no association with the host hardware as was the case here.