Environment
Microsoft Windows 7
Situation
When applying a Windows 7 image specifying specific partitions the following error may occur during the SID Change operation:
ERROR: Segmentation Fault
This has been seen when a separate partition also exists or is created, such as a D:\ partition to store data, and only the Windows 7 base image is being applied.
Example:
img -pd1 #delete partition 1
img -pd2 #delete partition 2
img -pa1 #set partition 1 activeimg -pc1 -type=NTFS 100 #creates Windows 7 hidden system partition
img -pc2 -type=NTFS 8000 #creates Windows 7 C:\ partition
img -pc3 -type=NTFS #creates additional D:\ partitionimg -rp <image name>.zmg -ap=a1:p1 #applies the Windows 7 hidden partition to partition 1
img -rp <image name>.zmg -ap=a2:p2 #applies the Windows 7 C:\ to partition 2
During the final SID Change operation after applying the Windows 7 image, the Segmentation Fault occurs.