Install Ubuntu 20.04 LTS on Windows 11 Pro Hyper-V VM with UEFI BIOS and Secure Boot MOK Full Screen

Channel:
Subscribers:
7,760
Published on ● Video Link: https://www.youtube.com/watch?v=ACUhGz4_Ceo



Duration: 12:44
18,161 views
191


Detailed written instructions are available here:
https://dellwindowsreinstallationguide.com/ubuntu-20-04-lts-hyper-v/

To Enable the optional feature Hyper-V open the Windows Terminal (Admin) and type in:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
To restart when prompted type in:
y
Note Hyper-V is a feature only available for Windows 10/11 Pro/Education and not available for Windows 10/11 Home.

Download the Ubuntu 20.04 ISO (the ISO needs Update 1 or later as the original Ubuntu 20.04 does not pass a UEFI BIOS with Secure Boot due to the 2020 GRUB2 Security Exploit Patch, subsequent ISOs are updated). These instructions should also work with other Linux distros which support Secure Boot with a Machine Owner Key such as Mint 20.2, Zorin OS 16 Beta and DeepIn 20.2.2. It will also work with Fedora 34 and KDE Neon (although these distros don't configure a Machine Owner Key to install multimedia codecs).

Create a new virtual machine that is Generation 2, has 2-4 GB of memory, a default switch for networking, the default virtual hard disk settings and installs the media from the Ubuntu 20.04 ISO.

Right click the VM and select Settings. Go to Security and change the Template to Microsoft UEFI Certificate Authority and Enable the Trusted Platform Module. Select Apply. Change the number of Processor Cores to 2 (or more depending on how many Processor Cores you have). Select Apply. Then go to Integration Services and check Guest Services. Select Apply.

Right click the VM and select Connect. Then select Action and Start. Install Ubuntu as normal ensure you select Install Third-Party Software Graphics and Wi-Fi Hardware Additional Media Formats to create a Machine Owner Key (MOK). When Ubuntu is installed, enroll the MOK to the Virtual UEFI BIOS MOK.

Finally we need to make the Virtual Machine full screen. Open up the terminal and type in the following command:
sudo nano /etc/default/grub
Then update the line to:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080"
Press [Ctrl] + [x] to exit and then [y] to save and [Enter] to overwrite the original file. Next to update the grub bootloader type in:
sudo update-grub
Then to reboot type in:
sudo reboot
The VM should start full screen (maximise it to display it full screen on your Host PC).

#Ubuntu #Hyper-V #VirtualMachine




Other Videos By Philip Yip


2021-11-30Installing Windows 11 OEM on a Dell XPS 13 9305 (Intel 11th Gen) UEFI BIOS, Secure Boot, TPM
2021-11-11Elegoo Arduino Uno IDE Installation on Zorin OS 16 (Ubuntu 20.04 LTS Based)
2021-08-30Zorin OS 16 Linux Installation on a Dell XPS 13 9365 2 in 1 Convertible Touchscreen Device
2021-08-28Windows 11 System Requirements PC Check (Updated)
2021-08-22Downloading the Windows 11 ISO, Making a UEFI Bootable USB and Clean Installing on a Dell PC
2021-08-11Securely Wiping a Microsoft Surface using the Microsoft Surface Data Eraser
2021-08-08Install DeepIn 20.2.2 on Windows 11 Pro Hyper-V VM with UEFI BIOS and Secure Boot Full Screen
2021-08-06Use of Diskpart to Format Clean or Wipe Clean All Partitions on a Drive Before Windows Installation
2021-08-05Screen Recording within the UEFI BIOS Setup and within Windows 11
2021-08-04Downloading a Windows 11 Insider Preview ISO, making a UEFI Bootable USB and Installation on a Dell
2021-07-15Install Ubuntu 20.04 LTS on Windows 11 Pro Hyper-V VM with UEFI BIOS and Secure Boot MOK Full Screen
2021-07-10Windows 11 Snap, Multi-Tasking and Multiple Monitors Feedback
2021-06-25Windows 11 Elevated System Requirements
2021-06-21Hexadecimal Colour Encoding Explanation using a Red, Green, Blue LED
2021-06-20A Clean Install of Zorin Linux 16 Beta (Dell UEFI BIOS with Secure Boot and MOK)
2021-06-18Python Object Orientated Programming (Spyder 5 IDE)
2021-06-13Python Code Blocks and Debugging (Spyder 5 IDE)
2021-06-10Python Procedural Programming (Spyder 5 IDE)
2021-05-26A Clean Install of KDE Neon Dell UEFI BIOS with Secure Boot
2021-05-23Getting Started with Python and the Spyder 5 IDE (Object Orientated Programming OOP)
2021-05-17A Clean Install of DeepIn Linux 20.2.2 Dell UEFI BIOS and Secure Boot