作者 主題: Debian update Kernel 筆記  (閱讀 2921 次)

0 會員 與 1 訪客 正在閱讀本文。

RogerHuang

  • 懷疑的國中生
  • **
  • 文章數: 38
    • 檢視個人資料
Debian update Kernel 筆記
« 於: 2007-12-25 11:50 »
作業系統:RHEL AS3 update3
VMware:VMware-workstation-6.0.2-59824

kernel版本:linux-2.6.23.12.tar.bz2 

debian:~# apt-get install kernel-package libncurses5-dev fakeroot wget bzip2
debian:~# cd /usr/src
debian:/usr/src# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.12.tar.bz2
debian:/usr/src# tar xjf linux-2.6.23.12.tar.bz2
debian:/usr/src# cd linux-2.6.23.12
debian:/usr/src/linux-2.6.23.12# make menuconfig

debian:/usr/src/linux-2.6.23.12#make-kpkg clean
debian:/usr/src/linux-2.6.23.12#fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image
debian:/usr/src/linux-2.6.23.12# cd ../
debian:/usr/src#dpkg -i linux-image-2.6.23.12_custom.1.0_i386.deb
debian:/usr/src# shutdown -r now
debian:~# uname -a

Kernel download:
http://www.kernel.org/pub/linux/kernel/v2.6/

參考資料來源如下:
http://www.howtoforge.com/forums/showthread.php?t=21
http://kernel-handbook.alioth.debian.org/

================================================================================
2008/01/24(星期四)
作業系統:Windows XP
VMware:VMware-workstation-6.0.2-59824

kernel版本:linux-2.6.23.14.tar.bz2 

debian:~# apt-get install kernel-package libncurses5-dev fakeroot wget bzip2
debian:~# cd /usr/src
debian:/usr/src# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.23.14.tar.bz2 
debian:/usr/src# tar xjf linux-2.6.23.14.tar.bz2 
debian:/usr/src# cd linux-2.6.23.14
debian:/usr/src/linux-2.6.23.14# make menuconfig

debian:/usr/src/linux-2.6.23.14#make-kpkg clean
debian:/usr/src/linux-2.6.23.14#fakeroot make-kpkg --initrd --revision=custom.1.0 kernel_image
debian:/usr/src/linux-2.6.23.14# cd ../
debian:/usr/src#dpkg -i linux-image-2.6.23.14_custom.1.0_i386.deb
debian:/usr/src# shutdown -r now
debian:~# uname -a

Kernel download:
http://www.kernel.org/pub/linux/kernel/v2.6/

參考資料來源如下:
http://www.howtoforge.com/forums/showthread.php?t=21
http://kernel-handbook.alioth.debian.org/

« 上次編輯: 2008-01-24 14:21 由 RogerHuang »