How to install latest upstream kernel on debian testing


  1. First let's add preferences for experimental repository, so it would be used only when specified manually    
  2. cat >> /etc/apt/preferences.d/experimental << EOF
    Package: *
    Pin: release o=Debian,a=experimental
    Pin-Priority: 102
    EOF
    
  3. Then lets add an experimental repo to sources list
    echo "deb http://ftp.debian.org/debian experimental main contrib \
         non-free" >> /etc/apt/sources.list #chose your mirror
    
  4. update packages db
    apt-get update
    
  5. search for kernel of you choice. In my case i wanted linux-image-3.8-trunk-amd64
    apt-cache search linux-image # find your image
    
    i also needed firmware-realtek, firmware-linux-nonfree and intel-microcode for hardware compatibility since i use intel core
  6. than just install every thing from experemental repo
    apt-get -t experimental install firmware-linux-nonfree intel-microcode \
         firmware-realtek amd64-microcode linux-image-3.8-trunk-amd64 \
         linux-headers-3.8-trunk-amd64
    
  7. Live long and prosper