LinuxSir.cn,穿越时空的Linuxsir!

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

[请教]如何利用ubuntu的kernel配置

[复制链接]
发表于 2009-7-3 10:45:09 | 显示全部楼层 |阅读模式
我突然有个想法:

利用Ubuntu的live CD,我的T400工作的不错呀。网卡,声卡,显卡都工作的不错,那么我是否可以利用它的内核在安装T400的时候?

关键是如果可以的话,如何进行呀?
发表于 2009-7-3 11:04:53 | 显示全部楼层
Ubuntu里怎么编译Gentoo里就怎么编译。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-3 11:13:44 | 显示全部楼层
how to know how many modules is used in Ubuntu Live CD?
回复 支持 反对

使用道具 举报

发表于 2009-7-3 14:01:25 | 显示全部楼层
ubuntu/boot下面有config的,直接load就行了。
回复 支持 反对

使用道具 举报

发表于 2009-7-4 23:39:32 | 显示全部楼层
在ubuntu live cd下面 #lsmod你会看到非常多的modules.要精确看自己电脑需要什么模块可以这样#lspci -vv | grep kernel driver
比如我的
tenfar tenfar # lspci -vv | grep driver
        Kernel driver in use: pcieport-driver
        Kernel driver in use: pcieport-driver
        Kernel driver in use: nvidia  #显卡驱动
        Kernel driver in use: ohci_hcd usb 1.0
        Kernel driver in use: ehci_hcd usb 2.0
        Kernel driver in use: pata_amd #ide驱动
        Kernel driver in use: sata_nv  #sata硬盘驱动
        Kernel driver in use: HDA Intel  #声卡驱动
        Kernel driver in use: forcedeth   #有线网卡驱动
        Kernel driver in use: b43-pci-bridg  #无线网卡驱动
回复 支持 反对

使用道具 举报

发表于 2009-7-5 10:43:15 | 显示全部楼层
直接load config不行吧,ubuntu打的补丁不是一般的多……和gentoo这种比较干净的内核还是很大不一样的。
回复 支持 反对

使用道具 举报

发表于 2009-7-5 10:50:43 | 显示全部楼层
我不知道真成还是假成。我原来是这样load的,能得到一个比较通用的内核。

其实可以用sabayon的内核配置。layman -a sabayon之后在/usr/loca/portage/layman/sabayon/sys-kernel/linux-sabayon/files里面能找到配置。
回复 支持 反对

使用道具 举报

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

本版积分规则

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