Virt-manager, booting Windows 11 - cannot get past the shell screen

I cannot say if this has any correlation

  1. a space in the iso file name - edit filename to win11.iso
  2. Win11 explicitly looks for TPM2 and Secure Boot

I have created a win11 vm

  • Current user added to the libvirt group
  • Edit the vm properties before launch - set firmware to BIOS
Summary

While you can launch the installer - I remember reading about this long time ago - you will need to apply some windows registry tweaks to allow the installer to complete.

LEGALITY

There is the aspect of legality to consider and there is valid reasons to install a virtual Windows.,

Your reason may be entirely valid and this is not to judge yours.

It stands to reason that Manjaro Linux Forum does not endorse any form of piracy - so please ensure you have aquired and own a valid license to run Windows 11 in a virtual machine.

https://wiki.manjaro.org/index.php/Forum_Rules#Legality

Criminal solicitation is strictly forbidden.

In this context, “criminal solicitation” shall mean, “To actively or passively inform about, facilitate, incite, move, or persuade others to some act of lawlessness or illegal activity.”

Therefore, do not post discussions about or link to criminal solicitation in any form. This includes, but is not limited to information or links to facilitate illegal drug use, theft, network intrusion, creation of code for malicious purposes, prohibited software copying, prohibited use of copyrighted/patented material, so-called “warez”, or sites which provide torrents or links to such content. Illegal content will be removed swiftly and dealt with in full accordance with known applicable law.

Beyond the above, please take note of the following very important information

As it is located in Germany, the Manjaro forum server is under German law. German law is quite strict when it comes to copyright protection. The relevant laws are complicated and change fast. We don’t endorse any illegal use of copyrighted material. Therefore, we reserve the right to delete any postings that include copyrighted material, links that make copyrighted material illegally available, and/or postings that advocate the use of software that is used to use copyrighted material in an illegal way. There are many pages on the internet that deal with copyright infringements.

forum.manjaro.org is not a site for copyright violations.

Forum Rules - Manjaro

From virt-manager - Windows 11 | root.nix.dk

Summary

Install Win11 using libvirt

  • Create a new virtual machine
  • Select a Windows 11 ISO file
  • Accept the defaults clicking Next until you reach the final screen
  • Tick the box Customize configuration before install and click Finish
  • In the Overview pane - set vm firmware to BIOS and click Apply
  • Click the button Begin Installation

Installer

Before starting the installer press ShiftF10 so launch the Windows Cmd utility and launch regedit.

  • Expand HKEY_LOCAL_MACHINE\SYSTEM\Setup
  • Add new key named LabConfig
  • Add new DWORD value with name BypassTPMCheck and change the value to 1.
  • Add new DWORD value with name BypassRAMCheck and change the value to 1.
  • Add new DWORD value with name BypassSecureBootCheck and change the value to 1.

Close the registry editor and exit the shell, then continue the installer

Bypass network check

During last stage the installer will insist in network access.

This can be disabled using the Cmd utility ShiftF10 and enter OOBE\BYPASSNRO - then press Enter and back in the setup window click I don’t have internet.

1 Like