Linux 内核编译

来源:互联网 发布:mac os最新版本是多少 编辑:程序博客网 时间:2024/06/06 05:02

1.下载Linux2.6.*的内核源代码
2.tar解压到目录dd后,在dd内操作:
1)从/boot里拷贝一份config文件命名为.config; 并make menuconfig 保存
2)make -j 8
3)make modules_install
4)make install
(如果缺包,http://archives.fedoraproject.org/pub/archive/fedora/
)
3.重启。

一言以蔽之:

make -j 8 && make modules_install && make install
原创粉丝点击