Menu
blog.headdesk.me
blog.headdesk.me

Error 0xc1900101 when updating to Windows 11 22H2

Posted on 2023/09/072023/09/07

I have Windows 11 VM running inside Qemu. Been trying to update it a few times, and everytime the VM could not boot. Perhaps some virtio driver might have prevented it from booting. After some googling, I was able to fix it.

The Windows VM does not have any special application. I have iTunes and Futu and nothing else on the VM. On the hypervisor, the VM is using these settings with tpm passthru.

I tried to install the 22H2 update 5-6 times over a course of 5-6 months. I was hoping a newer update can solve the problem but it never worked. Then I came across a suggestion from reddit.

Run virsh edit win11 to edit the VM’s setting. Look for

<type arch='x86_64' machine='pc-q35-6.0'>hvm</type>

and change it to

<type arch='x86_64' machine='pc-q35-7.2'>hvm</type>

VernoxVernax suggested pc-q35-8.0 in that reddit post but it was not supported by my machine.

❯ qemu-system-x86_64 -machine ? | egrep 'q35-[678]'
q35 Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-7.2)
pc-q35-7.2 Standard PC (Q35 + ICH9, 2009)
pc-q35-7.1 Standard PC (Q35 + ICH9, 2009)
pc-q35-7.0 Standard PC (Q35 + ICH9, 2009)
pc-q35-6.2 Standard PC (Q35 + ICH9, 2009)
pc-q35-6.1 Standard PC (Q35 + ICH9, 2009)
pc-q35-6.0 Standard PC (Q35 + ICH9, 2009)

So I tried 7.2 and it works.

When finished, start the VM and run Windows update. Magically, after some 30 minutes of waiting and a few reboots, the update is successfully installed!

If you have a similar problem, I hope this post helps.

Loading

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Full text search

Recent Posts

  • Error 0xc1900101 when updating to Windows 11 22H2
  • Apply changes to all member accounts in an AWS organization
  • RPI4 under voltage
  • Upgrade RockyLinux 8 to 9
  • Terraform and segregated permissions
  • aws (9)
  • coffee (1)
  • headfi (1)
  • linux (8)
  • others (57)
  • security (2)
  • tech (39)
  • wordpress (2)

Loading

apache apigateway aws awscli azure backup cloud coffee docker ec2 EL8 ElasticBeanstalk enpass espresso featured kernel lelit linux lvm meltdown MFA mikrotik nat gateway nginx php power python rdp Redhat RHEL rpm Ryzen s2s scp serverless site-to-site snapshot spectre tech terraform ubuntu ubuntu upgrade vpn wordpress xdotool

©2023 blog.headdesk.me | Powered by SuperbThemes