使用 guestmount 安裝後 ext4.vhdx 損壞

使用 guestmount 安裝後 ext4.vhdx 損壞

我正在運行 Windows 11 和 Ubuntu 22.04.2 LTS (Jammy Jellyfish) 雙重啟動,昨天我嘗試使用 guestmount 從 ubuntu 掛載 WSL2 磁碟映像ext4.vhdx,這是我使用的命令:

sudo guestmount --add /path/to/ext4.vhdx -i --rw /mnt/myubuntu

起初它工作沒有問題,但今天當我想再次執行並訪問 WSL2 文件時,我收到此錯誤:

guestmount: access: /mnt/asus/Users/root1/Documents/WSL/Ubuntu/ext4.vhdx: Input/output error

即使我只是嘗試運行ls該文件:

ls: cannot access 'ext4.vhdx': Input/output error

當我嘗試 ls ext4.vhdx 時

另外,當我從 Windows 啟動時,我收到一條通知,說我的C:驅動器上有一些文件已損壞,當我運行 WSL 時,它說 ext4.vhdx 是corrupted and unreadable,我在驅動器上運行檢查,C:然後重新啟動,但沒有運氣,運行也chkdsk /f C:給了錯誤指出該卷正在被另一個進程使用。

有沒有辦法恢復磁碟映像或至少恢復其中的某些檔案?

先致謝

相關內容