LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 06-18-2004, 02:21 PM   #1
dineshjk
Member
 
Registered: Apr 2004
Location: India
Distribution: Red Hat
Posts: 36

Rep: Reputation: 15
up2date installed a new kernel but did not remove earlier.


My first session with up2date tempted me to start with the kernel updating. I did that and it installed the new version of the kernel. Old and new both are (ntpl) (What is this? I do not know). The two kernels differ in 2.x.y.zzzz 2.x.y.aaaa.

I am surprised to see that in the bootloader now new kernel is added (previously I had two options DOS and Kernel 2.x.y.zzzz (ntpl) now the third option Kernel 2.x.y.aaaa is added.)

Do I really need to keep the old kernel? If yes why? If no how should I remove the old kernel.

Thanks in advance

Dinesh
 
Old 06-18-2004, 02:39 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Let's say you install a new kernel, and it doesn't work with your system. If you still had the old kernel installed, you could just hit the power button and reboot to it. If you didn't, you would be in trouble.

If the new kernel is working fine, you don't really need the old one anymore. It doesn't hurt to leave it, though. To remove it, you can use "rpm -e kernel-version_numbers". If you have a custom kernel, or don't want to trust the package-manager, you would need to delete three files (initrd-version_numbers, System.map-version_numbers, and vmlinuz-version_numbers), edit your /etc/grub/grub.conf to remove the entry, and delete /usr/lib/modules/version_numbers. After that, the old kernel is gone.
 
  


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
Install earlier Kernel?? vbtalent Fedora 4 11-21-2005 10:17 PM
Installing an earlier kernel apolinsky SUSE / openSUSE 4 04-14-2005 08:27 AM
after installing yum.. should i remove up2date? guest Linux - Newbie 1 03-14-2005 08:26 PM
up2date installed new kernel, can't run it toddcurry Red Hat 4 06-19-2004 06:22 PM
up2date and others (like samba) will not let me remove, upgrade, install, etc! cl2imson Linux - Newbie 2 04-16-2004 06:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:46 AM.

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