1. 程式人生 > >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 虛擬機器複製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”目錄刪除了其他網絡卡資訊。