LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 623|回复: 2

如何把已编译好的内核放到别台机上用?

[复制链接]
发表于 2005-5-26 01:59:27 | 显示全部楼层 |阅读模式
有两台硬件配置一样的机子A,B,都装as3。现在已在A机上成功编译成功了2.6.10的内核,想接把已编译好的内核直接放到B机上,请都如何实现?要从A上cp些什么呢?在B机上又该如何配置呢?谢谢!
 楼主| 发表于 2005-5-26 02:01:53 | 显示全部楼层
两台机子都是用grub引导。
回复 支持 反对

使用道具 举报

发表于 2005-5-26 02:34:31 | 显示全部楼层
Post by 小菜刀
有两台硬件配置一样的机子A,B,都装as3。现在已在A机上成功编译成功了2.6.10的内核,想接把已编译好的内核直接放到B机上,请都如何实现?要从A上cp些什么呢?在B机上又该如何配置呢?谢谢!
There are several ways:

1. Copy or tar or rsync your whole kernel source tree to your machine B and then do the installation in machine B as usual.
This is not the prefered method because the whole kernel source tree will take several hundred megabytes after successful compilations.

2. Packed it with the package manager or package management method with your distribution.  In other words, pack it with rpm for redhat, or deb for debian or, pkg.tar.gz for arch or tgz for slackware...
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表