Langsung ke konten utama

# Guide: Mounting Google Drive to WSL

Mounting Google Drive to WSL - Guide

Guide: Mounting Google Drive to WSL

Status: Successfully Mounted

This guide documents the steps taken to mount your Google Drive (ritooo@gmail.com) to your WSL environment.

Prerequisites

  • rclone: A command-line program to manage files on cloud storage.
  • FUSE: Filesystem in Userspace, required for mounting cloud drives.

Steps Taken

1. Verify rclone Installation

We checked if rclone was installed and configured.

rclone version
rclone config show

2. Verify Account Access

We checked the contents of the gdrive remote to ensure it was the correct account.

rclone lsd gdrive: --max-depth 1

3. Set Up Mount Point

Initially, /mnt/gdrive was attempted, but it was owned by root. To avoid permission issues and sudo password requirements, we created a mount point in your home directory:

mkdir -p ~/gdrive

4. Mount Google Drive

We used the following command to mount the drive in the background:

rclone mount gdrive: ~/gdrive --vfs-cache-mode full &
Note: --vfs-cache-mode full is recommended for better compatibility with applications that expect a local filesystem.

5. Verify Mount Status

You can check if the drive is mounted using:

mount | grep gdrive
ls ~/gdrive

How to Mount Automatically on Startup

To ensure the drive mounts every time you start WSL, you can add the mount command to your ~/.bashrc or ~/.zshrc file:

# Add this to the end of your ~/.bashrc
if ! mount | grep -q "$HOME/gdrive"; then
    rclone mount gdrive: ~/gdrive --vfs-cache-mode full --daemon
fi
Generated on Monday, June 1, 2026

Komentar

Postingan populer dari blog ini

Menggunakan Modem ZTE MF 622 di Ubuntu

Setelah beberapa waktu lalu saya berhasil mengutak atik modem huawei 620, Sekarang saya akan menuliskan bagaimana menggunakan modem zte mf 622 di linux. Kebetulan, linux yang saya gunakan kali ini adalah Ubuntu 8.10. Mungkin lain waktu, saya akan mencoba langkah-langkah pada tulisan ini di Fedora (sebenernya, saya lebih terbiasa dengan Fedora daripada Ubuntu), namun karena ingin mencoba distro yang digadang-gadangkan banyak komunitas sebagai distro termudah, dan terbanyak penggunanya, maka saya pun akhirnya tak dapat menahan rayuan untuk mencoba ubuntu versi terbaru ini. Oh ya, sebelumnya, saya menggunakannya di laptop saya, acer aspire 4520. dan ini adalah foto dari modem saya OK, segera kita mulai. Untuk menggunakan modem ZTE MF 622 ini, tidak banyak aplikasi yang dilibatkan. Aplikasi yang dibutuhkan antara lain wvdial, dmesg, pptp. * wvdial ini digunakan untuk memudahkan kita menggunakan modem ini. * dmesg digunakan untuk memeriksa message pada kernel apakah ketika modem ditancapkan...

Bind DNS Graph in Cacti

In My Previous tutorial, Menampilkan hasil DNS query pada cacti I tried to graph my bind dns server in cacti. At the moment, I usedBind version 4.3. By the time, ISC (Consorcium that create bind) always update this software. Usually, they update because of found bug, improve perfomance, hardware support, and other. Until now, Bind version is 10. but currently, I still use bind 9.8. it seems that, after bind 9.4, ISC change mayor update in thebind version. because of this, my tutorial for bind 9.3.4 did not compatible anymore for latest bind. I have tried to search in internet,googling, find the forum, but still not successfull.  And fortunately, 5 days ago, I tried to access cacti forum. found the new way to graph new bind version in cacti. for the forum, you can see at this link : http://forums.cacti.net/viewtopic.php?f=12&t=45926&start=0 Because of my couriousity, I tried to make graph my bind. Oh ya, I run my dns server in Linux (RHEL 5.5) I think ou can run...

Cara membangun DNS Filter (mari berantas pornografi)

Kebutuhan : 1. dns server, pilihan yang baik menggunakan powerdns, karena saya rpm base, maka silakan di download di : http://downloads.powerdns.com/releases/rpm/pdns-static-2.9.22-1.i386.rpm download powerdns sebagai authoritative server 2. linux box, pastinya. 3. database situs-situs yang ingin di blok, bisa didownload di http://urlblacklist.com/cgi-bin/commercialdownload.pl?type=download&file=bigblacklist pilih situs porno 4. web server saya asumsikan di sini, kita akan menyimpan databasenya dalam bentuk file. powerdns bisa menyimpannya dalam database, salah satu yang telah saya coba adalah mysql. namun pada tutorial ini, yang saya bahas adalah menggunakan file. di dalam database tersebut, terdapat kategori porn, nah pilih kategori tersebut. lalu pilih file domain. ide dari dns filtering ini adalah "memaksa" suatu domain, katakanlah situs porno tadi, ke suatu ip yang telah kita assign. ip tersebut, bisa di server dns filter ini. misalnya dns filter...