<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Creating a Virtual Machine in Hyper-V

Published on
3,320 Points
320 Views
Last Modified:
Joseph Hornsey
I built my first network in 1994 using PowerLAN.  From there I messed around with NetWare and then moved to Windows NT and Cisco.
Want to create a VM?  Here's how you do it.

Virtualization is incredibly useful.  Among other things, the ability to create virtual machines allows one to consolidate hardware, create more resilient networks and play around in lab environments without investing in expensive hardware.  I'll show you how to create a basic virtual machine.


I'm using Windows 10 Professional, but the steps are pretty much the same in all versions of Windows that have Hyper-V.


First, you need to make sure Hyper-V is installed on your computer.  Once that's done, launch your Hyper-V manager.


Creating a Virtual Machine
 

In Hyper-V Manager, select "New" under the "Actions" pane on the right side of the Hyper-V Manager window:
 


When the wizard launches, just click next:


Before you begin.png


I'm creating a virtual router for a test environment, so I'll be installing Ubuntu Linux.  It doesn't require a lot of resources, which is nice.  You'll want to make sure you set up a virtual machine that has the settings you need.


For the "Specify Name and Location" window, give the VM a name and then decide where you want to store it.  Then, click "Next":


Name and Location.png


You'll need to choose what generation machine you'll create.  If you're migrating a VM from a previous version of Hyper-V, if you're installing a 32-bit OS or you're creating a non-Windows VM, you'll want to create a Generation 1 machine.  Otherwise, go with Generation 2.  I'm installing Linux, so Gen 1 it is!


In the "Specify Generation" window, select the appropriate generation and click "Next":


Generation.png


When it comes to memory and drive space, make sure you configure settings that are adequate for the intended purpose of the virtual machine.  For my little router, I don't need much, so 2GB is fine.  Regardless, I recommend using dynamic memory... it keeps things efficient by only allocating physical memory when necessary.


In the "Assign Memory" window, enter the appropriate amount of memory and ensure the "Use Dynamic Memory for this virtual machine" box is checked and then click "Next":


Assign Memory.png


When it comes to networking, you need to select a virtual switch to use for connectivity.  Or, you can simply decide to not use anything.  I need connectivity, so I'm selecting a virtual switch.


In the "Configure Networking" window, select the desired connection and then click "Next":


Config Net.png


In the "Connect Virtual Hard Disk" window, give your VHD a name, browse to where you want it stored, and give it a size appropriate to its use.  Once you're satisfied, click "Next":


Connect Vir Dsk.png


You can choose several ways to install your OS.  It doesn't really matter at this point; you can always mount media later.  I've got the ISO downloaded and ready to go, so I'm going to go ahead and mount it now.   This doesn't actually install the OS; it simply mounts the media and the next time you launch the VM, it will boot to that media.


In the "Installation Options" window, select the appropriate option and configure it.  Once you're done, click "Next":


Install Opt.png


By the way, you're not hallucinating.  There actually is an option to install from floppy disk.


In the "Completing the New Virtual Machine Wizard" window, click "Finish":


Completing.png

 

That's it!  Now you can connect to the VM, install the OS and have just a whale of a time.

Hope you find this useful!

 

0
Comment
0 Comments

Featured Post

IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

Join & Write a Comment

How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…
Next Article:

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month