Re: Whole lot of dir's in /lib/modules - can I delete them?
Eli Schwartz <[email protected]> Sun, 26 Apr 2026 21:01:35 -0400
| Newsgroups | gmane.linux.gentoo.user |
|---|---|
| Message-ID | <[email protected]> |
On 4/26/26 1:10 PM, [email protected] wrote: >> If you have cleared out old kernel images and initramfs files from your >> /efi/ or /boot/, then you have no use for their old module files hanging >> around in your /lib/modules/ and you can safely delete them manually to >> recover disk space. > > Thanks Michael, that's what I though. I've been using the prebuilt > kernel, "-bin" for a while hence a whole lot of modules but have to get > back to my own build which usually has stuff all built-in. And yes, I > have been deleting stuff in /efi/EFI/Gentoo but didn't think of /lib/ > modules. I encourage both of you to install app-admin/eclean-kernel and explore the possibility of its being more helpful than manually rm'ing files in /efi/EFI/Gentoo. -- Eli Schwartz
OpenPGP_signature.asc
(application/pgp-signature, 236 B)
-----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCae61bwUDAAAAAAAKCRCEp9ErcA0vVyz8 AQDF6Ew2gsuOlejk9ZEr1Dladx1E0L2v9n5UA1xm941evAEAni6YGQqUjYs8RbE2rWU11+QVNroi HuwDnouEsNkI2AE= =e2bj -----END PGP SIGNATURE-----