You will see a newly created Ubuntu VM under a Virtual machine. To create the Ubuntu virtual machine in Hyper-V, you may now click on Finish. If you want to make any changes, you can do that by choosing the desired option on the left. You should get a basic summary of the Ubuntu Virtual machine that we are going to install.
Install the Ubuntu operating system.īy default, you will have an option selected here that says install an operating system later, however, we already have the latest Ubuntu ISO image, so we can install it right now.Ĭheck the option that says install an operating system from a bootable image, and click on Browse to attach the iso image that you downloaded. I am providing 40GB of storage after the selection, click on next.
If you have enough storage, you may leave the default or reduce it based on your hard drive free space. Under Create a virtual hard disk, you should see the size of the VM picked up as default 127GB. Configure the Virtual hard disk for the Hyper-V VM For that, from the connection drop-down, choose the default switch and click on Next. We have to connect this VM to the network. Use Dynamic memory for this virtual machine, checked and click on Next. Under Startup memory, choose the memory size, and leave the default option. For a better experience, it is better to have at least 4GB of RAM. We are now going to configure the memory for your VM, by default, the hypervisor would pick up just 1GB of RAM, which will not be sufficient for the Ubuntu machine to run smoothly. You will have to choose what generation of Virtual machine you want to install, choose generation 2 here, and click Next. In case if you would like to change the storage to some other place, you may check the option that says Store the virtual machine in a different location, and browse for the location of your choice.Īs I have enough storage space, I am OK with the default location and click on Next. Since I am installing the ubuntu version 21.04, I am naming it as Ubuntu 21.04.īy default, the Hyper-V would choose the default location to store the Virtual machine files. On the next screen, you need to specify the name of the VM we will install. Under Hyper-V Manager, right-click on your computer name and click New>Virtual machine.Ī new virtual machine creation wizard window will now pop up.īefore you begin, you may click on next to create a virtual machine with custom values. We are now going to install Ubuntu in the Hyper-V. On the Hyper-V manager, you should see your machine name, and currently, we don’t have any Virtual machine installed on it. Click on it to open.Īlternatively, In the start menu, you can go to windows administrative tools, and you should see the Hyper-V program there as well. You should see the program called Hyper-V manager.
Open the Hyper-V software on windows.Īfter you logged in, click on the start menu, and type Hyper-V. I have covered the article here on how you can enable hyper-v on a Windows 11/10 machine, follow the article here to enable the hyper-v on a windows machine.
Download the latest Ubuntu21.04 software image.So in this blog, let’s go ahead and start the installation of the latest Ubuntu 21.04 on windows Hyper-V. I have used it for a while and haven’t noticed any issue with the operating system. The Ubuntu version 21.04 was recently released and I decided to spin up the VM in Microsoft hyper-v on a windows machine.