Add a spacer for the swap partition

This commit is contained in:
Manuel Thalmann 2023-07-09 23:34:22 +02:00
parent 3889e8bd2e
commit 1de1d16205

View file

@ -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";