We know that Google is working on eventually adding the ability to integrate Google Drive with Crostini in the future but this feature is not expected to hit production Chromebooks until sometime next year. Sadly it is also not possible to mount a Google Drive share (or any remote filesystems) at this time as well. Fortunately there is a excellent third party Google Drive client that I have personally used for a few years on my Linux machines called Insync – it turns out that it works in Linux without much of an issue. Here is now to install it:
Note 1: As Crostini lacks any way to automatically launch a application when the container starts, you will need to start InSync from the ChromeOS application launcher after starting your container.
Note 2: Insync is not a free application. It costs $30.00 per Google Account (One Time). There is no limit to the number of machines that you install it on and it supports MacOS, Windows and Linux. If you use my referral code to purchase your license, you will get $5.00 off the license bringing it to $25.00 (One Time). They have a 30 day money back guarantee if this does not work for you. You can order your license by visiting https://www.insynchq.com?fp_ref=kmyers.
You can install Insync by running the following commands in your Terminal
wget https://d2t3ff60b2tol4.cloudfront.net/builds/insync_126.96.36.199346-stretch_amd64.deb sudo dpkg -i insync_188.8.131.52346-stretch_amd64.deb rm insync_184.108.40.206346-stretch_amd64.deb
Once the installation is complete, launch the “Insync” application from your ChromeOS Application Launcher. It will take you through a setup Wizard in which you will need to authenticate with Google Drive and setup your default sync location. You will need to place files that you wish to sync into this folder. I strongly advise moving IDE workspaces and other important files into this directory.