windows icon indicating copy to clipboard operation
windows copied to clipboard

[Bug]: Freeze in fresh install at Installing Updates (BTRFS?)

Open mtompkins opened this issue 1 year ago • 3 comments

Operating system

Arch

Description

The installation freezes during the Installing Updates phase.

I've tried a few things including:

  • local copy of .iso
  • no ENV parameters to simplify
  • MANUAL="Y" and manually trying to install

all fail

kvm is loaded and available

kvm-ok
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
INFO: /dev/kvm exists
KVM acceleration can be used

Add'l info:

  • Original install was attempted on BTRFS
  • Install succeeds when on non-BTRFS disk

Docker compose

services:
  windows:
    image: dockurr/windows
    container_name: win11
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
    stop_grace_period: 2m
    restart: unless-stopped
    environment:
      VERSION: "win11"
    volumes:
      - /opt/windows/win11:/storage


Docker log

❯ Starting Windows for Docker v3.14...
❯ For support visit https://github.com/dockur/windows
❯ CPU: Intel Core TM i7 14700 | RAM: 97/126 GB | DISK: 1905 GB (btrfs) | HOST: 6.6.48-1-lts...

❯ Requesting Windows 11 from Microsoft server...
❯ Downloading Windows 11...

     0K ........ ........ ........ ........  0% 6.73M 16m0s
 32768K ........ ........ ........ ........  0% 13.2M 12m2s
 65536K ........ ........ ........ ........  1% 17.1M 10m3s
 98304K ........ ........ ........ ........  1% 19.6M 8m52s
...
...
5865472K ........ ........ ........ ........ 88% 37.0M 18s
BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found
BdsDxe: loading Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
BdsDxe: starting Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
❯ Windows started succesfully, visit http://localhost:8006/ to view the screen...

Screenshots (optional)

Screenshot from 2024-09-01 13-56-53

mtompkins avatar Sep 01 '24 18:09 mtompkins

I noticed before that users had problems with this container and BTRFS ( see https://github.com/dockur/windows/issues/720 and https://github.com/dockur/windows/issues/299 ). But I am not sure what is causing this, probably some obscure bug in QEMU. So Im afraid there is not much I can do about it, except waiting until they fix it.

kroese avatar Sep 01 '24 18:09 kroese

Yeah I am having issues with the Windows 11 Pro and Enterprise Containers if I choose to install WSL2. Fresh deployed Container that you then just do a "wsl --install" on and after reboot it is hung on the QEMU every time. Tried the BOOT_MODE: "windows_secure" with it as well and no difference.

Tried the Windows 10 image and it was giving me activation issues (I know these are supposed to be evaluation but the Win 11 allows activation as does Windows XP and 7 so no idea Windows 10 did not). Will try it again to test the WSL2 as that is really what I am wanting to accomplish as part of a user jumpbox for a Linux novice

jeffreyswiggins avatar Sep 15 '24 23:09 jeffreyswiggins

Same result with Windows 10 VM and so i tried a mounted iso Windows 11 of my own and again as soon as I deploy it and everything comes up, if i install WSL2 and reboot it freezes up at that boot screen

jeffreyswiggins avatar Sep 16 '24 03:09 jeffreyswiggins