mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Update Windows disk partitions to include WinRE, EFI, MSR and OS
This commit is contained in:
parent
2a0ba4d10a
commit
2a5e4537eb
1 changed files with 35 additions and 10 deletions
43
quickget
43
quickget
|
@ -462,53 +462,78 @@ function unattended_windows() {
|
||||||
processorArchitecture="amd64"
|
processorArchitecture="amd64"
|
||||||
publicKeyToken="31bf3856ad364e35"
|
publicKeyToken="31bf3856ad364e35"
|
||||||
language="neutral"
|
language="neutral"
|
||||||
versionScope="nonSxS">
|
versionScope="nonSxS"
|
||||||
|
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
<DiskConfiguration>
|
<DiskConfiguration>
|
||||||
<Disk wcm:action="add">
|
<Disk wcm:action="add">
|
||||||
<DiskID>0</DiskID>
|
<DiskID>0</DiskID>
|
||||||
<WillWipeDisk>true</WillWipeDisk>
|
<WillWipeDisk>true</WillWipeDisk>
|
||||||
<CreatePartitions>
|
<CreatePartitions>
|
||||||
|
<!-- Windows RE Tools partition -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>1</Order>
|
<Order>1</Order>
|
||||||
<Type>EFI</Type>
|
<Type>Primary</Type>
|
||||||
<Size>100</Size>
|
<Size>256</Size>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
|
<!-- System partition (ESP) -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>2</Order>
|
<Order>2</Order>
|
||||||
<Type>MSR</Type>
|
<Type>EFI</Type>
|
||||||
<Size>512</Size>
|
<Size>128</Size>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
|
<!-- Microsoft reserved partition (MSR) -->
|
||||||
<CreatePartition wcm:action="add">
|
<CreatePartition wcm:action="add">
|
||||||
<Order>3</Order>
|
<Order>3</Order>
|
||||||
|
<Type>MSR</Type>
|
||||||
|
<Size>128</Size>
|
||||||
|
</CreatePartition>
|
||||||
|
<!-- Windows partition -->
|
||||||
|
<CreatePartition wcm:action="add">
|
||||||
|
<Order>4</Order>
|
||||||
<Type>Primary</Type>
|
<Type>Primary</Type>
|
||||||
<Extend>true</Extend>
|
<Extend>true</Extend>
|
||||||
</CreatePartition>
|
</CreatePartition>
|
||||||
</CreatePartitions>
|
</CreatePartitions>
|
||||||
<ModifyPartitions>
|
<ModifyPartitions>
|
||||||
|
<!-- Windows RE Tools partition -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>1</Order>
|
<Order>1</Order>
|
||||||
<PartitionID>1</PartitionID>
|
<PartitionID>1</PartitionID>
|
||||||
|
<Label>WINRE</Label>
|
||||||
|
<Format>NTFS</Format>
|
||||||
|
<TypeID>DE94BBA4-06D1-4D40-A16A-BFD50179D6AC</TypeID>
|
||||||
|
</ModifyPartition>
|
||||||
|
<!-- System partition (ESP) -->
|
||||||
|
<ModifyPartition wcm:action="add">
|
||||||
|
<Order>2</Order>
|
||||||
|
<PartitionID>2</PartitionID>
|
||||||
<Label>System</Label>
|
<Label>System</Label>
|
||||||
<Format>FAT32</Format>
|
<Format>FAT32</Format>
|
||||||
</ModifyPartition>
|
</ModifyPartition>
|
||||||
|
<!-- MSR partition does not need to be modified -->
|
||||||
<ModifyPartition wcm:action="add">
|
<ModifyPartition wcm:action="add">
|
||||||
<Order>2</Order>
|
<Order>3</Order>
|
||||||
<PartitionID>3</PartitionID>
|
<PartitionID>3</PartitionID>
|
||||||
|
</ModifyPartition>
|
||||||
|
<!-- Windows partition -->
|
||||||
|
<ModifyPartition wcm:action="add">
|
||||||
|
<Order>4</Order>
|
||||||
|
<PartitionID>4</PartitionID>
|
||||||
<Label>Windows</Label>
|
<Label>Windows</Label>
|
||||||
<Letter>C</Letter>
|
<Letter>C</Letter>
|
||||||
<Format>NTFS</Format>
|
<Format>NTFS</Format>
|
||||||
</ModifyPartition>
|
</ModifyPartition>
|
||||||
</ModifyPartitions>
|
</ModifyPartitions>
|
||||||
</Disk>
|
</Disk>
|
||||||
<WillShowUI>OnError</WillShowUI>
|
|
||||||
</DiskConfiguration>
|
</DiskConfiguration>
|
||||||
<ImageInstall>
|
<ImageInstall>
|
||||||
<OSImage>
|
<OSImage>
|
||||||
<WillShowUI>OnError</WillShowUI>
|
|
||||||
<InstallTo>
|
<InstallTo>
|
||||||
<DiskID>0</DiskID>
|
<DiskID>0</DiskID>
|
||||||
<PartitionID>3</PartitionID>
|
<PartitionID>4</PartitionID>
|
||||||
</InstallTo>
|
</InstallTo>
|
||||||
|
<InstallToAvailablePartition>false</InstallToAvailablePartition>
|
||||||
</OSImage>
|
</OSImage>
|
||||||
</ImageInstall>
|
</ImageInstall>
|
||||||
<UserData>
|
<UserData>
|
||||||
|
|
Loading…
Reference in a new issue