您的位置:首页 > 其它

vmware虚拟机安装gentoo 出现eth0: Device not found 错误AMD PCnet32模块编译

2011-09-11 12:40 686 查看
——内核配置和编译——

(1)下载内核

(2)解压

# cd /usr/src/

# tar –jxvf linux-2.6.39.8.tar.bz2

# ln –s linux-2.6.39.8 linux

# cd linux

(3)配置

# make mrproper (该命令可确保源代码目录下没有不正确的.o文件,如果是新解压的内核,此步可免)

# make menuconfig (配置内核各选项)

下面的配置建议选上:

①由于在vmware中使用模拟的SCSI硬盘和AMD PCnet32网卡,因此需要“SCSI disk support”、“BusLogin SCSI support”、“AMD PCnet32 PCI support”的支持,最好编译进内核,而不是编译为内核模块。

Device Drivers --->SCSI device support ---><*> SCSI disk support

Device Drivers --->SCSI device support --->SCSI low-level drivers ---> <*> BusLogic SCSI support

Device Drivers ---> Networking support --->Ethernet (10 or 100Mbit) ---> <*> AMD PCnet32 PCI support

如果编译为模块,initrd则是必须的,否则启动过程中会出现“VFS:unable to mounting root fs”.程序包mkinitrd依赖于程序包device-mapper,而程序包device-mapper又依赖于lvm2,因此需要同时下载mkinitrd、device-mapper、lvm2程序包。

②EXT3也是必须编译进内核,而不能编译为模块

File system--->(以下9个选项是关于ext2和ext3文件系统配置,全部选上)

Second extended fs support

Ext2 extended attributes

Ext2 POSIX Access Control Lists

Ext2 Security Labels

Ext3 journalling file system support

Ext3 extended attributes

Ext3 POSIX Access Control Lists

Ext3 Security Labels

JBB (ext3) debugging support
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐