移植新内核到Linux系统上的操作步骤
作者:Engineer-Bruce_Yang 时间:2023-09-01 09:55:07
1、在ubuntu官网下载ubuntu16.04的镜像和对应ubuntu16.04的内核版本源代码,或者在镜像源上找
2、安装ubuntu16.04到PC主机上
接下来执行以下:
编译新的Linux内核给X86内核使用出现以下错误:
scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or directory
解决方法:
(1)下载openssl-1.0.1d.tar.gz
tar xzf openssl-1.0.1d.tar.gz
cd openssl-1.0.1d/
./config shared no-asm --prefix=$PWD/tmp
然后打开Makefile
搜索install_docs,将这个编译选项去掉。
make && make install
cp ./tmp/include/* /usr/include
cp ./tmp/lib/* /usr/lib
(2)apt-get upgrade && apt-get update
个人推荐第二种。
再到内核源码根目录
cp /boot/config-xxxxxx-generic
make -jx (x代表数字2,4,8,表示CPU核心数)
make modules_install
make install
确认成功后,reboot
内核移植成功。
来源:https://blog.csdn.net/morixinguan/article/details/79553301
标签:linux,移植,内核,操作步骤
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
开心网广告收入月均700万 两轮融资2300万美元
2009-11-05 12:12:00
革新中求发展 商中携手青岛合作伙伴打造共赢舞台
2009-10-14 12:46:00
![](https://img.aspxhome.com/file/UploadPic/200910/2009101574113606.jpg)
站长必知的健康上网小常识
2007-12-10 18:12:00
投放google Adsense的三点心得
2009-01-08 11:11:00
动易2006版模板方案的导入、导出教程
2009-02-13 18:13:00
![](https://img.aspxhome.com/file/UploadPic/20092/2009213165710496s.jpg)
VMware15.5版本安装Windows_Server_2008_R2系统教程图解
2023-10-29 04:49:14
![](https://img.aspxhome.com/file/2023/3/99383_0s.jpg)
8条IIS 6 常见问题解答
2007-10-26 12:44:00
Docker容器 日志中文乱码问题解决办法
2023-10-01 21:29:10
详解Linux误删用户家目录的恢复方法
2023-08-17 16:29:58
SMTP协议原始命令码和工作原理
2010-03-16 18:50:00
AdSense中文官方:以平常心看待导出链接
2008-12-31 18:30:00
Discuz! 7.1:热点话题聚焦社区热点信息
2009-09-25 12:12:00
![](https://img.aspxhome.com/file/UploadPic/20099/25/2009925121643357s.jpg)
Discuz称将推独立插件满足phpwind用户QQ接入需求
2011-07-13 18:29:28
dedeCMS站内搜索代码的改进
2010-01-16 17:25:00
SEO之:影响百度网页快照优化排名的因素
2009-03-17 00:34:00
服务器安全需要注意的四个事项
2010-08-15 18:38:00
nginx和squid配合搭建的web服务器前端系统
2009-07-23 10:55:00
![](https://img.aspxhome.com/file/UploadPic/20097/25/2009725151433949s.jpg)
搜索引擎要求更加严格 再谈SEO原创为王
2009-03-03 12:45:00
用Goolge adsense广告赚钱 到底适合哪些网站呢
2008-07-16 12:45:00
十二个月内 仅仅依靠Google打造成功网站
2009-02-04 16:59:00