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
(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
相关文章推荐
- 用安装python模块出现error: command 'gcc' failed with exit status 1 ,实际已经安装了gcc的,还是报错,然后发觉是failed不是not found,这说明这个错误个gcc没多大关系,应该是缺少某些功能模块,执行如下操作:
- 编译安装pnp是出现RRDs Perl Modules not found 错误
- 编译安装pnp是出现RRDs Perl Modules not found 错误
- Python在windows下安装模块出现编译错误解决方法
- 在Linux下安装PHP过程中,编译时出现configure: error: libjpeg.(a|so) not found 错误的解决办法
- PHP编译安装make install时出现错误提示导致无法安装PHP
- ubuntu bochs 编译安装及可能出现的错误的解决办法
- Windows7中安装驱动程序时 出现错误信息找不到指定模块的解决
- Ubuntu 编译安装 Linux 4.0.5 内核,并修复 vmware 网络内核模块编译错误
- Ubuntu12.04安装64位系统出现编译错误error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or dir
- adb shell命令后出现error: device not found错误提示
- HXSafeGuard工程通过VS2010编译未安装VS2008出现以下错误
- office 2016 word 出现隐藏模块中出现编译错误: link
- centos7 安装mysql--python模块出现EnvironmentError: mysql_config not found和error: command 'gcc' failed with exit status 1
- centos7 安装MySQLdb模块出现 EnvironmentError: mysql_config not found
- 安装Python mysqlclient出现“OSError: mysql_config not found”错误
- android下mm模块出现编译错误问题
- jetson tx1安装caffe 编译时 出现error==cudaSuccess(8 VS 0)类似错误
- PHP 5.3.10 编译安装时出现 undefined reference to `libiconv' 错误的解决方法
- Linux:解决VM软件安装Linux的Ubuntu过程中,开启Linux出现Oprating System not found错误