以下是教程
- //Debian的准备工作
- echo -e “\ndeb http://ftp.debian.org/debian/ wheezy-backports main” >> /etc/apt/sources.list
- apt-get update
- apt-get install aptitude
- //查看当前系统所有内核
- dpkg -l|grep linux-image | awk ‘{print $2}’
- —————————————————–
- root@SYS-ARM-2T-01:~# dpkg -l|grep linux-image | awk ‘{print $2}’
- linux-image-4.9.58-armada375
- //查询可用内核列表
- aptitude search linux-image | awk ‘{print $2}’
- ——————————————————-
- root@SYS-ARM-2T-01:~# aptitude search linux-image | awk ‘{print $2}’
- linux-image
- linux-image-3.10-3-rpi
- linux-image-3.12-1-rpi
- linux-image-3.16.0-0.bpo.4-armm
- linux-image-3.16.0-0.bpo.4-armm
- linux-image-3.16.0-4-armmp
- linux-image-3.16.0-4-armmp-lpae
- linux-image-3.18.0-trunk-rpi
- linux-image-3.18.0-trunk-rpi2
- linux-image-3.2.0-4-rpi
- linux-image-3.6-trunk-rpi
- linux-image-4.9
- linux-image-4.9.0-0.bpo.2-armmp
- linux-image-4.9.0-0.bpo.2-armmp
- linux-image-4.9.0-0.bpo.6-armmp
- linux-image-4.9.0-0.bpo.6-armmp
- linux-image-4.9.2-armada375
- linux-image-4.9.58-armada375
- linux-image-armmp
- linux-image-armmp-lpae
- linux-image-rpi
- linux-image-rpi-rpfv
- linux-image-rpi2-rpfv
- //Debian 安装内核
- apt-get -t wheezy-backports install linux-image-3.16.0-4-armmp -y
- PS:当然可以任意选择以上输出的内核
- 这里我先安装linux-image-3.16.0-4-armmp
- 另外,这里提示更新硬盘信息什么的,选yes吧
- //卸载其余内核
- apt-get purge linux-image-4.9.58-armada375 -y
- PS:这里会问是否中止卸载内核,请选【NO】
- //然后重启
- reboot
- //重启完后,看看当前系统所有内核
- dpkg -l|grep linux-image | awk ‘{print $2}’
- 显示linux-image-3.16.0-4-armmp,就OK!