How do I increase the physical size of a WSL virtual disk? I only managed to increase the virtual size..
1 Answer
You can use this guide from Microsoft to manually increase the disk size (rather than relying on automatic resizing), then use resize2fs
in your WSL (as you would on any other Linux) to make sure Linux is "aware" of the increased space.
Also, here's an issue pushing for making it easier, from the outset.
-
1Good find! I believe those are fairly recent MS additions to the docs, which is great. Jul 10, 2021 at 17:22