Custom Debian Kernel Compiling

DSDT example.

$ cd /usr/src/
$ iasl -tc dsdt.dsl

# aptitude install kernel-package ncurses-dev fakeroot
$ mkdir /usr/src/kernel
$ cd /usr/src/kernel
$ dpkg --get-selections | grep linux-image
  linux-image-2.6-amd64                           install
  linux-image-2.6.26-1-amd64                      install
$ apt-get source linux-image-2.6.26-1-amd64
$ cd linux-2.6-2.6.26
$ cp /boot/config-2.6.26-1-amd64 .config
$ make menuconfig

Now turn off CONFIG_STANDALONE and set CONFIG_ACPI_CUSTOM_DSDT_FILE to '/usr/src/dsdt.hex'.

$ fakeroot make-kpkg kernel_image

www: debian-kernel-compile (last edited 2009-03-08 00:26:40 by localhost)