Guidelines

This site is for tech Q&A. Please keep your posts focused on the subject at hand.

Ask one question at a time. Don't conflate multiple problems into a single question.

Make sure to include all relevant information in your posts. Try to avoid linking to external sites.

Links to documentation are fine, but in addition you should also quote the relevant parts in your posts.

0 votes
20 views
20 views

I have a system that fails to start and instead drops into an initramfs shell. For debugging purposes I want to know what modules are loaded into the kernel at that point, but lsmod is not available. Is there another way to list the kernel modules?

in Sysadmin
by (100)
1 4 10
edit history

Your answer

Preview

Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
By submitting this post you agree to our Terms & Conditions.
To avoid this verification in future, please log in or register.

1 Answer

0 votes
 

Quoting from man lsmod:

lsmod is a trivial program which nicely formats the contents of the /proc/modules, showing what kernel modules are currently loaded.

A simple cat /proc/modules will give you the information you're looking for.

by (100)
1 4 10
edit history
...