Is it possible to automount partition/drive using wsl --mount after restart? · Issue #6073 · microsoft/WSL
Is your feature request related to a problem? I am able to mount my ext4 partition in wsl-2 using the following command in powershell: wsl --mount \.\PHYSICALDRIVE4 --partition 1 However when I eit...
https://github.com/microsoft/WSL/issues/6073
予備の HDD を raw device としてマウントして mpd の sotrage として使ってみる。 (OSが吹き飛ぶなどそれなりに危険な作業なので注意)
on windows
未使用のディスクだったので、管理から volume 削除してディスクをオフラインに変更した。
> wsl --mount <DiskPath> --bare
でディスクを丸ごと wsl
に送る。
on wsl
/dev/sdd となった。
- parted
- mkfs.ext4
- mount