Comment # 15 on bug 1216463 from Kirk Allan
I have an openSUSE Leap 15.5 box so I thought I would see what I could
reproduce.  First made sure the box was fully up to date.  All commands were
done as a regular user.

I first tried installing Win10 and Win11 vms via virt-manager.
- Added UEFI x86_64: /usr//share/qemu/ovmf-x86_t40smm-ms-code.bin
- Added Emulated TPM 2.0

Both the Win10 and Win11 vms could boot off the Windows installation ISOs and
the vms were successfully installed.

Installed gnome-boxes.  I haven't used gnome-boxes before so it was a bit of
trial and error to get things going.

Gnome-boxes saw the previously installed win10 and win11 vms.  Gnome-boxes
could boot and run both vms.

Tried to install a win11 vm from within gnome-boxes.
- Clicked +
- Create virtual machine from file
- Select Windows 11 ISO.  Gnome-boxes could not identify the ISO so I manually
selected Microsoft Windows 11.
- Adjust Memory to 4 Gig
- Adjust Storage limit to 60 Gig
- Enable EFI
- Create
- TianoCore logo shows on the screen
- Press any key to boot from CD or DVD...
- Pressed space bar, the installation started.
- Clicked Install
- Select Windows 11 Pro
- Error: This PC can't run Windows 11.

I didn't know how to add the emulated TPM from within gnome-boxes.  Clicking
Preferences and clicking Edit Configuration did nothing.

Went back into virt-manager.  Virt-manager could see the Windows 11 vm
configuration started in gnome-boxes.  I added the TPM 2.0 emulated device and
exited out of virt-manager.

Went back into gnome-boxes.  Started the Win11 vm from before:
- TianoCore logo shows on the screen
- Press any key to boot from CD or DVD...
- Start the installation
- Install Now
- Select Windows 11 Pro
- Click on accept
- Select Custom install
- Installation starts
- After a couple of reboots, the installation completes successfully.

After the win11 vm was installed and running.  Shutdown the vm.  Started the
vm:
- Press Esc to get into UEFI configuration
- Select Boot Manager
- Select UEFI QEMU DVD_ROM_QM00005
- Press any key to boot from CD or DVD...
- Pressed space bar and the installation ISO booted up.
- Shutdown the vm and let it boot back up to win11 as normal.

Unfortunately I'm not able to see the issues described in this bug.  As far as
I can tell, Things are working OK for me.


You are receiving this mail because: