From ef783b900b332fb8411e8622d180c551a206da06 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 7 Aug 2026 04:51:59 +0200 Subject: [PATCH] fix: Lower the amount of RAM required for Win11 (#2090) --- readme.md | 4 ++-- src/define.sh | 2 +- src/image.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/readme.md b/readme.md index 8c486670..1fa1d117 100644 --- a/readme.md +++ b/readme.md @@ -79,8 +79,8 @@ For a complete graphical desktop experience, see [WinBoat](https://winboat.app), - Docker or Podman on a Linux host with KVM support. - Docker Desktop or Podman (Desktop) on Windows 11 with nested virtualization enabled. -- At least 4 GB of available RAM. -- At least 64 GB of free disk space. +- At least 2 GB of available RAM. +- At least 32 GB of free disk space. > [!NOTE] > Docker Desktop on Linux, macOS, and Windows 10 does not currently provide KVM access to containers and is therefore not supported. diff --git a/src/define.sh b/src/define.sh index e35767a3..73b1b32f 100644 --- a/src/define.sh +++ b/src/define.sh @@ -940,7 +940,7 @@ getRequiredMemory() { case "$id" in "win11"* ) - echo 4294967296 ;; + echo 2147483648 ;; "tiny11"* | "core11"* ) echo 2147483648 ;; "win10"* | "tiny10"* ) diff --git a/src/image.sh b/src/image.sh index 8e240afd..9dae8e4a 100644 --- a/src/image.sh +++ b/src/image.sh @@ -1476,8 +1476,8 @@ extractESD() { return 1 fi - if (( count < 3 )); then - error "Invalid ESD file: expected at least 3 images, found $count." + if (( count < 4 )); then + error "Invalid ESD file: expected at least 4 images, found $count." return 1 fi