Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuck forever at "BdsDxe: starting Boot0004" #868

Open
LordOfDragons opened this issue Nov 11, 2024 · 10 comments
Open

Stuck forever at "BdsDxe: starting Boot0004" #868

LordOfDragons opened this issue Nov 11, 2024 · 10 comments

Comments

@LordOfDragons
Copy link

LordOfDragons commented Nov 11, 2024

Operating system

Gentoo

Description

Running

docker run -it --rm -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 120 dockurr/windows

After downloading the windows 11 iso the console shows:

BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,C6E5DD6D-DD02-49B4-8D10-12E09258EC1D,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi
BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,C6E5DD6D-DD02-49B4-8D10-12E09258EC1D,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi

Then nothing happens for hours.

Docker compose

docker run -it --rm -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 120 dockurr/windows

Docker log

> docker logs windows
Error response from daemon: No such container: windows

Screenshots (optional)

No response

@kroese
Copy link
Contributor

kroese commented Nov 11, 2024

Everything looks fine, the lines are in the console are exactly what they should be. How do you know that "nothing happened"? Did you visit port 8006 in your browser? What did it show?

@LordOfDragons
Copy link
Author

LordOfDragons commented Nov 11, 2024

It did not connect at all. Tried now using docker compose and setting a storage directory. That seems to help. RDP connection though has some troubles due to the default username (Docker) having no password and I need to force-forward keyboard or no typing is possible. First time I see this kind of problems so I assume it's specific to this project.

@kroese
Copy link
Contributor

kroese commented Nov 11, 2024

You can specify a password like this if the empty one is giving problems:

environment:
  USERNAME: "bill"
  PASSWORD: "gates"

@LordOfDragons
Copy link
Author

I've done this (with different values) but this has no effect. Windows still automatically logs in and using RDP still requires user "Desktop" and empty password.

@kroese
Copy link
Contributor

kroese commented Nov 11, 2024

It only has effect if you set them prior to installation, not afterwards. In that case you can just modify the password in the Windows control panel or by pressing CTRL-ALT-DEL.

@LordOfDragons
Copy link
Author

LordOfDragons commented Nov 11, 2024

Actually I did it before installing but okay. I'll try changing the password from inside windows.

EDIT: Well... I did not manage to RDP into windows to change the password. Neither "Desktop"->"" nor my user/password is accepted.

@kroese
Copy link
Contributor

kroese commented Nov 11, 2024

The user is not called "Desktop" but "Docker"

@LordOfDragons
Copy link
Author

Sorry, typo. But the problem persists. No combination of "Docker"/my-username and empty-password/my-password is working. RDP is dead. And I just shut down and launched the image again.

@dengniqiu
Copy link

Empty passwords don't seem to support vnc to change passwords. I have used vnc before, and the system with an empty password changed the configuration file and found that my vnc and RDP login were unsuccessful after the change. Later, I set the password in the configuration file, and changed the password again in the user name in the settings, and there was no such problem。 The author seems to really prevent hacks from using your windows after changing the password. TThe author seems to really prevent hacks from using your windows after changing the password. That's just my guess. hat's just my guess. Try using the configuration with the password below。
456

@kroese
Copy link
Contributor

kroese commented Nov 12, 2024

Seems like you are running into this bug from FreeRDP: #837

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants