My technical journal.

Maybe useful, maybe not.
posts - 105 , comments - 45 , trackbacks - 0

My Links

News

Tag Cloud

Archives

Post Categories

Disabling Secure Boot on a Hyper-V guest

To test out the MAP Toolkit, I wanted to have some Linux machines for it to detect. 
I created a virtual machine with an empty virtual had drive file and associated the latest Mint ISO file to the DVD drive.
On boot-up, I see it didn't like the ISO:

"The image's hash and certificate are not allowed (DB)"


It says "not allowed" rather than missing, corrupt or whatever so looks like a Secure Boot problem, as discussed here:

So into Powershell:

[hyper-v-host]: PS C:\> get-vm
Name               State CPUUsage(%) MemoryAssigned(M) Uptime   Status             Version
----               ----- ----------- ----------------- ------   ------             -------
Linux Mint         Off   0           0                 00:00:00 Operating normally 8.0


[hyper-v-host]: PS C:\> get-vm -name "Linux mint"
Name       State CPUUsage(%) MemoryAssigned(M) Uptime   Status             Version
----       ----- ----------- ----------------- ------   ------             -------
Linux Mint Off   0           0                 00:00:00 Operating normally 8.0


[hyper-v-host]: PS C:\> get-vm -name "Linux mint" | Get-VMFirmware
VMName     SecureBoot SecureBootTemplate PreferredNetworkBootProtocol BootOrder
------     ---------- ------------------ ---------------------------- ---------
Linux Mint On         MicrosoftWindows   IPv4                         {Drive, Network, Drive}


[hyper-v-host]: PS C:\> get-vm -name "Linux mint" | set-VMFirmware -EnableSecureBoot off

After which, restarting the virtual machine gives me:




Print | posted on Monday, February 3, 2020 10:44 PM | Filed Under [ Hyper-V Linux ]

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Comment:
Verification:
 

Powered by: