-
Notifications
You must be signed in to change notification settings - Fork 1
Create Virtual Container
-
We are just going to setup a standard container, there are lots of options you can deal with later if you want but for times sake we just want to get setup and online asap.
-
Before we start grab your OS image we will need it later down the page, save it to your main drive. We are using Ubuntu Server 18+ of course you can use the OS of your choice but make sure it is compatible with Hyper-V. https://www.ubuntu.com/download/server
- From top left menu choose >> action >> new >> virtual machine
- Specify and name a location. I will use DevServer for name and keep the default location. You can change the location to where ever you want but the default is fine.
C:\ProgramData\Microsoft\Windows\Hyper-V\
-
Remember naming the switch and virtual machine are just for your reference and have no bearing on the performance of Hyper-V
-
As a rule of thumb I would add the
C:\ProgramData\Microsoft\Windows\Hyper-V\
to your daily backup routine whether using Win 10 File History or another 3rd party backup tool (I use Paragon Hard Disk Manager) it is always important to make backups of all important info and files.
- Specify a Generation. This is simpler then it sounds. For older PCs use Gen 1 as they probably dont support UEFI based firmware, Bios, and Boot. If your machine does support this then you can choose Gen 2 which is fully supported by Ubuntu 18+.
-
For more info on Generation see Generation 1 or 2 virtual machine in Hyper-V
-
If you're not sure choose generation 1, its really not going to make a difference just a booting preference.
- Choose your memory allotment. I will choose 1024 mb (1gb) and check use dynamic memory for this virtual machine. This will pull more memory if needed on the fly. If you have a resource intensive application and the memory to spare feel free to up the anti either way you shouldn't have memory issues unless your machine is memory starved or you run dozens of applications simultaneously which I do and I have never had an issue so shouldn't be a problem for the majority.
- Configuring Network: Simply choose the virtual switch we created in the virtual switch manager and click next. This is your network connection that Ubuntu will use to access the internet.
- Create Virtual Hard Disk: Again simply set the path to your secondary internal or external drive I created a folder on my external D: drive named Hyper-V, you can name it whatever you want. Name the vhdx file (inherits virtual server name by default) this is the hard drive container. And set the drive size I choose 100GB.
- If you have a virtual drive already you can use this or there is also an option to add a drive later.
- OS install options. This is where we will add our OS image iso to be booted after completion. I browsed to ubuntu-18+-server-amd64.iso
- Click Next to see the summary and then finish to set it all up.
We can move on to Install OS...