gentoo内核编译


可以用genkernel来编译内核

先安装 emerge genkernel

在 genkernel --menuconfig all

加上--menuconfig后可以有界面自己选 选项。


一:64位内核

编译64位内核要选上下面几项:


下面是开启对32位的兼容

gentoo内核编译_第1张图片


二:大内存支持(如果安装64位下面打就可以不用看了,自己会支持大内存的)


如果安装32位,也就是i686,不选下面这些,内存只能用1G

Processor type and features  ---> 

      Memory model (Flat Memory)  --->  

               (X) Flat Memory 

先把这选上,要不然最大只能开启4G


Processor type and features  ---> 

       High Memory Support (64GB)  --->  

               (X) 64GB  

在把64GB选上。


三:CPU

好的文章,看这些就好了。

http://blog.csdn.net/yming0221/article/details/7354039

http://www.gentoo.org/doc/zh_cn/kernel-config.xml



四:蓝牙支持


看官方的 wiki  http://wiki.gentoo.org/wiki/Bluetooth

[*] Networking support  --->
    <*> Bluetooth subsystem support  --->
        
        Select options for Bluetooth applications, see table below:
        <*>   ...

            Bluetooth device drivers  --->

               Select a Bluetooth HCI driver, e.g.:
               <*> HCI USB driver (btusb)
选上,据体连蓝牙看后面的文章。


五:

 如果是文件系统是ext4,不要忘记在  File systems  --->  选上对ext4的支持。


六:

触控板,无线网卡,用genkernel就自动解决了,

具体怎么用见后面的文章。



你可能感兴趣的:(gentoo内核编译)