The official logo of Debian GNU / Linux Working daily with Debian Etch: I use both with great satisfaction on corporate servers and on personal notebook (the same one with which I write at this time). I am a staunch defender of the Stable branch of Debian - and any other operating system - also because I make a professional and I can not afford the luxury of wasting time, or - worse - to undermine the stability of a system to test the last trinket. On my notebook, though, I often presents the need to exploit a number of features that are absent or incomplete in kernel 2.6.18, one above all the possibility of using NTFS-3G driver to better manage the NTFS partitions. Many point out the little reassuring alert to boot a Debian Etch on which you have installed these drivers:

WARNING: Deficient Linux kernel detected. Some driver features are
not available (swap file on NTFS, boot from NTFS by LILO), and
unmount is not safe unless it's made sure the ntfs-3g process
naturally terminates after calling 'umount'. If you wish this
message to disappear then you should upgrade to at least kernel
version 2.6.20, or request help from your distribution to fix
the kernel problem. The below web page has more information:
http://ntfs-3g.org/support.html#fuse26

For this reason I rely on you, and use the Debian Backports - strictly only for test and development environments - a glistening kernel 2.6.22!

The basic premise is that it has added to its Debian Backports repository. If you have not already done so, proceed as follows:

  1. login as root user
  2. edit the file / etc / apt / sources.list:
    # vim /etc/apt/sources.list
  3. add the following:
    deb http://www.backports.org/debian/ etch-backports main contrib non-free
    deb-src http://www.backports.org/debian/ etch-backports main contrib non-free
  4. import the gpg keys:
    # gpg --keyserver subkeys.pgp.net --recv 16BA136C
    # gpg --armor --export 16BA136C | apt-key add -

This done, pua proceed to download the source of the new kernel and all packages necessary for its completion:

# apt-get update
# apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget libncurses5 libncurses5-dev

We move then in source directory and unpack the archive containing the kernel:

# cd /usr/src
# tar xjf linux-2.6.22-3.tar.bz2
# ln -s linux-2.6.22-3 linux
# cd /usr/src/linux
# cd /usr/src
# tar xjf linux-2.6.22-3.tar.bz2
# ln -s linux-2.6.22-3 linux
# cd /usr/src/linux
now perform the usual operations:

# make clean && make mrproper
# cp /boot/config-`uname -r` ./.config
# make menuconfig

We prepare the system for compiling and we start building packages. Deb:

# make-kpkg clean
# fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers

PLEASE NOTE: This may take several hours. It all depends on the ability to calculate the machine you're working.

There is nothing else to do than installing the two packages. Deb thus obtained:

# dpkg -i linux-image-2.6.22-custom_2.6.22-custom-10.00.Custom_i386.deb
# dpkg -i linux-headers-2.6.22-custom_2.6.22-custom-10.00.Custom_i386.deb
# dpkg -i linux-image-2.6.22-custom_2.6.22-custom-10.00.Custom_i386.deb
# dpkg -i linux-headers-2.6.22-custom_2.6.22-custom-10.00.Custom_i386.deb
And make the `` reboot the machine:

# shutdown -r now

Share this content:
  • del.icio.us
  • Google Bookmarks
  • Digg
  • Facebook
  • Technorati
  • MySpace
  • Twitter