Debian : compilation d’un kernel custom sous squeeze
- Mardi 20 décembre 2011
- Publié dans Administration . Debian . Linux . Système
- Par Boris HUISGEN
- Ecrire
Petit mode d’emploi de la compilation d’un noyau custom sous Debian…
Installation des sources et des dépendances
# apt-get install linux-source-2.6.32 # apt-get install fakeroot bzip2 kernel-package libncurses-dev # apt-get build-dep linux-source-2.6.32 # cd /usr/src/ # tar xjf linux-source-2.6.32.tar.bz2 # ln -s linux-source-2.6.32 linux
Configuration du noyau
# cd linux # make clean && make mrproper # cp /boot/config-`uname -r` .config # make menuconfig
Compilation du noyau
# make-kpkg clean # fakeroot make-kpkg --append-to-version "bhuisgen" --revision "1" --us --uc --initrd kernel_image kernel_headers
Installation du noyau
# cd /usr/src # dpkg -i linux-image-2.6.32-bhuisgen_1_amd64.deb linux-headers-2.6.32-bhuisgen_1_amd64.deb
Pas encore de commentaires.