LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 04-02-2007, 11:35 AM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 718

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:

2.4.18-18.7.x
2.4.18-18.7.xdebug
2.4.18-18.7.xsmp
2.4.18-3debug
2.4.18-3smp

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, 12:00 PM   #2
LuLoh
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).
 
  


Reply


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 07:44 PM
Update-modules: No longer managing /lib/modules/modprobe.conf? geekzen Debian 0 04-03-2004 07:49 PM
Slack9 - no PPP (can't open dependencies file /lib/modules/2.4.18/modules.dep) bluehz Slackware 1 05-04-2003 03: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 02: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 02:40 AM


All times are GMT -5. The time now is 01:42 AM.

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