LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-03-2005, 03:08 PM   #1
Regulus
Member
 
Registered: Dec 2004
Posts: 41

Rep: Reputation: 15
Remove a kernel


Recently, I installed Fedora Core 3 and updated it from the 2.6.9-1.667 to 2.6.9-1.681_FC3 kernel. Unfortunately my Ipod Mini refused to mount because of known problems. Though Jeremy reported that his Ipod did mount under the 2.6.9-1.681_FC3 kernel, it didn't on my machine.

Hence, I recompiled the 2.6.9 kernel without the EFI support to get it working with my Ipod (it worked). After that I also installed the 2.6.10 kernel.

When I just found out there was a new FC3 kernel out (2.6.9-1.724_FC3) I upgraded the old 681_FC3 kernel with yum and lo-and-behold, my Ipod mounted without problems.

So my question now is, can I delete the old kernels?

The 2.6.9 kernel is at /usr/src/redhat/BUILD/kernel-2.6.9 (I did an rpmbuild from the 681_FC3 kernel) and the 2.6.10 kernel at /usr/src/linux-2.6.10. As far as I can tell, both are unrelated to the FC3 kernels, and hence I would expect to be able to remove both directories and the config-files, system maps initrd files and the vmlinuz files in /boot. Is this correct?

Regards -- Regulus
 
Old 01-03-2005, 03:19 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
yes that seems fine
what u can do is , move that files to another folder and edit ur grub.conf if u do not find something misssing at later stage, u may delete the files u had taken backup of

regards
 
Old 01-03-2005, 03:33 PM   #3
Regulus
Member
 
Registered: Dec 2004
Posts: 41

Original Poster
Rep: Reputation: 15
Thanks masand! It's so simple a solution that I am amazed I could not figure it out myself.

I've moved the directories and files in /boot to another place and rebooted, which went fine (also the Ipod mounted okay). So it seems to work, thanks.

Regards -- Regulus
 
Old 01-03-2005, 03:43 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
i generally keep a backup of my last 2-3 kernels , that has helped me lot to identify some problems which i find out are due to the new kernel
and i do not delete the config files since if i need to go back to the ;ast kernel, even if i do not have it at least i can compile that with the config file

regards
 
Old 01-03-2005, 03:49 PM   #5
Regulus
Member
 
Registered: Dec 2004
Posts: 41

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by masand
i generally keep a backup of my last 2-3 kernels , that has helped me lot to identify some problems which i find out are due to the new kernel and i do not delete the config files since if i need to go back to the ;ast kernel, even if i do not have it at least i can compile that with the config file
Thanks for the advice!

I guess that when I keep the linux-2.6.XX.tar.bz2 files and the config files, I can safely delete the linux-2.6.XX/ directories, right?

Regards -- Regulus
 
Old 01-03-2005, 03:56 PM   #6
dezza
Member
 
Registered: Nov 2004
Location: Denmark
Distribution: ArchLinux, Debian, Gentoo, Ubuntu, VoidLinux
Posts: 133

Rep: Reputation: 18
Quote:
Originally posted by masand
i generally keep a backup of my last 2-3 kernels , that has helped me lot to identify some problems which i find out are due to the new kernel
and i do not delete the config files since if i need to go back to the ;ast kernel, even if i do not have it at least i can compile that with the config file

regards
Wise words ..

I always keep the previous kernel, not more than the one i replaced, and it will help you alot So you could add 5 secs timeout to lilo or grub and add both kernels and then if your system suddently behaves weird or you have troubles with anything, boot with your old kernel and tryout, and your chances will be doubled if you run into programs of some kind, or if your system won't boot. Cause who knows where you left your livecd last time? And what if you live in your own geek-apartment with only one CDRW, in the non-booting system! ..
 
Old 01-03-2005, 11:17 PM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
Quote:
Originally posted by Regulus
Thanks for the advice!

I guess that when I keep the linux-2.6.XX.tar.bz2 files and the config files, I can safely delete the linux-2.6.XX/ directories, right?

Regards -- Regulus
if u keep the config files and the archived linux-2.6.XXX source then u can delete the whole directory of uncompressed linux source 2.6.XXXX

regards
 
  


Reply



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
kernel compilation : to remove a kernel which files should be deleted b0nd Linux - Newbie 2 08-17-2005 11:35 AM
how to remove a kernel lucs Slackware 5 05-03-2005 12:42 AM
how do I remove new kernel? jmral23 Linux - Newbie 1 02-09-2005 05:48 PM
remove kernel collimate Linux - Newbie 4 12-03-2003 02:37 AM
remove kernel praveen_2003 Linux - Software 5 07-20-2003 12:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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