* [PATCH v2] dev-manual/start.rst: added missing command in Optimize your VHDX file using DiskPart
@ 2025-07-21 9:39 Marco Cavallini
2025-08-04 7:09 ` Antonin Godard
0 siblings, 1 reply; 2+ messages in thread
From: Marco Cavallini @ 2025-07-21 9:39 UTC (permalink / raw)
To: docs; +Cc: Marco Cavallini
After compact vsdisk you have to detach it before exiting
otherwise the vdisk remains attached.
DISKPART> select vdisk file="<path_to_VHDX_file>"
DISKPART> attach vdisk readonly
DISKPART> compact vdisk
DISKPART> detach <------------ new missing command
DISKPART> exit
Signed-off-by: Marco Cavallini <m.cavallini@koansoftware.com>
---
documentation/dev-manual/start.rst | 1 +
1 file changed, 1 insertion(+)
diff --git a/documentation/dev-manual/start.rst b/documentation/dev-manual/start.rst
index e10367752..803ea2601 100644
--- a/documentation/dev-manual/start.rst
+++ b/documentation/dev-manual/start.rst
@@ -554,6 +554,7 @@ your Yocto Project build host:
DISKPART> select vdisk file="<path_to_VHDX_file>"
DISKPART> attach vdisk readonly
DISKPART> compact vdisk
+ DISKPART> detach
DISKPART> exit
.. note::
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] dev-manual/start.rst: added missing command in Optimize your VHDX file using DiskPart
2025-07-21 9:39 [PATCH v2] dev-manual/start.rst: added missing command in Optimize your VHDX file using DiskPart Marco Cavallini
@ 2025-08-04 7:09 ` Antonin Godard
0 siblings, 0 replies; 2+ messages in thread
From: Antonin Godard @ 2025-08-04 7:09 UTC (permalink / raw)
To: docs, Marco Cavallini; +Cc: Thomas Petazzoni, Antonin Godard
On Mon, 21 Jul 2025 11:39:38 +0200, Marco Cavallini wrote:
> After compact vsdisk you have to detach it before exiting
> otherwise the vdisk remains attached.
>
> DISKPART> select vdisk file="<path_to_VHDX_file>"
> DISKPART> attach vdisk readonly
> DISKPART> compact vdisk
> DISKPART> detach <------------ new missing command
> DISKPART> exit
>
> [...]
Applied, thanks!
[1/1] dev-manual/start.rst: added missing command in Optimize your VHDX file using DiskPart
commit: 1cc65ddf1a074f61fe5a63d222f3079b7fcb4c1e
Best regards,
--
Antonin Godard <antonin.godard@bootlin.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-08-04 7:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-21 9:39 [PATCH v2] dev-manual/start.rst: added missing command in Optimize your VHDX file using DiskPart Marco Cavallini
2025-08-04 7:09 ` Antonin Godard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).