Page 2 of 2

Re: OS Deployment

Published: September 29, 2022 - 10:18 AM
by sfonteneau
Your screenshot shows a 4.1 GB ISO, not 16 GB as in the previous logs.

Is this an ISO that was modified to be 16 GB?

It's possible that it won't work either, because file uploads go through the /tmp directory of the machine, and if /tmp doesn't have enough space...

Re: OS Deployment

Published: September 29, 2022 - 11:35 AM
by admgautier
Hi Simon,

Yes, yesterday I encountered a disk space error. After fixing it, I re-imported the ISO, which is 12.8GB (yes, a modified ISO).

The download stopped at 100% with the following error: [Error


message here]. So I deleted the ISO and added it again. I just restarted the Nginx service. Is this the correct method to get a consistent hash?

Thanks in advance for your feedback.

Re: OS Deployment

Published: September 29, 2022 - 12:13 PM
by sfonteneau
The hash is still incorrect.

At worst, you can transfer the file using WinSCP and then rename it.

We're running tests here by uploading very large ISO files to see...

Re: OS Deployment

Published: September 29, 2022 - 2:31 PM
by admgautier
The installation is in progress, I am having problems with my answer file because you formatted the disk before downloading the Iso.

Do you happen to know which partition the Windows image is installed on? I tried forwarding one of your answer files and adding the command:

Code: Select all

<ImageInstall>
                <OSImage>
                    <InstallToAvailablePartition>true</InstallToAvailablePartition>
                    <InstallFrom>
                            <Path>install.wim</Path>
                </OSImage>
</ImageInstall>         
I found an error on the line<Path>

My original answer file contained the following code (and worked):

Code: Select all

<ImageInstall>
                <OSImage>
                    <InstallTo>
                        <DiskID>0</DiskID>
                        <PartitionID>4</PartitionID>
                    </InstallTo>
                </OSImage>
</ImageInstall>
Thank you in advance for your feedback.
Anthony

Re: OS Deployment

Published: September 29, 2022 - 2:55 PM
by sfonteneau
Note that you must not format the disk in the XML file

In the Windows 10 template, it's done like this:

Code: Select all

			<ImageInstall>
				<OSImage>
					<InstallToAvailablePartition>true</InstallToAvailablePartition>
					<InstallFrom>
						<Path>install.wim</Path>
                        <MetaData>
                            <Key>/IMAGE/FLAGS</Key>
                            <Value>Professional</Value>
                        </MetaData>
					</InstallFrom>
				</OSImage>
			</ImageInstall>
InstallToAvailablePartition true tells the Windows installer to handle it; it works well under Windows 10



In the Windows 11 UEFI template, this is how it's done because `InstallToAvailablePartition true` doesn't work properly (Windows 11 bug)

Code: Select all

			<ImageInstall>
				<OSImage>
					<InstallTo>
						<PartitionID>3</PartitionID>
						<DiskID>0</DiskID>
					</InstallTo>
					<InstallToAvailablePartition>false</InstallToAvailablePartition>
					<WillShowUI>OnError</WillShowUI>
					<InstallFrom>
						<Path>install.wim</Path>
						<MetaData>
							<Key>/IMAGE/FLAGS</Key>
							<Value>Professional</Value>
						</MetaData>
					</InstallFrom>
				</OSImage>
			</ImageInstall>
In a Windows 11 legacy (non-UEFI) system, it should be:

Code: Select all

<PartitionID>2</PartitionID>


I believe

Re: OS Deployment

Published: September 29, 2022 - 3:03 PM
by admgautier
Thank you for your feedback.

Yes, indeed, after analyzing your topics and the Windows 10 answer file, I noticed your configuration.

I'm currently fine-tuning the file, but the ISO is already downloading correctly, which is a victory in itself. :)

What's strange is that I'm getting an error message on the line ,

start a new thread to avoid mixing topics.

Thanks for your help. The team is awesome!!

Anthony

Re: OS Deployment

Published: September 29, 2022 - 3:19 PM
by sfonteneau
admgautier wrote: Sep 29, 2022 - 3:03 PM
What's strange is that I'm getting an error message on the line ..
No closing InstallFrom tag in my opinion ;)

Re: OS Deployment

Published: September 29, 2022 - 3:25 PM
by admgautier
Hehe, that was exactly it! :oops:

I'm waiting to see how the new installation goes...

Thanks again

Re: [RESOLVED] OS Deployment

Published: October 3, 2022 - 11:54 AM
by dcardon
Thank you for your feedback.

I'm marking this topic as RESOLVED. Please open a new topic if you encounter any further problems.

Sincerely,

Denis