Open erlangparasu opened 11 months ago
The following steps MAY work (I didn't test):
# Change N to the actual ID of the external disk
sudo qemu-nbd --socket=/tmp/nbd.sock /dev/rdiskN
sudo chown $(whoami) /tmp/nbd.sock
ssh -F ~/.lima/ssh.config -R /tmp/nbd.sock:/tmp/nbd.sock lima-default
sudo apt-get install nbd-client
sudo nbd-client -unix /tmp/nbd.sock /dev/nbd0
sudo kpartx -a /dev/nbd0
sudo mount /dev/nbd0p1 /mnt/foo
See also:
i hope mounting feature is directly accessable via limactl
command
Description
mount into
/mnt
from external drive (even external filesystem is unreadable by macos, eg Ext4, NTFS)