[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Removing grub rescue from core.img
From: |
Ángel González |
Subject: |
Removing grub rescue from core.img |
Date: |
Thu, 21 Jan 2016 01:11:55 +0100 |
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
- Removing grub rescue from core.img,
Ángel González <=