Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-02-2007, 10:35 AM   #1
Registered: Nov 2003
Posts: 789

Rep: Reputation: 39
Kernel Modules in /lib/modules

Hi there --

I am trying to free up disk space in the / directory, and I noticed that the /lib/modules folder was the largest of all directories. The folder contains five kernel modules which are listed below:


I ran the uname -a command, and the output was the following:

Linux <hostname> 2.4.18-18.7.xmp #1 SMP <date> i686 unknown

My thinking is to remove the 2.4.18-3 kernels since that version is no longer being used on the system in question. What I am not sure about is if the 2.4.18-18.7.x kernel can be safely removed or should it be left alone. Can anyone clarify this? Thanks.
Old 04-02-2007, 11:00 AM   #2
LQ Newbie
Registered: Feb 2007
Location: Spain
Distribution: debian etch
Posts: 13

Rep: Reputation: 0
As far as I know, every directory that's contained in /lib/modules corresponds to a different kernel, and they should all be independent, so you could safely remove them.
Did you install them manually (make config, make deps, etc) or did you install them as a package with rpm, dpkg or whatever? If you installed them precompiled, I would deinstall them in the same way.
If you are not really sure to delete them, you can rename them (mv 2.4.18-18.7.xdebug 2.4.18-18.7.xdebug.old).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FATAL: Could not load /lib/modules/2.6.14-default/modules.dep no such file exist dr_zayus69 Linux - Software 3 12-26-2005 06:44 PM
Update-modules: No longer managing /lib/modules/modprobe.conf? geekzen Debian 0 04-03-2004 06:49 PM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 02:32 PM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - General 1 01-24-2002 01:50 AM
Re: modprobe: Note: /etc/modules.conf is more recent than lib/modules/2.4.9/modules.d Andy.M Linux - Newbie 2 01-24-2002 01:40 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration