Installation on two phisical discs

Antworten
mlebeda
Beiträge: 42
Registriert: 27 Sep 2012, 15:43

Installation on two phisical discs

Beitrag von mlebeda »

Hello,
I'm trying possibility of installing Win 7-x64 on SSD (OS) and HDD (DATA) at the same time. When I install Windows through Windows PE appears pop up message, in which it says something like (translated from Czech):

Code: Alles auswählen

Windows can not set the partition as active on disk 0 The specified partition on the destination drive does not exist. When using the <DiskConfiguration> unattended Setup answer file error has occurred. Error code: 0x80300002
If I remove the HDD after rebooting, Windows PE start booting and install the SSD with no error messages. Looks like they are trying to write to the HDD, which have partition, instead of the SSD. Something tells me that Windows PE see other order of the drives. I guess the problem lies in this line (<DiskID>0</DiskID>) :

Code: Alles auswählen

<Disk wcm:action="add">
<DiskID>0</DiskID>
<ModifyPartitions>
<ModifyPartition wcm:action="add">		<Active>true</Active>		<Format>NTFS</Format>		<Label>WINDOWS</Label>		<Letter>C</Letter>		<Extend>false</Extend>		<Order>1</Order>		<PartitionID>1</PartitionID>	</ModifyPartition>	.........	
</ModifyPartitions>
</Disk>
Btw using latest Netboot stable build Win7-x64 4.0.4-1.


Regards
Martin
mlebeda
Beiträge: 42
Registriert: 27 Sep 2012, 15:43

Re: Installation on two phisical discs

Beitrag von mlebeda »

Hello,
I did some research and found that the problem is in the disk numbering in Windows PE. Must manually change DiskID from 0 to 1 for "<Disk wcm:action="add">" and "<ImageInstall>" in the unattend.xml. So far I can think of either SysDiskID add a variable to the unattend.xml and perform in the linux environment bootimage this variable or before startnet.cmd run some binary that sorts drives as well as linux bootimage.
Tomorrow will carry out further research.

Regards
Martin Lebeda
Antworten