Win8.1 (64bit) Hyper-V installs Ubuntu 14.04LTS (+ bit)

Source: Internet
Author: User

In order to learn to develop under the Linux platform, after nearly a year, re-build the development environment.

Writing a document is really time-consuming, but it is necessary to write it, so a simple thing takes nearly 3 hours to get it finished.

Like this serial nesting problem, once more than 1.5 hours it is necessary to stop to think about, with a pen on the paper to simply sort things out, in order to solve a, there is a problem B, and then to solve B again problems c .... So with a few back and forth, it's easy to forget what you started out with. Because in the end it is possible to solve the problem in the most primitive way: unloading load or restarting the computer.

1, first use VirtualBox 64bit installed Ubuntu 14.04 64bit, and then installed the driver support and expansion of the package, the process is relatively smooth, the VM and VB use or more handy, most of the keys are known in which places.

There's an episode in there, VirtualBox 32-bit and 64-bit, but installing an operating system typically only installs 32-bit systems, and if you're installing a 64-bit system, you need the CPU to support virtualization and set the turn-on INTEL-VI in the BIOS.

The check tool uses securable, most Intel CPUs support VI, and then the Dell ProBook series starts press F10 to enter the BIOS settings, which is enabled under Advanced devicesetting.

2, due to the discovery of CPU support virtualization, think of the previous due to their old books do not support VI to try Hyper-V, This time, my own computer is the win8.1,win8.1 system has integrated the Hyper-V components, you need to open the System program itself, similar to the IIS and Telnet tools, check and restart the computer will automatically update. This is too basic operation will not write too detailed, there is time to put a picture.

Hyper-V installs well, and then installs Ubuntu, and most of the virtual machine installation system processes are similar, also are allocated CPU, allocate memory, hard disk, network connection settings. Installation is no problem.

The key question is: After the installation is successful, Ubuntu cannot connect to the Web. Ifconfig found that there is no network card, back to check the VM setting, found that the first time there is no network card allocation, also naturally not what kind of connection. This part of the problem solving is the place that takes the most time, the middle process of the twists and turns not table.

Hyper-V is also available in three ways, and this is explained in detail in the previous essay about the three ways VMware is connected to the network, with a simple one.

1) External, corresponding to bridge mode, is in the same network with host hosts, that is, in the same segment, the same gateway, a simple understanding is a router divided into a LAN under two independent host, host and VM Internet does not affect each other.

2) Internal, corresponding to the NAT mode, is the host hosts have two network cards, one of the network card 1 external connection, the other network card 2 is equivalent to a router gateway, and then the VM is a sub-network under the router host. VM Internet is dependent on host hosts, which is equivalent to accessing a portable WIFI,VM on the host via a portable WiFi connection.

3) Private, corresponding to the host-only mode, only host communication between VMS, VMS can not connect to the extranet. Connection mode and 2) similar, except that NIC 2 does not have a route to the network card 1, the two network cards are independent, there is no 2 and 1 static routes to get through.

There are two articles, which can be broadly referred to below:

Http://goxia.maytide.net/read.php/29.htm

Http://www.cnblogs.com/elvis0123/articles/2006771.html

After installing the system update lib,package are not to be avoided, must be connected to the network, external/internal can, and finally choose to use External mode.

Start preparing to install Microsoft's official Linux intergaration service package, install version 2.1, result make however, install the latest 3.5 release results only support Centos/rhel, discard.

Error 1:hyper-v Wireless Catastrophic failure (0X8000FFFF) Solution: Restart Vmms virtualmachinemanagementservcie Service
net stop Vmms; net start Vmms
Reinstall install Vms_ppnetcfg-u vms_pp; netcfg–c p–i vms_pp Reinstall the wireless card to Device Manager, locate the wireless network card, uninstall it, and then check that recent hardware changes will automatically reinstall
Error 2:switch Create failed name =
Solution:
First download Nvspbind,get yourself a copy of Nvspbindhttps://social.technet.microsoft.com/Forums/windowsserver/en-US/2cdd5476-0bdd-456d-b0db-25dec4eadada/ Hyperv-and-setup-switch-failed-error-applying-new-virtual-network-changes?forum=winserverhyperv Then Nvspscrub.js: Http://www.pburch.com/blog/?p=407#more-407Then Follow these instructions to clean up the Mess:http://eniackb.blogspot . com/2009/10/hyper-v-error-error-applying-new.html
The results are performed CSCRIPT Nvspscrub. Js/p reported a fucking error:unable to get a instance of Msvm_virtualswitchmanagementservice:invalid class
Google after the resolution, try Google N times after the last restart resolution.
Error 3:already bind:XXXsolution:unbind ituseful guide:http://www.altaro.com/hyper-v/ troubleshooting-the-hyper-v-virtual-switch-part-2/
C:\windows\system32> nvspbind/o * vms_ppHyper-V Network VSP Bind application 6.1.7725.0.Copyright (c) Microsoft Corporation.  All rights reserved. Protocols: {44D7E248-0186-44A9-B427-1701F8EEFF36} "vms_pp" "hyper-V extensible Virtual Switch": Disabled:local area Con nection* disabled:local Area connection* 2 Enabled:wi-fiDisabled:ethernet 2 disabled:local Area connection* 1 disabled:ethernet cleaning up...finished (0) C:\WINDOWS\sy Stem32> nvspbind/n "Wi-Fi"Hyper-V Network VSP Bind application 6.1.7725.0.Copyright (c) Microsoft Corporation.  All rights reserved. Adapters: {3b54b16e-798f-46ab-b837-d156784a398b}"pci\ven_10ec&dev_8179&subsys_197d103c" "Realtek rtl8188ee 802.11bgn Wi-Fi Adapter" "Wi-Fi": Cleaning up ... Finished (0) c:\windows\system32> Nvspbind. exe/u {3b54b16e-798f-46ab-b837-d156784a398b}Hyper-V Network VSP Bind application 6.1.7725.0.Copyright (c) Microsoft Corporation. All rights reserved. Acquiring write lock...success adapters: {3b54b16e-798f-46ab-b837-d156784a398b} "pci\ven_10ec&dev_8179& subsys_197d103c "" Realtek rtl8188ee 802.11bgn Wi-Fi Adapter "Wi-Fi": Enabling:ms_netbios enabling:ms_netbios E Nabling:ms_server enabling:ms_ndiscap enabling:ms_wfplwf_upper enabling:ms_msclient Enabling:ms_ndis UiO Enabling:ms_implat ENABLING:MS_LLDP Enabling:ms_pppoe enabling:ms_rdma_ndk ENABLING:MS_NETBT disabling:vms_ppApplying changes cleaning up...releasing write lock...successfinished (0) c:\windows\system32>
The final result is as follows:

Finally in Ubuntu to modify the/etc/network/interfaces and/etc/resolv.conf parameters can be, in addition to IP, all the same.

VM Ping External network: Ping www.baidu.com-c 3

VM Ping Host:

Host Ping VM:

The communication phase is over.

Following the update under Ssh/samba Server, and then install the SECURECRT Connection terminal on the host, this part is not stated, can refer to the early essays.

Building the environment is mainly to learn the development of Linux platform, about the other aspects of Hyper-V is no longer in depth.

Win8.1 (64bit) Hyper-V installs Ubuntu 14.04LTS (+ bit)

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.