Things have been changed when it comes to 2nd generation hyper v. – generation 2: hyper v machine is a uefi based vms. hyper v currently has two generations of vm hardware which are – generation 1: these vms have a legacy version of hyper v, and have a little bit of overhead when it comes to using pxe boot because it uses the legacy bios.
![hyper v boot from iso hyper v boot from iso](https://i0.wp.com/www.urtech.ca/wp-content/uploads/2019/06/hyperv-ide-vs-scsi.jpg)
if you create a hyper v generation 2 virtual machine and try to start the virtual machine, the virtual machine will not boot from iso.
#Hyper v boot from iso install#
If you want to install ubuntu or any other linux inside a hyper v generation 2 virtual machine you need to do a simple change to the vm so you can install it from iso. save settings, restart your vm and hey presto your system should either boot or load your iso installation. click on the 'security' section at the left hand side where it shows you the hardware of the vm. Once you have created the virtual machine as a 'generation 2' machine go in to 'settings' for your new vm. now you should be able to install gen2 vm on heyper v. when you see "press any key to boot from the cd,dvd" go ahead and press enter.
![hyper v boot from iso hyper v boot from iso](https://techgenix.com/tgwordpress/wp-content/uploads/2018/12/Hyper-V-Error-7.jpg)
![hyper v boot from iso hyper v boot from iso](https://i.stack.imgur.com/DsNKS.png)
On the hyper v manager, right click on the vm that you are trying to install gen2 vm then select "connect" then "start". in the details pane, select microsoft windows in the template list, and then click ok. in the details pane, click to select the enable secure boot check box. To do this, follow these steps: open the hyper v manager, right click the vm, and then select settings.