From 120bf7eafa630097b8794178f5e5e5c1a9485b55 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";