LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 09-25-2003, 04:00 AM   #1
Gilion
Member
 
Registered: Sep 2003
Location: Netherlands
Distribution: Debian 3.0
Posts: 78

Rep: Reputation: 15
Removing native kernel


So, I have installed a new kernel using apt-get install kernel-image-x.x.xx and everything seems to be working fine. Now, the old kernel is still on my system. Since space does matter on my ancient i486, I am considering removing some files.

The old kernel was the native kernel of the installation image. So removing this kernel can't be done by just doing apt-get remove kernel-image-x.x.xx. This package simply doesn't exist. So, how can I remove the files associated with this kernel? If I need to do that manually, which are the ones to remove?

I know it is wise to keep at least one old kernel for emergencies, however can I cut down the number modules by deleting the unused modules in older kernels? What about the redundant modules for the new kernel? Can I remove them as well?

I guess these are very newbie questions. I hope someone can help me out on this downsizing issue.

Gilion
 
Old 09-25-2003, 04:36 PM   #2
linksocc
Member
 
Registered: Jul 2003
Location: US
Distribution: Mandrake 9.0 1st/9.1 2nd/Gentoo 1.4 now
Posts: 313

Rep: Reputation: 30
I'm not sure but I think that when you install the new kernel it erase the old files
 
Old 09-25-2003, 11:05 PM   #3
halo
LQ Newbie
 
Registered: Feb 2003
Distribution: mandrake, debian, red hat
Posts: 8

Rep: Reputation: 0
Look in your /etc/lilo.conf and see where the kernel is, usually in / or /boot, that file you can safely remove as long as you remove all occurances from lilo.conf and run lilo before you reboot
 
Old 09-26-2003, 11:26 AM   #4
Gilion
Member
 
Registered: Sep 2003
Location: Netherlands
Distribution: Debian 3.0
Posts: 78

Original Poster
Rep: Reputation: 15
I was wise enough to read howto's and manpages on lilo.conf and lilo. During my very first experiment my system got harmed seriously. Extending the delay somehow caused both kernels to fail loading. I'll start a new thread on that one.
 
  


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing 2.4 kernel nny0000 Slackware 2 10-02-2005 03:56 AM
Removing 2.4 kernel modules Proud Linux - General 1 08-12-2004 06:32 AM
removing old kernel wrongman Debian 2 05-03-2004 09:19 AM
Removing Kernel Rv5 Linux - General 4 02-07-2004 09:21 AM
Promise TX2000 + native kernel driver Moritz Linux - Hardware 3 11-06-2002 01:34 PM


All times are GMT -5. The time now is 08:05 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