作家
登录

LKU:一套在Ubuntu/LinuxMint上编译、安装和更新最新内核的Shell脚本

作者: 来源: 2017-08-02 15:05:50 阅读 我要评论

  • Generating grub configuration file ... 
  • Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. 
  • Found linux image: /boot/vmlinuz-4.4.10-040410-generic 
  • Found initrd image: /boot/initrd.img-4.4.10-040410-generic 
  • Found linux image: /boot/vmlinuz-4.4.9-040409-lowlatency 
  • Found initrd image: /boot/initrd.img-4.4.9-040409-lowlatency 
  • Found linux image: /boot/vmlinuz-4.4.0-21-generic 
  • Found initrd image: /boot/initrd.img-4.4.0-21-generic 
  • Found memtest86+ image: /boot/memtest86+.elf 
  • Found memtest86+ image: /boot/memtest86+.bin 
  • done 
  •  \_ Done 
  • 安装后须要从新启动以应用新安装的内核。

    如今,你正在应用的就是新安装的 4.4.10-040410-generic 版本内核。

    1. $ uname -a 
    2. Linux magi-VirtualBox 4.4.10-040410-generic #201605110631 SMP Wed May 11 10:33:23 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux 

    安装最新版本内核

    过程与上述雷同,它将主动安装最新版本的内核。

    1. $ ./update_ubuntu_kernel.sh --latest 
    2. [+] Checking Distro 
    3.  \_ Distro identified as LinuxMint. 
    4. [+] Checking Dependencies 
    5.     curl                    Found 
    6.     dkms                    Found 
    7.     git                     Found 
    8.     sudo                    Found 
    9.     wget                    Found 
    10.     whiptail                Found 
    11.     lynx                    Found 
    12. [+] Changing to temporary directory to work in . . . 
    13.  \_ Temporary directory access granted: /tmp/tmp.pLPYmCze6S 
    14. [+] Removing any conflicting remnants . . . 
    15.  \_ Done 
    16. [+] Retrieving available kernel choices . . . 
    17.  \_ Precompiled kernels available from kernel.ubuntu.com: 
    18. Warning: Setting GRUB_TIMEOUT to

        推荐阅读

        “互联网+政务服务”首创“德州经验”

      8月1日,德州市举办“互联网+政务办事”消息宣布会,介绍推动“互联网+政务办事”情况。德州市以用户为中间进行需求侧改革,市平易近和企业可经由过程互联网登录政务>>>详细阅读


      本文标题:LKU:一套在Ubuntu/LinuxMint上编译、安装和更新最新内核的Shell脚本

      地址:http://www.17bianji.com/lsqh/36508.html

    关键词: 探索发现

    乐购科技部分新闻及文章转载自互联网,供读者交流和学习,若有涉及作者版权等问题请及时与我们联系,以便更正、删除或按规定办理。感谢所有提供资讯的网站,欢迎各类媒体与乐购科技进行文章共享合作。

    网友点评
    自媒体专栏

    评论

    热度

    精彩导读
    栏目ID=71的表不存在(操作类型=0)