/lib/modules/ required?

I recently used yum to upgrade my Fedora version.

Before the upgrade I noticed that the original kernel rpm (from the original Linode image) was basically empty. That is, an "rpm -q -l kernel" listed a lot of files, but those files didn't actually exist.

Now that I've upgraded using yum, those files exist.

My understanding is that the kernel that is used when booting the UML instance isn't in the filesystem, and is compiled to not allow modules to be loaded.

So is it safe to remove /lib/modules and /boot/* to regain some disk space? Has anyone tried this?

Thanks,

–John

2 Replies

@jpw:

So is it safe to remove /lib/modules and /boot/* to regain some disk space? Has anyone tried this?
Yes, and Yes.

-Chris

Great, thanks! Another 75M of space recovered!

–John

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct