[SOLVED] DISKPART partitioning

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
julienplt
Messages: 19
Registration: July 8, 2025 - 4:58 PM

July 10, 2025 - 12:07

Hello,

this post isn't directly related to WADS, but rather to the DISKPART commands used for disk formatting.

Do you know if there's a way to configure partitioning by percentage rather than a fixed size in MB?

I'd like to have a Windows partition that's 50% of the total space, but I have a heterogeneous network with machines that have disks of different sizes (512GB, 1TB, etc.).

Regards
Last edited by julienplt on July 18, 2025 - 3:40 PM, edited 1 time.
User avatar
dcardon
WAPT Expert
Messages: 1930
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

July 10, 2025 - 12:21

Hello Julien,

julienplt wrote: Jul 10, 2025 - 12:07 This post isn't directly related to WADS, but rather to the DISKPART commands used for disk formatting.

Do you know if there's a way to configure partitioning by percentage and not with a fixed size in MB?

I'd like to have a Windows partition that's 50% of the total space, but I have a heterogeneous network with machines that have disks of different sizes (512GB, 1TB, etc.).
WADS uses the Windows diskpart tool, which, to my knowledge, doesn't offer this option. WADS should be able to perform the calculation and pass it to diskpart, but this feature hasn't been implemented.

I imagine this is to allow dual booting between Windows and Linux?

I'll create an internal ticket for this. In the meantime, I think you could do a 128GB install and create a WAPT package that resizes after a reboot. Not a perfect solution, but it should do the job.

Sincerely,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
julienplt
Messages: 19
Registration: July 8, 2025 - 4:58 PM

July 18, 2025 - 3:39 PM

Hello Denis,

Thank you for your reply.

Yes, that's correct, it's for dual-booting Windows and Linux.

Noted, I'll test this solution by extending the partition after installation.

Best regards
Locked