Subtract EFI partition from linux size
This commit is contained in:
parent
7366831361
commit
b1fe52c7db
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ $Global:SetupConfigPostprocessor = {
|
||||||
# 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.
|
||||||
$newPartition = $partitionCreations[0].CloneNode($true);
|
$newPartition = $partitionCreations[0].CloneNode($true);
|
||||||
$newPartition.SelectSingleNode("./ua:Order", $namespace).InnerText = "$newIndex";
|
$newPartition.SelectSingleNode("./ua:Order", $namespace).InnerText = "$newIndex";
|
||||||
$newPartition.SelectSingleNode("./ua:Size", $namespace).InnerText = "$(64 * 1024)";
|
$newPartition.SelectSingleNode("./ua:Size", $namespace).InnerText = "$((64 * 1024) - 1024)";
|
||||||
$null = $partitionCreationContainer.AppendChild($newPartition);
|
$null = $partitionCreationContainer.AppendChild($newPartition);
|
||||||
|
|
||||||
$partitionModificationContainer = $diskConfig.SelectSingleNode("./ua:ModifyPartitions", $namespace);
|
$partitionModificationContainer = $diskConfig.SelectSingleNode("./ua:ModifyPartitions", $namespace);
|
||||||
|
|
Loading…
Reference in a new issue