move-wsl icon indicating copy to clipboard operation
move-wsl copied to clipboard

Batch util doesn't consider resized vdisk

Open DANgerous25 opened this issue 3 years ago • 1 comments

Describe the bug
A clear and concise description of what the bug is. Batch util results in default vdisk size when importing. (not tested: bash/PowerShell versions) Please add terminal output if possible:
I had resized my vdisk using the guide here. However after running the batch utility my vdisk had resized to its default of 256M.

Script version:

  • [ ] Bash
  • [ ] Powershell
  • [X] Batch

DANgerous25 avatar Jun 15 '21 09:06 DANgerous25

Under the hood the wsl --export and wsl --import functionality is used. I am not sure, why this increases the vdisk size again, but I think there's nothing I can do against it. I guess the only way would be to rewrite the tool, to edit the registry directly

pxlrbt avatar Jun 15 '21 14:06 pxlrbt