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

[Bug]: RK3399 无法正常安装win11镜像 #233

Open
15169670031 opened this issue Nov 28, 2024 · 3 comments
Open

[Bug]: RK3399 无法正常安装win11镜像 #233

15169670031 opened this issue Nov 28, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@15169670031
Copy link

Operating system

armbian(Ubuntu20.04.2 LTS (Focal Fossa) )

Description

安装看起来一切正常,直到出现start boot option然后所有的按键都无效
Snipaste_2024-11-28_10-36-27

Docker compose

docker run -it --rm -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN -e RAM_SIZE="2G" -d --stop-timeout 120 dockurr/windows

Docker log

❯ Starting Windows for Docker v4.05...
❯ For support visit https://github.com/dockur/windows-arm
❯ CPU: Cortex A53 | RAM: 2/4 GB | DISK: 52 GB (ext4) | KERNEL: 5.10.60-rockchip64...

❯ Requesting Windows 11 from the Microsoft servers...
❯ Downloading Windows 11...

/storage/tmp/win11arm64.iso 0%[ ] 0 --.-KB/s
/storage/tmp/win11arm64.iso 100%[==============================================>] 5.08G 15.8MB/s in 4m 58s
❯ Extracting Windows 11 image...
❯ Adding drivers to image...
❯ Adding win11arm64.xml for automatic installation...
�[1;34m❯ Building Windows 11 image...
❯ Creating a 64G growable disk image in raw format...
❯ Warning: your configured RAM_SIZE of 2 GB is very close to the 2 GB of memory available, please consider a lower value.
❯ Booting Windows using QEMU v9.1.1...
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 USB HARDDRIVE 1-0000:00:01.0-3" from PciRoot(0x0)/Pci(0x1,0x0)/USB(0x2,0x0)

BdsDxe: starting Boot0001 "UEFI QEMU QEMU USB HARDDRIVE 1-0000:00:01.0-3" from PciRoot(0x0)/Pci(0x1,0x0)/USB(0x2,0x0)

❯ Windows started succesfully, visit http://localhost:8006/ to view the screen...

Screenshots (optional)

Snipaste_2024-11-28_10-36-27

@15169670031 15169670031 added the bug Something isn't working label Nov 28, 2024
@kroese
Copy link
Contributor

kroese commented Nov 28, 2024

What kind of device is it?

@ravenrcl
Copy link

ravenrcl commented Jan 6, 2025

I have the same error on Oracle Cloud AMPERE ARM based VMs. Oracle 8 and Ubuntu have the same problem. It apparently doesn't have KVM support, so I have the following for the compose.yml. I know it will be slow, just testing to get SOMETHING besides nginx to work.
services:
windows:
image: dockurr/windows
container_name: windows
environment:
VERSION: "11"
KVM: "N"
HV: "N"
devices:
# - /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
ports:
- 3458:8006
- 3459:3389/tcp
- 3459:3389/udp
stop_grace_period: 2m

@ravenrcl
Copy link

ravenrcl commented Jan 8, 2025

fixed with a different image. Still very slow of course, but it works.
....................
services:
windows:
image: dockurr/windows
container_name: windows
environment:
VERSION: "https://archive.org/download/tiny11a64/tiny11a64 r1.iso"
KVM: "N"
HV: "N"
devices:
# - /dev/kvm
- /dev/net/tun
cap_add:
- NET_ADMIN
ports:
- 3458:8006
- 3459:3389/tcp
- 3459:3389/udp
stop_grace_period: 2m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants