Forum

WSL, Ubuntu - .VHDX...
 
Notifications
Clear all

WSL, Ubuntu - .VHDX space optimization

1 Posty
2 Users
0 Likes
287 Widok
0
Topic starter

any example?

1 Answer
0
Topic starter
  1. Open power shell as administrator
  2. type:
    wsl --shutdown
  3. Disable disk compression! 
    1. Right click on *.VHDX file of system (in my case is ext4.vhd)
    2. go to "Advanced"
    3. Uncheck "Compress"
  4. Open Command (cmd.exe)
  5. type
    diskpart
  6. type
    select vdisk file="c:\full\path\to\ext4.vhdx"
  7. type
    compact vdisk
  8. Done, now close cmd window
  9. Now start ubuntu as usual
This post was modified 9 miesięcy temu by mrmucha

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: