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
304 views
304 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 7 21
edit history

Please log in or register to answer this question.

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 7 21
edit history
...