Today I learned that Google Drive doesn’t auto-mount in WSL2 like regular Windows drives. Even though ls /mnt/g/ showed my Google Drive folder, I couldn’t access anything inside it.
The fix:
sudo mount -t drvfs G: /mnt/g
cd "/mnt/g/My Drive"
WSL2 needs you to manually mount network/virtual drives using drvfs. After mounting, all my Google Drive files were accessible normally.
Simple solution, but took way too long to figure out!
Took way too long to figure out thanks to LLM hallucinations - sometimes Stack Exchange is still to the rescue! 🤦♂️
No comments yet. Be the first!
Leave a comment
All comments are moderated and appear after approval. Your email is optional and won't be shared. If your comment needs a personal reply, I'll reach out by email.