You are not logged in.

#1 2025-07-05 11:22:17

ktauchathuranga
Member
Registered: 2025-05-25
Posts: 8

why i cant write to NTFS drive in my minimal busybox os?

i am pretttyy new to this,
but i managed to create small linux distro using busybox
i want write to windows partition when i found it, so i wrote a little script for that,i can see the windows partitions, i can do ls the windows partitions, but when i try to create a file, its saying Read-Only file system. can some one tell me how to deal with this please...
thank uuuu smile

Offline

#2 2025-07-05 11:39:43

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,982

Re: why i cant write to NTFS drive in my minimal busybox os?

By default kernel mounts ntfs read-only. You need to explicitly enable r/w mounting.

See https://wiki.archlinux.org/title/NTFS#F … _read-only

Moderator Note :
moving to GNU/Linux Discussion


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2025-07-06 00:00:48

ktauchathuranga
Member
Registered: 2025-05-25
Posts: 8

Re: why i cant write to NTFS drive in my minimal busybox os?

is this correct? or do i have to do anything else?


make menuconfig


EDIT:
i manged it to working... thank you for the helpppp... smile

Last edited by ktauchathuranga (2025-07-06 13:11:57)

Offline

#4 2025-07-06 07:05:20

seth
Member
Registered: 2012-09-03
Posts: 66,141

Re: why i cant write to NTFS drive in my minimal busybox os?

Do yo build a custom kernel anyway?
Just (explicitly) mount the drive "ntfs3" instead or "ntfs"

Online

#5 2025-07-06 13:12:43

ktauchathuranga
Member
Registered: 2025-05-25
Posts: 8

Re: why i cant write to NTFS drive in my minimal busybox os?

seth wrote:

Do yo build a custom kernel anyway?
Just (explicitly) mount the drive "ntfs3" instead or "ntfs"

thank youuu... it worked... smile

Offline

#6 2025-07-06 13:20:58

seth
Member
Registered: 2012-09-03
Posts: 66,141

Re: why i cant write to NTFS drive in my minimal busybox os?

Yes, please read the NTFS article Lone_Wolf linked and always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

Board footer

Powered by FluxBB