pwdonald / chromeos-qemu-docker

WIP instructions to run docker inside of a QEMU environment on ChromeOS using Termux.
MIT License
88 stars 14 forks source link

Add examples for shared folders. #4

Open pwdonald opened 6 years ago

pwdonald commented 6 years ago

This could be tricky as it seems that mounting a directory using VVFAT in qemu results in a segmentation fault if the ChromeOS host makes any changes to the shared directory.

pwdonald commented 6 years ago

After a lot of trial and error it hit me--just use a SFTP mount in the native ChromeOS Files App. Port 10022 is already mapped in start_persist.sh using qemu hostfwd. Simply go to the Files app and add click 'Add new services' -> 'Secure Shell' then ssh as usual (you can set the mount point at the bottom of this dialog) which will then show up in the sidebar of the Files app as if it were mounted.

I will update the documentation with further details at a later time but for now anyone who stumbles on this I have tried the following with no success:

So in the end the easiest solution was right in front of my face. SFTP via Secure Shell.