如何安装旧的kernel

来源:互联网 发布:windows.old删除不掉 编辑:程序博客网 时间:2024/05/06 13:54

更新完新的kernel后发现有问题,如何回滚到旧的kernel。


# uname -r
3.0.101-0.18-default

# zypper se -s kernel-default
This will list the available kernel versions in the update channel.

# zypper in --oldpackage kernel-default=3.0.101-0.15.1
Installs the older kernel. You will be prompted to backrev other dependent kernel packages. Select Solution 1 to downgrade your kernel.

# zypper in --oldpackage kernel-source=3.0.101-0.15.1
You will also need to downgrade the kernel source so applications that depend on the kernel can properly compile their kernel drivers. Again, select Solution 1 to downgrade dependent packages.

# reboot
The server needs to be rebooted to activate the downgraded kernel.

0 0