How to access Windows' OneDrive folder from Linux

Linux

My friend had some files in the OneDrive folder on Windows’ partition, wondering how to access them directly from Linux (because of the unsupported reparse point error). Hence, this article was born.

  1. Install ntfs-3g (with FUSE support so you can mount drives without sudo).
  2. Download the plugin from Web Archive.
  3. Extract the zip and place the plugin (ntfs-plugin-9000001a.so in linux-64 or other platforms) under /usr/lib/ntfs-3g/. You might need to create the folder yourself.
  4. Mount the Windows partition with GUI or ntfs-3g /NTFS_partition /mount/point, e.g., ntfs-3g /dev/sda1 /mnt/windows. Unmount first if it has been mounted.
  5. If you want to mount the partition during boot, you can add /NTFS_partition /mount/point ntfs-3g defaults 0 0 to the end of your /etc/fstab.

References: