Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I upgraded from Debian Squeeze 6 to Wheezy 7 but it seems i am using the old kernel.

# uname -r

But i have the newer kernel installed

# dpkg --get-selections | grep linux-image
linux-image-2.6-amd64                           install
linux-image-3.2.0-4-amd64                       install
linux-image-amd64                               install

What should i do?

Here is the proccess i followed to upgrade:

apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get autoremove


echo '' > /etc/apt/sources.list

cat <<EOF >> /etc/apt/sources.list
deb wheezy main
deb-src wheezy main

deb wheezy main
deb-src wheezy main

deb wheezy-updates main
deb-src wheezy-updates main

deb wheezy/updates main
deb-src wheezy/updates main

apt-get update
apt-get upgrade
apt-get dist-upgrade


apt-get install linux-image-2.6-amd64

share|improve this question
up vote 10 down vote accepted

You're on an OpenVZ (container) based virtual machine. As a result you have no control over the kernel; it is provided by your hosting provider, and you are limited to whatever the provider chooses to provide.

If you want a different kernel, you either need to contact your hosting provider, or use something other than OpenVZ.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.