• Remove Old Kernels in Ubuntu 11.10 (Oneiric ocelot)


    When you’re running Ubuntu and updating your system frequently, there is a high chance that older kernels that are no longer needed are still installed on your system. Over time, if these older kernels are not removed, precious hard disk space may be wasted and your system’s performance may suffer.

    This brief tutorial will show you how to find out your current running kernel and how to remove older ones that are not being used by your system. This will help you free up some space and may also improve your system’s performance.

    Objectives:

    • Find out your current running kernel
    • Remove older kernels
    • Enjoy!

    To get started, press Ctrl – Alt – T to open Terminal. When it opens, run the commands below to view your current running kernel.

    uname -r

    old_kernel_oneiric

    Next, take notes of your current kernel. DO NOT REMOVE THIS!

    old_kernel_oneiric_1

    Next, type the command below to view / list all installed kernels on your system.

    dpkg --list | grep linux-image

    old_kernel_oneiric_5

    Next, find all the kernels that which number are lower than your current kernel.  When you know which kernel to remove, continue below to remove it.

    old_kernel_oneiric_2

    Finally, run the commands below to remove the kernel you selected.

    sudo apt-get purge linux-image-x.x.x.x-generic

    old_kernel_oneiric_6

    When you’re done, run the commands below to update grub2

    sudo update-grub2

    old_kernel_oneiric_7

    That’s all.

    原文:http://www.liberiangeek.net/2011/11/remove-old-kernels-in-ubuntu-11-10-oneiric-ocelot/

  • 相关阅读:
    Unity3D笔记 英保通三 脚本编写 、物体间通信
    Unity3D笔记 英保通二
    Unity3D 面试ABC
    Unity3D 记第一次面试
    Unity3D笔记 英保通一
    (转)关于如何学好游戏3D引擎编程的一些经验
    Java_异常
    Java_多态
    Java_继承(下)
    Java_继承(上)
  • 原文地址:https://www.cnblogs.com/veins/p/3718305.html
Copyright © 2020-2023  润新知