Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] OpenLinuxBoot add the OS recovery mode boot entry #2382

Open
MatteoBax opened this issue Feb 13, 2024 · 1 comment
Open
Labels

Comments

@MatteoBax
Copy link

MatteoBax commented Feb 13, 2024

I would like to request adding recovery mode boot entry of Linux kernel based OS as I would have to boot GRUB to boot it.

@MatteoBax MatteoBax changed the title OpenLinuxBoot add the OS recovery mode boot entry [Feature Request] OpenLinuxBoot add the OS recovery mode boot entry Feb 13, 2024
@mikebeaton
Copy link
Contributor

mikebeaton commented Feb 14, 2024

For Boot Loader Specification compliant distros (in the real world, this typically currently means distros which use systemd boot) this already works.

For non BLSpec compliant (i.e., typically, grub based) distros, you are correct that this does not work.

Other than BLSpec, there is no standard for discovering boot entries and associated kernel parameters. However there is enough of a de facto standard for how things are laid out that we were able to write OpenLinuxBoot, which works reliably on as many distros as it does. (See OpenLinuxBoot's documentation and open-source code.)

However recovery mode is (often) just a difference in kernel parameters, and we are not aware of - and were not able to find - any way to obtain the recovery mode kernel parameters, except for detailed parsing of grub.cfg.

Therefore, at the moment, you are correct that you have to boot into grub to get recovery mode, in non-BLSpec compliant distros. Any updates to this would unfortunately be low priority, I am afraid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants