Solve the problem of VMware cloning Linux not online

Source: Internet
Author: User

linux system is not enough to use, what to do? Are we 1510 re-installed linux system? Of course not, we can clone the other linux using the virtual machine cloning function above System, reducing the time it takes to reinstall lnux . Cloning the past linux system can be used normally? Of course not, we need to modify the settings to be able to oh   let's do it now. ^_^!



1 , modify the MAC address under the virtual machine.

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/7F/EB/wKioL1cxqknBaQbYAAGRFr91-og323.gif "title=" Lip_ Image002.gif "style=" float:left; "alt=" Wkiol1cxqknbaqbyaagrfr91-og323.gif "/>

2 , modifying the Linux configuration

[Email protected] ~]# Vim/etc/sysconfig/network-scripts/ifcfg-eth0

The configuration content is as follows:

Device= "Eth0"

Bootproto= "None" statically: Static

hwaddr= "00:50:56:2f:e8:34" # Note that this Mac address is the new Mac address that was generated just above the virtual machine

onboot= "Yes"

Type= "Ethernet"

ipaddr=192.168.0.113 #ip Address

netmask=255.255.255.0 # Subnet Mask

gateway=192.168.0.1 # Gateway

:Wq # Save and exit

[[Email protected] ~]# service Network Restart # restart NIC

Restart NIC times error message: device eth0 does not seem to be  Present, delaying initialization

Workaround:[[email protected] ~]# rm-f /etc/udev/rules.d/70-persistent-net.rules # Delete the file (because this file binds the old Nic and mac address)

or modify the file parameters

[[email protected] ~] #vim/etc/udev/rules.d/70-persistent-net.rules   #comment out the oldmacThe configuration information, and then the new MAC informationNAMEmodified toeth0,Save and exit onOK

: Wq Save exit and execute INIT 6 reboot system.

[[email protected] ~]# Init 6                                                                                           #personally prefer to use"Init 6" Restartof course, you can use"Shutdown-r Now"Reboot .    

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/7F/EB/wKioL1cxqtOBuYIVAAAvMBPpdEs877.gif "title=" Lip_ Image004.gif "alt=" Wkiol1cxqtobuyivaaavmbppdes877.gif "/>

After reboot:

[email protected] ~]# ifconfig

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/7F/EE/wKiom1cxqg2hRkAWAACOqx3hFNw986.gif "title=" Lip_ Image006.gif "alt=" Wkiom1cxqg2hrkawaacoqx3hfnw986.gif "/>


Troubleshooting VMware Cloning Linux does not work on the Internet

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.