V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Livid
V2EX  ›  Ubuntu

Ubuntu 貌似可以支持低版本系统用高版本内核?

  •  
  •   Livid · 2014-07-17 08:12:48 +08:00 · 7865 次点击
    这是一个创建于 3576 天前的主题,其中的信息可能已经有所发展或是发生改变。
    貌似可以在 Precise 12.04 上用这样的方法安装 Trusty 14.04 的内核,但是保持系统其他部分不变?

    apt-get install linux-image-generic-lts-trusty

    这里关于这种升级的一个讨论:

    http://askubuntu.com/questions/119080/how-to-update-kernel-to-the-latest-mainline-version-without-any-distro-upgrade
    24 条回复    2014-07-17 21:16:52 +08:00
    CoX
        1
    CoX  
       2014-07-17 08:15:20 +08:00 via iPhone   ❤️ 1
    昨晚u12.04 内核升级到了 3.13.*了 系统版本没升级
    Livid
        2
    Livid  
    MOD
    OP
       2014-07-17 08:15:36 +08:00
    @CoX 谢谢确认。
    loading
        3
    loading  
       2014-07-17 08:55:04 +08:00 via Android
    以前试过改源后只装内核……大难不死
    meteor
        4
    meteor  
       2014-07-17 09:36:08 +08:00
    我公司我的测试服务器被我升级后重启进不了系统了.
    在Recovery模式和旧内核下都正常.
    卸载了也不解决问题.
    郁闷中
    ooh
        5
    ooh  
       2014-07-17 09:40:34 +08:00
    12.04 3.15,除了n卡驅動卸載了外,一切都好,再也不用當心無線網卡驅動了
    jarlyyn
        6
    jarlyyn  
       2014-07-17 09:56:16 +08:00
    debian试过只装内核。

    deb系列的不是可以使用backport源么?
    initialdp
        7
    initialdp  
       2014-07-17 10:02:16 +08:00   ❤️ 1
    linux发行版本应该都可以吧,毕竟内核这东西,只要保持接口兼容就没太大问题。我现在的环境是Debian7.5 + kernel 3.15,运行得很好。
    adspe
        8
    adspe  
       2014-07-17 10:09:34 +08:00
    12.04改过一次3.2,但是上了AMD开源驱动立马进不去系统。
    henices
        9
    henices  
       2014-07-17 10:26:36 +08:00
    是可以,但是非常不推荐。各种驱动问题,你遇上了就知道了。
    CoX
        10
    CoX  
       2014-07-17 10:31:25 +08:00
    @Livid
    好像是为了硬件支持

    Your current Hardware Enablement Stack (HWE) is going out of support
    on 08/07/14. After this date security updates for critical parts (kernel
    and graphics stack) of your system will no longer be available.

    For more information, please see:
    http://wiki.ubuntu.com/1204_HWE_EOL

    To upgrade to a supported (or longer supported) configuration:

    * Upgrade from Ubuntu 12.04 LTS to Ubuntu 14.04 LTS by running:
    sudo do-release-upgrade

    OR

    * Install a newer HWE version by running:
    sudo apt-get install linux-generic-lts-trusty libgl1-mesa-glx-lts-trusty xserver-xorg-lts-trusty linux-image-generic-lts-trusty
    tonyluj
        11
    tonyluj  
       2014-07-17 12:38:09 +08:00   ❤️ 1
    一直可以~~~直接git下来的,make oldconfig && make -j4 && make modules_install
    然后再把内核复制到/boot
    grub2-mkconfig -o /boot/grub/grub.cfg
    327beckham
        12
    327beckham  
       2014-07-17 12:43:56 +08:00
    1. ubuntu系统自己的软件更新一直提醒你各种xxx软件包更新,里面就包含了新版内核的。直接升级就是。
    2.之前有测试自己编译的新内核,就是直接去替换系统原有的内核,这就是所谓的升级内核吧?
    3.如果版本跨度大了,谁敢保证不出意外呢。
    nicai000
        13
    nicai000  
       2014-07-17 12:51:27 +08:00
    1, 这个是官方支持的, https://wiki.ubuntu.com/Kernel/LTSEnablementStack
    2, 别的系统基本也可以这样, kernel space和user space直接没有特别强的版本依赖
    ericFork
        14
    ericFork  
       2014-07-17 13:08:09 +08:00
    一直这么用,没有任何问题。
    passluo
        15
    passluo  
       2014-07-17 14:09:23 +08:00
    @ericFork 陛下你在什么机器上用ubuntu?
    DreaMQ
        16
    DreaMQ  
       2014-07-17 14:13:36 +08:00 via Android
    Elementaryos Luna就用了最新内核,貌似没什么问题
    为了Haswell没什么办法啊
    ericFork
        17
    ericFork  
       2014-07-17 14:31:40 +08:00
    @passluo 现在是 Dell R620 和 R720xd
    chocotan
        18
    chocotan  
       2014-07-17 14:35:29 +08:00
    http://kernel.ubuntu.com/~kernel-ppa/mainline/
    我都是直接到这里下最新的
    nirocfz
        19
    nirocfz  
       2014-07-17 14:50:42 +08:00   ❤️ 1
    passluo
        20
    passluo  
       2014-07-17 16:05:47 +08:00
    @ericFork 生产环境上用呀,技高人胆大。

    =。=
    Love4Taylor
        21
    Love4Taylor  
       2014-07-17 16:11:13 +08:00
    目前14.04安装3.16 rc5没任何问题,就是intel_pstate坑死人。。
    nicai000
        22
    nicai000  
       2014-07-17 16:18:26 +08:00
    @chocotan 这是mainline的, 不是Ubuntu的
    ehs2013
        23
    ehs2013  
       2014-07-17 20:02:05 +08:00
    Linode 上好像所有系统都支持?
    shanks
        24
    shanks  
       2014-07-17 21:16:52 +08:00
    12.04 LTS 升级到 12.04.4
    很大程度就是内核的升级
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   862 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 19:34 · PVG 03:34 · LAX 12:34 · JFK 15:34
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.