You can easily dual-boot your Windows 8 PC with Linux, but if you don’t want the partitions but still want to try out Linux, you can do so with a virtual machine.
Here are the steps to create a Ubuntu Virtual Machine in Hyper-V
(1) Check if your CPU supports SLAT and install Hyper-V.
(2) Open the Hyper-V Management console from the Start Screen.
(3) On the right hand side, in the actions pane, click on New and then select Virtual Machine from the context menu.
(4) A Before You Begin screen will appear, just click next to continue, then give your virtual machine a name and click next.
(5) You can choose how much memory you want to assign to your virtual machine. For a decent performance, your virtual machine should have at least 1GB of RAM.
(6) If you have set up network connectivity previously, perhaps for other virtual machines, you will be able to select one of the networks now. Then click next
(7) Go ahead and use the new VHDX type virtual hard disks, these allow for up to 16TB virtual hard drives, so choose a size within that range and click next to continue.
(8) You will likely be using an ISO to install the OS, so switch the radio button to an Image file and hit the browse button.
(9) Then go ahead and select your Ubuntu ISO.
(10) Now click the Finish button and wait a few seconds while your virtual machine is created.
(11) Now you will need to start the virtual machine which can be done from the right-click context menu.
(12) Once you see your virtual machine start, double click on it to open the console.
The Virtual Machine is now operable and you have a running copy of Ubuntu in Windows.