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

Provide a way to force load modules with having to rebuild the image #186

Closed
nmeum opened this issue Sep 26, 2022 · 0 comments · Fixed by #187
Closed

Provide a way to force load modules with having to rebuild the image #186

nmeum opened this issue Sep 26, 2022 · 0 comments · Fixed by #187

Comments

@nmeum
Copy link
Contributor

nmeum commented Sep 26, 2022

While debugging #185 I noticed that there doesn't seem to be any way to force load a module without rebuilding the image. As such, even though I knew which modules I had to load in order to workaround #185 I still had to boot from a USB stick, modify modules_force_load in /etc/booster.yaml, rebuild the initramfs and reboot. I think in such situation it would be convenient to provide a way to force load modules before the init is run.

One easy way to achieve that would via a Kernel parameter, e.g. modules=t10_pi,sd_mod. If this would be supported, I would just need to edit the Kernel parameters from my bootloader configuration menu. Alternatively, it might be useful to provide a way to re-run the Booster mounting code after the BusyBox emergency shell has exited. This would allow users to manually load modules using busybox insmod.

Thoughts?

nmeum added a commit to nmeum/booster that referenced this issue Sep 26, 2022
nmeum added a commit to nmeum/booster that referenced this issue Sep 27, 2022
anatol pushed a commit that referenced this issue Sep 30, 2022
[Anatol]: change parameter name to `rd.modules'; add integration test

Fixes #186
anatol pushed a commit that referenced this issue Oct 4, 2022
[Anatol]: change parameter name to `rd.modules_force_load'; add integration test

Fixes #186
anatol pushed a commit that referenced this issue Oct 10, 2022
[Anatol]: change parameter name to `rd.modules_force_load'; add integration test

Fixes #186
@anatol anatol closed this as completed in 2b49c7c Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant