Hello, is there a "proper" way to remove grub rescue from the core.img?

That is, if accessing /boot/grub fails, it should not offer a rescue
shell. It could retry, hang, reboot, halt…

Searching about this only yields people who deleted their Linux
partition and want to reinstall Grub or another OS loader. :-/

I want to strip grub rescue from the generated image, or maybe disable
it even if the code was still there.

So far, my best bet would to be to replace grub_rescue_run() with
something else (grub_halt() is a good candidate) and recompile grub.

Regards

_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to