Re: Removing old kernels

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

 



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. 
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..

title old kernel
kernel vmlinuz......   
initrd initrd ....





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

[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