Re: Removing old kernels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 31, 2005 at 02:03:48PM +0100, John O'Loughlin wrote:
> You can use rpm -e to remove, just like any rpm. Just make sure you
> remove the right one! uname -r shows you your current kernel. 

To add to this:  NEVER remove your currently running kernel or the evil
spirits will get you.

> Then edit grub.conf (you should do this amyway to make sure the kernel
> the latest kernel is your default) and remove the sections associated
> with the kernels you no longer have..

grub.conf will be updated automatically by rpm.  You should not have to
edit any entries in it.

When you're done, don't forget to up2date -p
to let the RHN know about your current configuration.

        .../Ed

> On Tue 31 May 2005 at 08:58, Shane Presley (shane.presley@xxxxxxxxx) wrote:
> > Hello,
> > 
> > I have a RHEL v3 server that's been around for awhile, and kept
> > up2date with kernel upgrades.
> > 
> > But I haven't been removing old kernels.  So /boot is filling up.  
> > 
> > How do I clean that up?  I know when the system boots I can remove
> > images.  But I'd like to do this without rebooting.  For any one image
> > there seem to be a ton of files. Do I just remove them?  I think I
> > have to also edit the grub.conf?
> > 
> > Maybe there's a command line way to do this in one step?  That would be nice :)
> > 
> > Thanks
> > Shane
> > 
> > -- 
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
> 

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux