Coder Social home page Coder Social logo

[Bug]: win11 won't boot about windows HOT 10 CLOSED

dingetje avatar dingetje commented on July 23, 2024
[Bug]: win11 won't boot

from windows.

Comments (10)

OlivierArgentieri avatar OlivierArgentieri commented on July 23, 2024 1

I think i got the same issue.

Environment:

  • Ryzen 9 3950X
  • 128G RAM
  • Windows 10 22h2 19045.3930
  • WSL2

I'm trying to run it without kvm

Docker compose

version: "3"
services:
  windows:
    image: dockurr/windows
    container_name: windows
    environment:
      VERSION: "win11"
      KVM: "N"
      CONSOLE: "Y"
      CPU_CORES:  "8" # I also tried to remove quotes char
      DISK_SIZE: "100G"
      RAM_SIZE: "8G"
      HV: "N" # I tried to remove it also
      BOOT_MODE: "windows_plain" # i also try with UEFI
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
    stop_grace_period: 2m
    restart: on-failure

Result

image

image

Tell me if it's not related to this issue.

Edit: ( I also tried on an intel macbook pro (A1707 16G of ram), with this same docker compose and i got the exact same result)

from windows.

kroese avatar kroese commented on July 23, 2024 1

@OlivierArgentieri That message is normal behaviour. It means because the harddrive is empty, it will boot from cd-rom. After Windows is installed and the harddrive is no longer empty, you will not see that message again.

So your only problem seems to be that it keeps hanging on the spinning circle instead of starting the installation.

But even if we do the effort of finding the reason, Im not sure if its worth it, because without KVM the machine will be pretty slow and not really useable for anything serious.

To use KVM you need to upgrade to Windows 11, because Docker Desktop for Windows 10 does not support it. It seems other people who are running Win10 have the exact same problem as you, see: #359 for example.

from windows.

dingetje avatar dingetje commented on July 23, 2024 1

I've increased my WSL RAM in .wslconfig to 8GB but didn't notice a change in the reported RAM size, so in addition added an explicit RAM size and now the win11 ran to completion:

image

image

from windows.

kroese avatar kroese commented on July 23, 2024

In the screenshot it says that you have 3GB of RAM available in your WSL2 instance. And the default RAM_SIZE this container sets is 4GB.

So probably it exits because it cannot allocate the 4GB of RAM. So either change your WSL config to allow more than 3GB or otherwise change your run command to use less (-e "RAM_SIZE=2GB"). If this fixes your issue, I will add an automatic check in the next release that verifies that the amount of RAM available is never lower than the value of RAM_SIZE.

from windows.

thetredev avatar thetredev commented on July 23, 2024

You could also increase your WSL system's RAM in your .wslconfig file in your Windows home directory, assuming your machine has enough RAM to begin with.

from windows.

matifali avatar matifali commented on July 23, 2024

I think I also have the same issue I am stuck at

docker run -it --rm --name windows -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 120 dockurr/windowsStarting Windows for Docker v3.01...For support visit https://github.com/dockur/windows
BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,FD4B275D-953A-4181-95F0-26E5FFBCD081,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,FD4B275D-953A-4181-95F0-26E5FFBCD081,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi

from windows.

kroese avatar kroese commented on July 23, 2024

@OlivierArgentieri If you set RAM_SIZE to 2G, does it make a difference?

from windows.

OlivierArgentieri avatar OlivierArgentieri commented on July 23, 2024

@OlivierArgentieri If you set RAM_SIZE to 2G, does it make a difference?

Thank you for your reply !

No i got the same result.

image

from windows.

matifali avatar matifali commented on July 23, 2024

@OlivierArgentieri This means its running connect to that port and you will see that Widows is installing

from windows.

OlivierArgentieri avatar OlivierArgentieri commented on July 23, 2024

@OlivierArgentieri This means its running connect to that port and you will see that Widows is installing

But i mean, it's loading endlessly like this:
image

Are this message the error message or it's just the normal behavior ?
BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found

from windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.