yinznet
V2EX  ›  问与答

centos更新了内核,出现两个选项

  •  
  •   yinznet · Jul 22, 2013 · 3447 views
    This topic created in 4773 days ago, the information mentioned may be changed or developed.
    centos更新了内核,grub启动出现两个选项,进去好像都是一样的,怎么删掉一个呢?
    4 replies    1970-01-01 08:00:00 +08:00
    octopus_new
        1
    octopus_new  
       Jul 22, 2013   ❤️ 1
    #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.
    vietor
        2
    vietor  
       Jul 22, 2013
    #package-clean --oldkernel --count=1
    vietor
        3
    vietor  
       Jul 22, 2013   ❤️ 1
    上面,错了!

    #package-cleanup --oldkernels --count=1
    yinznet
        4
    yinznet  
    OP
       Jul 22, 2013
    上面两位都命令不一样,看不懂啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   923 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 847ms · UTC 19:47 · PVG 03:47 · LAX 12:47 · JFK 15:47
    ♥ Do have faith in what you're doing.