• ubuntu如何安装或更换内核


    内核是一个系统的灵魂,系统在启动的时候,就是基于相关的内核启动该系统的。我们怎么样更改ubuntu系统的内核并运行它呢?

    ubuntu18.04LTS

    互联网安装内核。

     

    安装内核的步骤非常简单,我们可以先查看一下当前的内核版本。

    • 使用命令:

      uname -a

      Linux UATinterface 4.4.0-116-generic #140~14.04.1-Ubuntu SMP Fri Feb 16 09:25:20 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

    搜索目前存在的内核版本。使用命令:

    # apt-cache  search linux|grep linux-image

    可以看到有很多的内核版本。

    linux-image-generic-lts-utopic - Generic Linux kernel image

    linux-image-generic-lts-vivid - Generic Linux kernel image

    linux-image-generic-lts-wily - Generic Linux kernel image

    linux-image-generic-lts-xenial - Generic Linux kernel image

    linux-image-hwe-generic-trusty - Depends on the generic hardware enablement kernel image.

    linux-image-hwe-virtual-trusty - Depends on the virtual hardware enablement kernel image.

    linux-image-lowlatency-lts-utopic - lowlatency Linux kernel image

    linux-image-lowlatency-lts-vivid - lowlatency Linux kernel image

    linux-image-lowlatency-lts-wily - lowlatency Linux kernel image

    linux-image-lowlatency-lts-xenial - lowlatency Linux kernel image

    linux-image-unsigned-3.13.0-166-generic - Linux kernel image for version 3.13.0 on 64 bit x86 SMP

    linux-image-unsigned-3.13.0-166-lowlatency - Linux kernel image for version 3.13.0 on 64 bit x86 SMP

    linux-image-unsigned-3.13.0-167-generic - Linux kernel image for version 3.13.0 on 64 bit x86 SMP

    linux-image-unsigned-3.13.0-167-lowlatency - Linux kernel image for version 3.13.0 on 64 bit x86 SMP

    linux-image-unsigned-3.13.0-168-generic - Linux kernel image for version 3.13.0 on 64 bit x86 SMP

    linux-image-unsigned-3.13.0-168-lowlatency - Linux kernel image for version 3.13.0 on 64 bit x86 SMP

    linux-image-unsigned-4.15.0-1023-azure - Linux kernel image for version 4.15.0 on 64 bit x86 SMP

    linux-image-unsigned-4.15.0-1030-azure - Linux kernel image for version 4.15.0 on 64 bit x86 SMP

    linux-image-unsigned-4.15.0-1031-azure - Linux kernel image for version 4.15.0 on 64 bit x86 SMP

    linux-image-unsigned-4.15.0-1032-azure - Linux kernel image for version 4.15.0 on 64 bit x86 SMP

    linux-image-unsigned-4.15.0-1035-azure - Linux kernel image for version 4.15.0 on 64 bit x86 SMP

    linux-image-unsigned-4.15.0-1036-azure - Linux kernel image for version 4.15.0 on 64 bit x86 SMP

    linux-image-unsigned-4.15.0-1037-azure - Linux kernel image for version 4.15.0 on 64 bit x86 SMP

    linux-image-unsigned-4.15.0-1039-azure - Linux kernel image for version 4.15.0 on 64 bit x86 SMP

    linux-image-unsigned-4.15.0-1040-azure - Linux kernel image for version 4.15.0 on 64 bit x86 SMP

    linux-image-unsigned-4.15.0-1041-azure - Linux kernel image for version 4.15.0 on 64 bit x86 SMP

    linux-image-unsigned-4.4.0-143-generic - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-unsigned-4.4.0-143-lowlatency - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-unsigned-4.4.0-144-generic - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-unsigned-4.4.0-144-lowlatency - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-virtual-lts-utopic - This package will always depend on the latest minimal generic kernel image.

    linux-image-virtual-lts-vivid - This package will always depend on the latest minimal generic kernel image.

    linux-image-virtual-lts-wily - This package will always depend on the latest minimal generic kernel image.

    linux-image-virtual-lts-xenial - This package will always depend on the latest minimal generic kernel image.

    linux-image-4.4.0-1002-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1003-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1005-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1006-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1009-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1010-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1011-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1012-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1014-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1016-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1017-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1019-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1022-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1023-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1024-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1025-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1027-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1028-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1029-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1031-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1032-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1034-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1036-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1037-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1038-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1039-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-4.4.0-1040-aws - Linux kernel image for version 4.4.0 on 64 bit x86 SMP

    linux-image-aws - Linux kernel image for Amazon Web Services (AWS) systems.

    安装的话,需要注意,安装内核需要安装image和header,不能只安装其中一个。

    比如我现在安装一个linux-image-4.8.0-58-generic,就必须还要安装一个

    linux-headers-4.8.0-58-generic。

    apt-get install linux-image-4.8.0-58-generic linux-headers-4.8.0-58-generic

    安装完成后,重启机器。在重启的过程中,使用TAB+shift组合键进入grub引导界面,不同的机器进入的方式可能不同。

    这里有的人的是中文,选择第二个高级选项。选择我们刚安装的内核进入,这样系统运行的内核就是我们新安装的内核了。

  • 相关阅读:
    【Prince2科普】Prince2的七大原则(6)
    6.08 PMO的生存挑战-这些企业的痛你遇到了吗?
    【Prince2科普】Prince2的七大原则(5)
    【Prince2科普】Prince2的七大原则(4)
    【Prince2科普】Prince2的七大原则(3)
    【Prince2科普】Prince2的七大原则(2)
    项目管理三大认证体系,该选择谁?
    事件委托
    关于js中pushstate popstate
    js中标签的获取
  • 原文地址:https://www.cnblogs.com/williamjie/p/10723919.html
Copyright © 2020-2023  润新知