設為首頁收藏本站

Hippies

 找回密碼
 立即註冊

掃一掃,訪問微社區

搜索
熱搜: 活動 交友 discuz
查看: 2058|回復: 0
打印 上一主題 下一主題

Kernel 3.12 Released – Install and Compile

[複製鏈接]
  • TA的每日心情
    開心
    2016-2-27 23:29
  • 簽到天數: 27 天

    [LV.4]偶爾看看III

    438

    主題

    611

    帖子

    705

    積分

    高級會員

    Rank: 4

    積分
    705
    跳轉到指定樓層
    樓主
    發表於 2014-9-15 14:37:33 | 只看該作者 回帖獎勵 |倒序瀏覽 |閱讀模式 简体中文繁體中文
    本帖最後由 kevinhu 於 2015-5-24 11:03 編輯

    The newly released Kernel 3.12 has several new features, including some new drivers for the NVIDIA Optimus, and the Radeon Kernel Graphics Driver. It also offers huge improvements to the EXT4 filesystem, and some updates to XFS and Btrfs.

    for debian :

    http://www.tecmint.com/kernel-compilation-in-debian-linux/

    1.首先你的系統裡需要有安裝上 fakeroot kernel-package 兩個套件
    #apt-get install fakeroot kernel-package
    2.到 Linux kernel 網站上找你要的 kernel source code 的壓縮包下載到電腦上
    # wget -c https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.12.tar.xz
    3.解開壓縮包
    # tar -xvJf linux-3.12.tar.xz
    4.變更作業路徑到kernel soure code 目錄下
    # cd linux-3.12
    5.把原先的開機kenrnel 設定檔複製到目前的作業目錄下并更名為 .config
    # cp /boot/config-'uname –r' .config
    6.調整要新編的 kernel 參數設定
    # apt-get install libncurses5-dev --> 使用 menuconfig 需要先安裝此套件
    # make menuconfig
    調整參數可能需要按你的需求來設定
    7.重編前清除source tree
    # make-kpkg clean
    8.開始編kernel
    # export CONCURRENCY_LEVEL=3 --> 使用多核CUP時可將參數設為 5
    # fakeroot make-kpkg --append-to-version "-customkernel" --revision "1" --initrd kernel_image kernel_headers
    9.編好的kernel上掛
    # dpkg -i linux-image-3.12.0-customkernel_1_i386.deb linux-headers-3.12.0-customkernel_1_i386.deb
    10.重開機選新的核心
    11.必要是可把舊的kernel移除
    # apt-get remove linux-image-(non-working-kernel)


    註:切記要用root身份來做,編完有問題可以重新再設定參數再編直到滿意為止。
    最近訪問 頭像模式 列表模式
    您需要登錄後才可以回帖 登錄 | 立即註冊

    本版積分規則

    小黑屋|手機版|Archiver|Hippies 手作皮革工作坊  

    GMT+8, 2024-5-1 16:09 , Processed in 0.055398 second(s), 20 queries , Apc On.

    Powered by Discuz! X3.2

    © 2001-2013 Comsenz Inc.

    快速回復 返回頂部 返回列表