- 簡易的步驟
http://my.cs.lmu.edu/~tcostell/ubuntu-kernel-howto/ - 後來我跟著這篇作
http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=172050
10.04之後的版本可能會遇到套件沒有幫你把initramfs跟grub改好
所以你需要mkinitramfs, update-grub
我的情況沒遇到, 我在build 14.04的時候只安裝了這些檔案
sudo dpkg -i linux-headers-3.13.0-38_3.13.0-38.65_all.deb
sudo dpkg -i linux-headers-3.13.0-38-reifan_3.13.0-38.65_amd64.deb
sudo dpkg -i linux-image-3.13.0-38-reifan_3.13.0-38.65_amd64.deb - Debian系上其實有個工具叫make-kpkg
http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?topic_id=36258
****************************************************
Update 一下資訊:
1.下載linux-2.6.37.2.tar.bz2
2.cd linux-source
3.cp /boot/config-2.6.32-28-generic .config
4.make clean
5.sudo make menuconfig
6.Load .config file , exit and saved.
7.make-kpkg --revision 0.0.1 --initrd kernel_image kernel_headers
8.build done.
9.dpkg -i linux-headers-2.6.37.2_0.0.1_amd64.deb
10.dpkg -i linux-image-2.6.37.2_0.0.1_amd64.deb
***11.sudo update-initramfs -c -k 2.6.37.2
12.sudo update-grub
13.reboot
**************************************************** - 簡潔的Build 3.14 kernel on Ubuntu Raring, Saucy, Trusty(13.04, 13.10, 14.04)
http://blog.pinguinplanet.de/2014/04/building-custom-kernel-314-on-ubuntu.html - 比較複雜的make-kpkg實作記錄
http://sanyuan.blogspot.tw/2012/02/linuxubuntu-1004-lts-kernel.html - 講回到最元祖,也是有些人最推崇的re-build kernel method
http://www.cnblogs.com/wwang/archive/2011/01/07/1929486.html - 完整sop
http://blog.csdn.net/jinble03/article/details/7070982
【Ubuntu】重編核心完整流程
http://cheerc.blogspot.tw/2011/11/note-ubuntukernel.html
另一方面,連Build都不想Build的話
照這樣把新的kernel抓回來裝
沒有留言:
張貼留言