Coder Social home page Coder Social logo

Error on Extract ESD about windows HOT 22 CLOSED

dockur avatar dockur commented on July 23, 2024
Error on Extract ESD

from windows.

Comments (22)

lostx754 avatar lostx754 commented on July 23, 2024 3

using portainer I deleted the container and the image, and then I removed the parameter that deletes the container after shutdown (--rm) and removed -it and added the ram parameter as 1gb (as my system would work better) and tested Firstly in XP it worked

from windows.

kroese avatar kroese commented on July 23, 2024

Mmhh.. interesting! I just tried it and I cannot reproduce this. Both our ESD files 4.54G so I am pretty sure Microsoft is serving us the same file.

Are you sure you didnt press any key by accident? Because I see this strange line 3353 Killed wimlib-imagex so if you press CTRL+C for example it will kill the extraction process and it is logical that it fails.

from windows.

kroese avatar kroese commented on July 23, 2024

Okay after some experimenting I see that it doesnt get killed by a keypress, so I am pretty sure the extraction gets killed because the process runs out of RAM on your machine.

Is it possible that you are low on memory?

from windows.

lostx754 avatar lostx754 commented on July 23, 2024

I will investigate, please don't close my issue

and the arm version returned this for me:

root@Lost:/home/lost# docker run -it --rm -p 8006:8006 --device=/dev/kvm --cap-add NET_ADMIN --stop-timeout 120 dockurr/windows-arm
Unable to find image 'dockurr/windows-arm:latest' locally
latest: Pulling from dockurr/windows-arm
d8262e50bff0: Pull complete
5f9aee76f191: Pull complete
2df91a0534ce: Pull complete
680913de3157: Pull complete
80057ec7d929: Pull complete
e63aa8673fa5: Pull complete
0bf25f7fa3ba: Pull complete
95624becc3ce: Pull complete
Digest: sha256:fbf2e68b1f50ead09877bc4bfdb13ae4394bf0a55a09d481ca1028ab91d10d88
Status: Downloaded newer image for dockurr/windows-arm:latest
❯ Starting Windows for Docker v1.07...
❯ For support visit https://github.com/dockur/windows-arm

❯ Downloading product information from Microsoft...
❯ Downloading Windows 11 for ARM...
/storage/tmp/win11arm64.esd 100%[=================================================================>] 4.88G 11.9MB/s in 7m 3s
❯ Extracting Windows 11 for ARM bootdisk...
❯ Extracting Windows 11 for ARM environment...
❯ Extracting Windows 11 for ARM setup...
❯ Extracting Windows 11 for ARM image...
❯ Adding XML file for automatic installation...
❯ Building Windows 11 for ARM image...
❯ Creating a 64G growable disk image in raw format...
❯ Booting Windows using QEMU emulator version 8.2.1 ...
❯ ERROR: qemu-system-aarch64: cannot set up guest memory 'mach-virt.ram': Cannot allocate memory

from windows.

kroese avatar kroese commented on July 23, 2024

Yes also the ARM version complains about not being able to allocate RAM. So it really looks like there is a problem for Docker to have enough memory on your device. How much RAM do you have?

from windows.

lostx754 avatar lostx754 commented on July 23, 2024

I have 4 gigs but I've already run vm through virtual box on this pc with this configuration ;-;

from windows.

lostx754 avatar lostx754 commented on July 23, 2024

and my cpu arch is x86_64

from windows.

kroese avatar kroese commented on July 23, 2024

If your CPU is x86 then you should not run the ARM version of Windows because its not for x86 CPU's.

You can lower the amount of RAM in the compose file by setting

environment:
  RAM_SIZE: "2G"

for example. But this only lowers the RAM for Windows, and you already have RAM shortage while extracting the ESD file, so it will not help in your case Im afraid.

from windows.

lostx754 avatar lostx754 commented on July 23, 2024

how can I add this to the docker command? (i use ubuntu)

from windows.

lostx754 avatar lostx754 commented on July 23, 2024

If I have 8GB of RAM, would it run the same if I limited the container to 2 or 4GB?

from windows.

kroese avatar kroese commented on July 23, 2024

By adding:

-e "RAM_SIZE=2G"

to the run command. But this is the RAM that Windows is allowed to use, but you already have the problem before Windows even starts, so it will not help your case.

The only workaround for you would be to download the ISO manually and save it as custom.iso in the /storage folder so it does not need to extract ESD files. And then start Windows with 2GB of RAM, but it will not be a good experience as Windows 11 expects a better system.

I think it was better that you choose Windows 7 for example.

from windows.

lostx754 avatar lostx754 commented on July 23, 2024

how i can use the windows 7?

from windows.

kroese avatar kroese commented on July 23, 2024

https://github.com/dockur/windows#how-do-i-select-the-windows-version

An alternative would be to choose core11 or tiny11 because those are Windows 11 versions that require less RAM because of less bloatware.

from windows.

lostx754 avatar lostx754 commented on July 23, 2024

same error
image

from windows.

lostx754 avatar lostx754 commented on July 23, 2024

The error even occurred with XP

from windows.

kroese avatar kroese commented on July 23, 2024

But you did not change the amount of RAM in the run command, and by default its 4GB which is impossible on your system as it has 4GB in total.

from windows.

lostx754 avatar lostx754 commented on July 23, 2024

i can use -e "RAM_SIZE=2G" ?

from windows.

kroese avatar kroese commented on July 23, 2024

Yes or 1G for 1GB

from windows.

lostx754 avatar lostx754 commented on July 23, 2024

it booted (from vnc) and soon after it disconnected

image

from windows.

kroese avatar kroese commented on July 23, 2024

Without posting your run command + the log it will be impossible to tell what happened, I can see only 1 line in the screenshot.

from windows.

lostx754 avatar lostx754 commented on July 23, 2024

The next line was my next command where I had started the container, but I already solved the problem, congratulations on the project my friend <3

from windows.

kroese avatar kroese commented on July 23, 2024

If you could explain what you did to solve it then other people reading this issue in the future could learn from that.

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.