Quero montar um arquivo raw feito com New-VHD -Path "H:\comfyui\ComfyUI.vhdx" -SizeBytes 1000GB -Dynamic
disco vhdx no WSL2 (ubuntu-22.04), tentei:
como montar uma imagem .vhdx no lubuntu
(o exemplo 2 também gerou esse erro), mas recebi este erro:
/mnt/h/comfyui$ sudo guestmount --add ComfyUI.vhdx -i --rw /mnt/ComfyUI
libguestfs: error: /usr/bin/supermin exited with error status 1.
To see full error messages you may need to enable debugging.
Do:
export LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
and run the command again. For further information, read:
http://libguestfs.org/guestfs-faq.1.html#debugging-libguestfs
You can also run 'libguestfs-test-tool' and post the *complete* output
into a bug report or message to the libguestfs mailing list.
Então isso não funcionou. Eu também tentei montá-lo com: wsl --mount "H:\comfyui\ComfyUI.vhdx" --type ext4
e também não funcionou. Também não sei como formatar para ext4 no Windows, então não sei o que pensei que funcionaria. E -type raw
também não funciona. Também pedi ajuda ao chatgpt e, depois de algumas iterações diferentes, wsl --mount
não tenho certeza se isso importa, mas tenho um Docker Desktop e ele consegue montar seus arquivos: Docker desativado:
sda 8:0 0 388.4M 1 disk
sdb 8:16 0 8G 0 disk [SWAP]
sdc 8:32 0 1T 0 disk /mnt/wslg/distro
Docker em:
loop0 7:0 0 531.9M 1 loop /mnt/wsl/docker-desktop/cli-tools
loop1 7:1 0 625M 1 loop
sda 8:0 0 388.4M 1 disk
sdb 8:16 0 8G 0 disk [SWAP]
sdc 8:32 0 1T 0 disk /mnt/wslg/distro
/
sdd 8:48 0 1T 0 disk /mnt/wsl/docker-desktop/docker-desktop-user-distro
sde 8:64 0 1T 0 disk
Se eu precisar adicionar algum registro, por favor, me avise! Agradeço desde já!