如果在 WSL2 的 Ubuntu 內安裝 guestmount 並執行,可能會得到類似以下的錯誤訊息:
libguestfs: error: /usr/bin/supermin existed with error status 1, see debug messages above
libguestfs: trace: launch = -1 (error
libguestfs: trace: close
libguestfs: closing guestfs handle 0x556f7128b650 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfstk0IQf
解決方法:
sudo apt-get install linux-image-generic