@related : [[unicorn]] [[linux-image]] [[dpkg]] ===== [[Linux]] [[Kernel]] on [[Debian]] ===== * http://www.stanchina.net/~flavio/debian/quickref.html # ftp://ftp.kernel.org/pub/linux/kernel/v2.4 cd /usr/src/ wget http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.20.tar.gz uname -a su apt-get install kernel-package cd /usr/src/ tar xvfj kernel-source*.tar* [ ! -f "linux" ] && ln -fs kernel-source* linux cd /usr/src/linux export VERSION=${HOSTNAME}+0.0.`date +%Y%m%d` make menuconfig && make-kpkg clean kernel_image time make-kpkg --initrd --revision=${VERSION} kernel_image dpkg -i ../kernel-image*${VERSION}*.deb Be sure to choose correct FS (2d ext) : IDE support into kernel Then I prefer LoadLin to lilo GruB etc ... More : install-modules, modconf, modprobe module_upgrade ... http://www.kernel.org/ 2.6 neeeds apt-get install module-init-tools ===== Modules :===== cd /usr/src/linux || exit export VERSION=${HOSTNAME}.0.`date +%Y%m%d%H%M` make-kpkg --revision=${VERSION} kernel_image export MODULE_LOC=/usr/src/modules make-kpkg --revision=${VERSION} clean modules modules_image make-kpkg --targets dpkg -i /usr/src/*${VERSION}*.deb ===== misc ===== * http://www.debianplanet.org/node.php?id=969&cid=12018 make-kpkg --added-patches preempt,lowlatency --added-modules i2c,lm-sesnors kernel_image modules_image -config menu