Hyper-V - Setup an Ubuntu 20.04 vm
Open up Hyper-V Manager, and create "New" vm
Select Next:
Type in a Name and then select Next
Then Select "Generation 2"
Put in the amount of memory you'd like to use. I use 2048
Configure your networking by selecting "Default"
Nothing to change here, select "Next"
Here you will want to select the iso image you'll be using. loaded my iso file from 20.04 LTS from this url: https://ubuntu.com/download/desktop
Select the image file
Then select finish from here
Configure VM Settings
Now we have created the vm, we'll want to tweak some settings.
Right click on your vm and select "settings"
Then go and select "Security" tab
And then select "Microsoft UEFI Certificate Authority",
Then select "Integration Services", and check "Guest Services"
Then click "Checkpoints" section and disable "Enable Checkpoints"
Then select "OK" to close
You should now be able to run your image.
Launching the VM
Right click on your vm in Hyperv-Manager, and then select "Run"
Then select "Install" in the ubuntu dialog that pops up:
On Keyboard Layouts, just select the default and select "continue":
Select Updates by selecting "Install third-party software for graphics and wifi hardware and additional media formats", then select "Configure Secure Boot" and enter your secure password.
On Installation type, lets select "Advanced Features"
Check the "Use LVM with the new Ubuntu installation", and select "Encrypt the new Ubuntu installation for security" and then select "OK"
Then select "Install Now"
Now you'll enter a security key, and select recovery key as shown below
Now you'll elect to write the changes to disk by selecting continue:
Now, you'll select your time zone:
Now you'll enter the information about the desktop, such as your name, password, and machine name:
You should now see it installing & configuring...
YOu'll now be prompted to restart your machine:
Running Commands to get the basics setup
The following should get you up and running so you can rpd into your local hyperv vm
Virtual Box Additions
If you're using Virtual Box, you may want to add the Guest Additions. Youn the following command first, before mounting.
Reference here: https://itsfoss.com/virtualbox-guest-additions-ubuntu/
Additional Tools
Add some Additional Tools
Last updated