LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-14-2006, 08:00 PM   #1
wetnose23
LQ Newbie
 
Registered: Dec 2005
Posts: 28

Rep: Reputation: 15
delete old kernel with pkgtool


hello


is it safe to delete kernels using pkgtool?


i have two old ones.

the "2.4.31" and "2.6.15.3"

would it also be safe to kill "kernel-ide.2.4.31"?

the new kernel is "2.6.16.22"


thankx
 
Old 07-14-2006, 08:18 PM   #2
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I don't see why not, since the kernel is loaded into the memory. Just use upgradepkg, then run lilo and restart.

...drkstr
 
Old 07-14-2006, 09:11 PM   #3
Tennessee Jed
LQ Newbie
 
Registered: Jun 2006
Location: Slackware
Distribution: Slackware ,,, you mean there are other distros?
Posts: 6

Rep: Reputation: 0
I would also point out that you could just delete it (as root of course). Just be certain to edit lilo.conf and run lilo -t, then lilo.

Deleting the kernels will not remove them from the lilo start screen.

Also, pkgtool will only remove kernel "packages" (.tgz) that you have installed as slackware packages. If you have compiled your own, you will need to delete manually.

As a side note. You don't seem to be running -current, but if you (or anyone else reading this) are, I have found it very helpful to keep all the 2.4.xx and associated packages (alsa, modules, src) installed and install 2.6.xx and associated packages using installpkg rather than upgradepkg, allowing the coexistence of 2.4.xx and 2.6.xx (as opposed to replacement of one over the other) This will prevent the annoying behavior of upgradepkg that "upgrades" the 2.6.xx kernel with the 2.4 kernel when you run a general upgrade of -current from the tree. Even if you never use 2.4, it can reduce these annoyances.

Just to clarify, I use rsync to maintain a local version of -current and upgrade by running a script that essentially runs from /a through /y and upgrades everything that needs it. I could edit the script as well I suppose, but experience has taught me that having two functional kernels listed in lilo can be a very good idea.

I don't use slapt-get or swaret which I think allow some selective upgrade options. I'll keep my feelings regarding these tools to myself.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Delete Kernel raysr Mandriva 2 01-17-2006 09:37 PM
Delete old kernel yotamk Linux - Newbie 2 12-28-2004 11:39 AM
How to delete kernel?? harlemno1 Linux - Software 6 11-23-2004 08:38 AM
How to delete old kernel ByNature Linux - Newbie 17 08-07-2003 12:34 AM
Delete kernel log Linux - Newbie 3 12-20-2002 04:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:49 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration