# NTFS mounting support?

**URL:** <https://forums.balena.io/t/ntfs-mounting-support/338553>\
**Category:** Project help\
**Tags:** raspberrypi4\
**Created:** [July 14, 2021, 8:09pm UTC](https://forums.balena.io/t/ntfs-mounting-support/338553 "2021-07-14T20:09:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![droseGW](https://avatars.discourse-cdn.com/v4/letter/d/cc9497/32.png) [@droseGW](https://forums.balena.io/u/droseGW)\
**Post date:** [July 14, 2021, 8:09pm UTC](https://forums.balena.io/t/ntfs-mounting-support/338553/1 "2021-07-14T20:09:34Z")

</div>

I know that NTFS is not supported in balena. I installed NTFS-3G but was still met with missing /lib/modules.

My question is it possible to add these modules manually? I have done this with other kernel modules but wanted to check here before making a big effort.

Thanks!

---

<div class="post-metadata">

**Author:** ![klutchell](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/klutchell/32/861_2.png) [@klutchell](https://forums.balena.io/u/klutchell)\
**Post date:** [July 15, 2021, 8:43pm UTC](https://forums.balena.io/t/ntfs-mounting-support/338553/2 "2021-07-15T20:43:51Z")

</div>

Hey, welcome back to the forums!

You can definitely compile and load the required modules yourself if they are required for your project. You said you’ve done it before but there is an example here if you need it: [GitHub - balena-os/kernel-module-build: Example project for building an OOT kernel module in balena](https://github.com/balena-os/kernel-module-build)

If your Dockerfile builds the module, then you can run the container as privileged with the `io.balena.featrues.kernel-modules` label to have /lib/modules mounted in your container.

> **[docker-compose.yml fields - Balena Documentation](https://www.balena.io/docs/reference/supervisor/docker-compose/#labels)**
>
> docker-compose.yml fields supported by balena

---

<div class="post-metadata">

**Author:** ![droseGW](https://avatars.discourse-cdn.com/v4/letter/d/cc9497/32.png) [@droseGW](https://forums.balena.io/u/droseGW)\
**Post date:** [July 16, 2021, 1:34am UTC](https://forums.balena.io/t/ntfs-mounting-support/338553/4 "2021-07-16T01:34:18Z")

</div>

Sweet, I’ll dig in here soon and post progress.

---

<div class="post-metadata">

**Author:** ![droseGW](https://avatars.discourse-cdn.com/v4/letter/d/cc9497/32.png) [@droseGW](https://forums.balena.io/u/droseGW)\
**Post date:** [August 11, 2021, 1:17am UTC](https://forums.balena.io/t/ntfs-mounting-support/338553/6 "2021-08-11T01:17:15Z")

</div>

Finally getting around this.

So far just using example project and putting this in there.

> **[ntfs-3g/src at edge · tuxera/ntfs-3g](https://github.com/tuxera/ntfs-3g/tree/edge/src)**
>
> edge/src

The issue is that it uses a Makefile.am, not sure how to manipulate either build.sh to take a makefile.am or somehow derive a makefile. Looking at other sources as well. Any guidance here would be great!

Thanks

---

<div class="post-metadata">

**Author:** ![anujdeshpande](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/anujdeshpande/32/3155_2.png) [@anujdeshpande](https://forums.balena.io/u/anujdeshpande)\
**Post date:** [August 11, 2021, 7:16am UTC](https://forums.balena.io/t/ntfs-mounting-support/338553/7 "2021-08-11T07:16:20Z")

</div>

Hi

Have you checked out our Labs project balena-samba - [GitHub - balena-io-playground/balena-samba: Share your USB drive over the network using your IoT devic](https://github.com/balena-io-playground/balena-samba)

I believe it has support for what you need.

---

<div class="post-metadata">

**Author:** ![droseGW](https://avatars.discourse-cdn.com/v4/letter/d/cc9497/32.png) [@droseGW](https://forums.balena.io/u/droseGW)\
**Post date:** [August 11, 2021, 6:29pm UTC](https://forums.balena.io/t/ntfs-mounting-support/338553/8 "2021-08-11T18:29:50Z")

</div>

Wow thanks this just saved me a ton of time trying to do a kernel install. 🙂

---

<div class="post-metadata">

**Author:** ![dtischler](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/dtischler/32/2483_2.png) [@dtischler](https://forums.balena.io/u/dtischler)\
**Post date:** [August 11, 2021, 9:57pm UTC](https://forums.balena.io/t/ntfs-mounting-support/338553/9 "2021-08-11T21:57:11Z")

</div>

👍
