centos更新了内核,grub启动出现两个选项,进去好像都是一样的,怎么删掉一个呢?
1
octopus_new Jul 22, 2013 #rpm -q kernel //will list all kernel including current kernel
#uname -a //check the kernel name #rpm -e [kernel name] //remove the kernel which is not use anymore. |
2
vietor Jul 22, 2013
#package-clean --oldkernel --count=1
|
3
vietor Jul 22, 2013 上面,错了!
#package-cleanup --oldkernels --count=1 |
4
yinznet OP 上面两位都命令不一样,看不懂啊
|