virualbox 复制linux,启用网卡报错:device "eth0" does not seem to be present, delaying initialization

virualbox 虚拟机复制linux,启用网卡报错:device “eth0” does not seem to be present, delaying initialization


问题描述:

在virualbox中复制虚拟机,无法查询网卡,在启动时报错,具体错误如下:device "eth0" does not seem to be present, delaying initialization 。

解决办法

1、打开etc/sysconfig/network-scripts/ ifcfg-eth0,删除不必要的配置,确定ONBOOT应该为yes

  • 打开ifcfg-eth0文件
vi etc/sysconfig/network-scripts/ifcfg-eth0

本次实验修改后结果如下:

DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
IPADDR=192.168.1.6
NETMASK=255.255.255.0
GATEWAY=192.168.1.254

重启网卡

service network restart

2、如果还是未找到,执行以下操作:

 rm -rf /etc/udev/rules.d/70-persistent-net.rules

重启网卡。

注意:如果有多个网卡,目前是直接在“etc/sysconfig/network-scripts”目录删除了其他网卡信息。

虚拟机复制linux
Centos 配置eth0 提示Device does not seem to be present

你可能感兴趣的:(linux)