内核升级4.4.22成功
Tofloor
poster avatar
shipinliang
deepin
2016-09-03 08:20
Author
本帖最后由 shipinliang 于 2016-9-25 01:13 编辑

1、下载内核并解压
2、安装编译环境

sudo apt-get install build-essential kernel-package libncurses5-dev fakeroot

在解压目录下打开终端,然后:
3、make oldconfig

4、make  menuconfig


5、打包成DEB包

sudo make-kpkg --initrd --append-to-version=name kernel_image kernel-headers -jx  ##多线程  name自己任意改,x如cpu为双核取4

6、编译好的内核在上一层目录,执行

sudo dpkg -i *.deb   ##安装此目录所有deb包
sudo update-grub              ##刷新grub.

7、重启


用uname -a 查看,内核已为4.4.22
      
Reply Favorite View the author
All Replies
avatar
shipinliang
deepin
2016-09-03 09:02
#1
卸载内核

如果需要卸载指定的内核,请终端执行:

sudo apt-get --purge  remove linux-image-    ##双击tab键补全,卸载有问题的内核文件
sudo apt-get --purge  remove linux-headers-  ##双击tab键补全,卸载有问题的内
Reply View the author
avatar
intionwun
deepin
2016-09-04 17:40
#2
顶上 找个时间试一下
Reply View the author
avatar
mobing317
deepin
2016-09-04 20:11
#3
我用你的方法升级到4.6已经成功了,谢谢楼主,哈哈
Reply View the author
avatar
shipinliang
deepin
2016-09-25 09:04
#4
本帖最后由 shipinliang 于 2016-9-25 01:09 编辑

暂没有发现问题,且可正常使用开源显卡驱动了(GTX 750ti)
升级成功图片如下:
Reply View the author
avatar
shipinliang
deepin
2016-09-25 09:11
#5
开源驱动正常了,如图
Reply View the author
avatar
aurthur
deepin
2016-09-25 09:22
#6
本帖最后由 aurthur 于 2016-9-25 02:05 编辑

升级到了4.7,请问一下你编译它花了多长时间?
Reply View the author
avatar
shipinliang
deepin
2016-09-26 22:01
#7
不是哥不想升到4.7.5,实在是搞不定virtualbox的1908错误
Reply View the author
avatar
aurthur
deepin
2016-09-26 22:14
#8
本帖最后由 aurthur 于 2016-9-26 14:16 编辑
https://bbs.deepin.org/post/43003
不是哥不想升到4.7.5,实在是搞不定virtualbox的1908错误

不会也是gcc的问题吧,我用的VMware,在内核4.7下需要gcc6.2.
Reply View the author
avatar
shipinliang
deepin
2016-09-26 22:16
#9
https://bbs.deepin.org/post/43003
不会也是gcc的问题吧

modprobe vboxdrv
Reply View the author
avatar
aurthur
deepin
2016-09-26 22:21
#10

没用过virtualbox,不懂
Reply View the author
avatar
ddb_01
deepin
2016-09-27 00:52
#11
https://bbs.deepin.org/post/43003
不是哥不想升到4.7.5,实在是搞不定virtualbox的1908错误

以前有解决过这个问题,不够那时忘了记录了。
现在我都是直接卸载掉重新安装过的。
Reply View the author
avatar
gufan
deepin
2017-03-07 08:17
#12
https://bbs.deepin.org/post/43003
我用你的方法升级到4.6已经成功了,谢谢楼主,哈哈

确定可以升级到4.6吗?我安装了最新版的Deepin,intel无线网卡识别不了,必须要到4.6内核才行
Reply View the author
avatar
liujiayi771
deepin
2017-03-07 18:36
#13
按照你这种方法能降内核版本吗?我想把deepin15.4的内核从4.9降级到4.8
Reply View the author
avatar
阳光
deepin
2017-03-09 20:20
#14
新的显卡是不是应把deepin15.4升级到4.10
Reply View the author