virtualbox克隆

D:\Program Files\Sun\VirtualBox>VBoxManage.exe clonevdi "D:\Program Files\ubuntu
\ubuntu.vdi" "D:\Program Files\ubuntu1\ubuntu1.vdi"
VirtualBox Command Line Management Interface Version 3.0.12
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'VDI'. UUID: 94b1fbf8-00f1-4a1a-b1b8-a0e972095
549

新建注册虚拟硬盘即可

解决克隆后的系统联网找不到网卡设备问题
如 sudo /etc/init.d/networking restart
* Reconfiguring network interfaces...
eth0: ERROR while getting interface flags: No such device
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Failed to bring up eth0.

解决办法:
sudo rm -rf etc/udev/rules.d/70-persistent-net.rules
然后重起网卡 不行就重启机器

猜你喜欢

转载自zxh116116.iteye.com/blog/1172039