
Once the Ubuntu installation is done, open a terminal window on it and run “ifconfig”.Specify the user name, computer name and a password you would like to use:.
If not, recheck the virtual switch settings: Verify that you have internet connection.Once the Ubuntu installer loads, select “Install Ubuntu”:.Click “start” to start the virtual machine:.Right-click on the newly created VM and select “Connect”:.Verify the VM settings on the last page and click “Finish”:.Specify the path to the Ubuntu installation disk image.Select “Create a virtual hard disk” and specify the size you want to use:.Select the network switch created before:.Specify the memory amount you would like to allocate to your VM:.Press “Next” to skip the introduction page:.
Right-click on your computer name in Hyper-V manager and select “New->Virtual Machine”:
Only if you have created an internal switch, go to Network Connections in Control Panel, open the properties of your Internet connection and share it with the newly created switch:. If that happens, go to Network Connections in Control Panel and uncheck the corresponding checkbox for your network adapter: Once you uncheck it and apply the changes, you can try creating the switch again. Press “Create Virtual Switch” to complete the operation: Warning: Hyper-V may report that your network adapter is already bound to the virtual switch protocol:. We will configure network sharing with an internal switch later. If you do not have a DHCP server, or do not have enough IP addresses available, select an internal switch. This will virtually place your VM into the same network as if it was just another physical computer. If your computer is connected to a network with a DHCP server that can assign address to your VM, select an external switch. Create a new virtual switch: There are 2 options of creating a switch:. Before you can create any VMs, you need to configure network settings so that you can communicate to your VM. Find Hyper-V in start menu and start the Hyper-v Manager:. Ensure that you install both the platform and the management tools: To do this, open Control Panel, go to Programs and select “Turn Windows features on and off”: In this tutorial we will use Visual Studio 2015 Preview, Windows 10 Preview and Ubuntu 15.īefore you begin, install Visual Studio and VisualGDB on your machine. This tutorial shows how to configure a Hyper-V virtual machine to run Ubuntu 15 and use Visual Studio with VisualGDB to develop applications for it from Visual Studio.