Add a spacer for the swap partition
This commit is contained in:
parent
f85ee116a0
commit
120bf7eafa
1 changed files with 3 additions and 1 deletions
|
@ -110,7 +110,9 @@ $Global:SetupConfigPostprocessor = {
|
||||||
Invoke-PartitionRelocation 2 1;
|
Invoke-PartitionRelocation 2 1;
|
||||||
|
|
||||||
# Add space before Windows installation... wha-!? For Linux, ofc! I use Arch Linux, btw.
|
# 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";
|
. "$PSScriptRoot/../../../scripts/Windows/OS/Setup.ps1";
|
||||||
|
|
Loading…
Reference in a new issue