スポンサーリンク


概要

Debianでカーネルの再構築をする手順

必要パッケージのインストール

# aptitude install kernel-package
# aptitude install fakeroot
# aptitude install libncurses-dev

ソースの確認

# apt-cache search linux-source 
linux-patch-debian-2.6.26 - Debian patches to version 2.6.26 of the Linux kernel
linux-source-2.6.26 - Linux kernel source for version 2.6.26 with Debian patches
linux-tree-2.6.26 - Linux kernel source tree for building Debian kernel images

ソースの取得

# apt-get install linux-source-2.6.26
# apt-get install linux-patch-debian-2.6.26

ソースの解凍と設定変更

# cd /usr/src/
# tar xjfv linux-source-2.6.26.tar.bz2 
# ln -s linux-source-2.6.26 linux
# cd linux
# make-kpkg clean 
# cp /boot/config-2.6.26-2-686 .config
# make menuconfig
menuconfig.png

再構築

make-kpkg --rootcmd fakeroot --append-to-version myct kernel-image 

参考


Total:9162 / Today:3 / Yesterday:0


スポンサーリンク


添付ファイル: filemenuconfig.png 2418件 [詳細]

トップ   差分 バックアップ リロード   一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2010-09-18 (土) 23:48:12