Comments (3)
In what case is having both architecture causing you an issue?
None of my testing has ever shown an bad side effect to having both.
from windowsimagetools.
I think it's been working, but Microsoft warns about using both in the same file. (See the end of the documentation at the following link.) I do not know how this all works, but it if x86 works for both x86 and amd64, then why bother with defining a section for amd64?
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-7/dd799255%28v%3dws.10%29
I will try just x86. My attempt to add letters to the extra partitions was ignored. Probably because the drives are offline. I added a section to change the SAN policy that prevents them from coming online, but it was ignored. I used amd64, but the documentation indicated x86. Maybe that's the issue. If the oflineServicing pass is after the windowsPE pass, then perhaps this can't work. I have never tried this before. You're module inspired me to see if I can write a script to built a SQL Server unattended.
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<settings pass="offlineServicing">
<component name="Microsoft-Windows-PartitionManager" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
<SanPolicy>1</SanPolicy>
</component>
</settings>
<settings pass="windowsPE">
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral">
<DiskConfiguration>
<Disk wcm:action="add">
<DiskID>0</DiskID>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Order>1</Order>
<PartitionID>3</PartitionID>
<Label>OS</Label>
<Letter>C</Letter>
</ModifyPartition>
</ModifyPartitions>
</Disk>
<Disk wcm:action="add">
<DiskID>1</DiskID>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Order>1</Order>
<PartitionID>2</PartitionID>
<Label>SQL</Label>
<Letter>G</Letter>
</ModifyPartition>
</ModifyPartitions>
</Disk>
<Disk wcm:action="add">
<DiskID>2</DiskID>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Order>1</Order>
<PartitionID>2</PartitionID>
<Label>BACKUP</Label>
<Letter>H</Letter>
</ModifyPartition>
</ModifyPartitions>
</Disk>
<Disk wcm:action="add">
<DiskID>3</DiskID>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Order>1</Order>
<PartitionID>2</PartitionID>
<Label>DATA</Label>
<Letter>I</Letter>
</ModifyPartition>
</ModifyPartitions>
</Disk>
<Disk wcm:action="add">
<DiskID>4</DiskID>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Order>1</Order>
<PartitionID>2</PartitionID>
<Label>LOG</Label>
<Letter>J</Letter>
</ModifyPartition>
</ModifyPartitions>
</Disk>
<Disk wcm:action="add">
<DiskID>5</DiskID>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Order>1</Order>
<PartitionID>2</PartitionID>
<Label>TEMPDB</Label>
<Letter>T</Letter>
</ModifyPartition>
</ModifyPartitions>
</Disk>
</DiskConfiguration>
</component>
</settings>
etc.
Also, here is a link to the SAN policy bit.
from windowsimagetools.
I changed the san policy and disk config components to x86 and they are still ignored. I might end up using Set-Disk and Set-Partition to bring them online and set the label and letter.
from windowsimagetools.
Related Issues (15)
- Help file incorrect HOT 1
- Join account domin not always domain Joined HOT 1
- 64K ALU Support? HOT 2
- Create recovery patition as first partition
- Error at Set-Disk/VHD Partition Command in Convert-Wim2VHD HOT 1
- Set-DiskPartition does not report a useable error
- Wrong parameter in Set-DiskPartition.ps1 HOT 1
- Windows Server 2019 HOT 1
- $DiskLayout -eq 'BIOS' HOT 1
- Invalid module file HOT 2
- Reduce the New-DataVHD minimum size requirement HOT 3
- Module export for New-Unattended does not match function New-UnattendXml HOT 1
- New-Unattend DomainAccount Support? HOT 3
- Simplified timezone and language validation? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windowsimagetools.