Select Install an operating system from a bootable image file. I select 15 GB for my Ubuntu 20.04 VM used for testing purposes. In my case, the selected directory is E:\VMs\Ubuntu Hyper-V\Virtual Hard Disks\. You should select the location in your directory used to store Hyper-V VMs. Define the location of the virtual disk file. Enter the virtual disk name, for example, Ubuntu Hyper-V.vhdx. If you have not created any virtual switches, you can do it later and edit the VM configuration.Ĭonnect Virtual Hard Disk. Select a virtual switch to which the virtual network adapter of the VM will be connected. If you run other VMs simultaneously with this Linux VM, remember that other VMs also need memory.Ĭonfigure Networking. Don’t assign all the memory of your computer to the VM leave memory for the host operating system. The more memory you assign to the VM, the more convenient the work. Select the checkbox to Use Dynamic Memory for this virtual machine. I select 4096 MB, which is enough to run Ubuntu without performing heavy tasks. Specify the amount of memory available to the VM. Read more about Hyper-V Generation 1 and Generation 2 VMs.Īssign Memory. It is better to select Generation 2 because more features are available and limits are higher. Hit Next at each step of the wizard to continue. Select the Store the virtual machine in a different location checkbox, and select the folder where you want to store VM files, for example, E:\VMs\. Enter a virtual machine name, for example, Ubuntu Hyper-V. In order to create a new VM in Hyper-V, open Hyper-V Manager, right-click your host machine name and, in the context menu, click New > Virtual Machine. If you don’t have Hyper-V installed on your Windows host, read how to install Hyper-V on Windows 10 and Windows Server 2019. You have to enable Hyper-V before you can run the Ubuntu VM. The hostname of my Windows 10 host machine is home-pc. In this blog post, I’m using Windows 10 Pro version 20H2 with Hyper-V installed. Let’s look at how to create and configure an Ubuntu 20.04 VM from scratch in Hyper-V. DISCOVER SOLUTION Creating and Configuring a VM
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |