大体上按照官网的Handbook(英文版)安装即可,有以下几点注意下:
(1)如果使用的virtual disk type时使用的是默认的SCSI时,需要在编译内核的时候把下面这些模块支持添加进去(直接编译进内核[*])
-->Device Drivers-->SCSI device support--><*>SCSI disk support -->Device Drivers-->SCSI device support-->SCSI low-level drivers--> <*>BusLogic SCI support-->FlashPoint support -->Device Drivers-->Fusion MPT device support-->所有的 -->Device Drivers-->USB support--><*>USB Mass Storage support -->Device Drivers-->Networking support-->Ethernet driver support(NEW)--> <*>AMD PCnet32 PCI support ----------------------------------------------------------------------------------------------------- -->Device Drivers ---> SCSI device support ---> <*> SCSI device support <*> SCSI disk support SCSI low-level drivers ---> <*> SYM53C8XX Version 2 SCSI support ----------------------------------------------------------------------------------------------------- Device Drivers ---> SCSI device support ---> <*> SCSI device support <*> SCSI disk support SCSI low-level drivers ---> <*> BusLogic SCSI support ----------------------------------------------------------------------------------------------------- -->Bus options (PCI etc.) ---> [*] PCI Support [*] ISA Support
(2)本地化中文支持:
# nano -w /etc/locale.gen
添加以下几行
en_US ISO-8859-1 en_US.UTF-8 UTF-8 zh_CN GB18030 zh_CN.GBK GBK zh_CN.GB2312 GB2312 zh_CN.UTF-8 UTF-8
# nano -w /etc/02locale
添加以下几行
LANG="en_US.UTF-8" LC_CTYPE="zh_CN.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8"
这边的情况是网络接口名称改变了,eth0 -> enp2s1 (/etc/init.d/dhcpcd start 之后再ifconfig就看得到了)
1. 删除原有连接 # rm /etc/init.d/net.eth0
2. 重建连接# ln -s net.lo net.enp2s1
3. 重新配置网口名# nano -w /etc/conf.d/net config_eth0="dhcp" -> config_enp2s1="dhcp"
4. reboot一下看看,如果之前有设置dhcpcd自动启动的话,ifconfig就看得到了
Enjoy your Gentoo !
reference:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml
http://www.wutianqi.com/
http://huagelinux.blog.163.com/blog/static/87337083201002201211946/