From 1de1d16205a48bdc42e94babdf06d586703b081e Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 9 Jul 2023 23:34:22 +0200 Subject: [PATCH] Add a spacer for the swap partition --- profiles/DerGeret/Windows/Setup.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/profiles/DerGeret/Windows/Setup.ps1 b/profiles/DerGeret/Windows/Setup.ps1 index 1f5629bf..181fc33d 100644 --- a/profiles/DerGeret/Windows/Setup.ps1 +++ b/profiles/DerGeret/Windows/Setup.ps1 @@ -110,7 +110,9 @@ $Global:SetupConfigPostprocessor = { Invoke-PartitionRelocation 2 1; # Add space before Windows installation... wha-!? For Linux, ofc! I use Arch Linux, btw. - Add-Partition 2 ((64 * 1024) - 1024); + $swapSpacer = 100; + Add-Partition 2 $swapSpacer; + Add-Partition 3 ((64 * 1024) - 1024 - $swapSpacer); } . "$PSScriptRoot/../../../scripts/Windows/OS/Setup.ps1";