fedora 删除旧内核(Delete old kernel on fedora)

fedora updates so fast that we have to remove some old kernels.

The kernels are in the /boot directory.

fllow the commands:

Command:$rpm -qa | grep kernel look at the kernels on fedora

Command:$uname -r look at the kernel we currently use

If there are two or more kernels on fedora, we should remove the others except the currently one.

Command:$sudo yum remove kernle-3.9……….. remove the other kernels.

I do not recommend you use the Command:$sudo rpm -e …….. , for the rpm -e just remove the old kernels, however the yum remove will not only remove the old kernels but also modifed the start-up action.