我从Debian挤压6升级到Wheezy 7,但似乎我使用的是旧内核。
# uname -r
2.6.32-042stab072.10但是我安装了更新的内核
# dpkg --get-selections | grep linux-image
linux-image-2.6-amd64 install
linux-image-3.2.0-4-amd64 install
linux-image-amd64 install我该怎么办?
下面是我升级的过程:
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get autoremove
reboot
echo '' > /etc/apt/sources.list
cat <<EOF >> /etc/apt/sources.list
deb http://mirrors.kernel.org/debian/ wheezy main
deb-src http://mirrors.kernel.org/debian/ wheezy main
deb http://http.debian.net/debian wheezy main
deb-src http://http.debian.net/debian wheezy main
deb http://http.debian.net/debian wheezy-updates main
deb-src http://http.debian.net/debian wheezy-updates main
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
EOF
apt-get update
apt-get upgrade
apt-get dist-upgrade
reboot
apt-get install linux-image-2.6-amd64
reboot发布于 2013-09-18 19:24:40
您在一个基于OpenVZ (容器)的虚拟机上。因此,您无法控制内核;它是由您的托管提供商提供的,并且您仅限于提供者选择提供的任何内容。
如果您想要一个不同的内核,您要么需要联系您的主机提供商,要么使用OpenVZ以外的其他东西。
https://serverfault.com/questions/540029
复制相似问题