How to remove write protection?


#1

Hi All,

I am using arria10 custom board with Linux 4.1.22.

When I try to copy/create files to board, I am getting, “Read-only file system” message.

In uboot, already read-write protection is present, and in kernel .dts file also i have given, bootargs = “earlyprintk,root=/dev/mmcblk0p2 rootwait rw”;

Please help me to solve this issue as soon as possible.

Thanks and Regards,
Aishwarya Bhat


#2

Just launch the file explorer as root from a console: sudo thunar (if you use thunar) or copy them with the console also as superuser.


#3

You can try mount to remount your filesystem as read-write.

mount -o remount, rw /


#4

Hi sir,
I tried this command in platform, I got the below error

mount -o remount, rw /
63.648494] EXT3-fs (mmcblk0p2): error: ext3_remount: Abort forced by user
mount: cannot remount rw read-write, is write-protected

But can you tell me where exactly I have to run those command? In platform or Host pc?


#5

It’s already in root permission.