You are not logged in.

#1 2018-01-31 07:30:25

ABOhiccups
Member
Registered: 2017-08-27
Posts: 97

Won't write SD Card with FAT32 Format

I try to get Arch Linux to access my SD Card with Read & Write. But it can only access as Read Only.

I try to use the Terminal and mount to folder as VFAT. I get this message.

WARNING: device write-protected, mounted read-only.

No, my SD Card was not set to Lock Mode.

Manjaro Linux allow me to Read & Write on my SD Card. But, Arch Linux doesn't.

Can anyone help me?

Offline

#2 2018-02-01 16:46:15

dviktor
Member
From: Moscow
Registered: 2015-10-18
Posts: 162

Re: Won't write SD Card with FAT32 Format

try explicit rw option with the mount command
also what is the card reader that you're using?

Offline

#3 2018-02-03 00:33:07

slytux
Member
From: New York
Registered: 2010-09-25
Posts: 129

Re: Won't write SD Card with FAT32 Format

I added my user to disk and storage groups and my flash drive mounted as rw under KDE/plasma.

Offline

#4 2018-02-03 07:52:37

dviktor
Member
From: Moscow
Registered: 2015-10-18
Posts: 162

Re: Won't write SD Card with FAT32 Format

I think that only storage group is the enough condition

Offline

#5 2018-02-05 23:40:24

ABOhiccups
Member
Registered: 2017-08-27
Posts: 97

Re: Won't write SD Card with FAT32 Format

How do I create storage group to access Read & Write on SD Card / USB Flash Drive?

Offline

#6 2018-02-05 23:55:48

loqs
Member
Registered: 2014-03-06
Posts: 17,495

Re: Won't write SD Card with FAT32 Format

ABOhiccups wrote:

I try to use the Terminal and mount to folder as VFAT. I get this message.

WARNING: device write-protected, mounted read-only.

What command was used to generate that output?  What is the output in dmesg when the device is inserted or if the system was booted with the device inserted the full output of dmesg?

Offline

#7 2018-02-06 01:53:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,808

Re: Won't write SD Card with FAT32 Format

Are you sure you did not bump that little write protect switch?   If it is a uSD card and you are using a carrier, the switch is on the carrier.
Not questioning your technical prowess, but I have had this very conversation with some very good engineers only to find out they had not double checked that.

Otherwise, what are the specific entries added to the journal when you insert the card?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#8 2018-02-06 08:58:11

dviktor
Member
From: Moscow
Registered: 2015-10-18
Posts: 162

Re: Won't write SD Card with FAT32 Format

ABOhiccups wrote:

How do I create storage group to access Read & Write on SD Card / USB Flash Drive?

For the first check your group list:

$ groups

And if the storage group is omitted try this:

# usermod -aG storage your_user_here

Offline

#9 2018-02-06 11:17:26

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Won't write SD Card with FAT32 Format

To add to what ewaller said, the slider on some carriers/adapters moves too easily and gets caught by the internals of the card reader thus changing position when inserted and almost returning to the unlocked position when removing the card, also check that.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#10 2018-02-07 08:42:39

ABOhiccups
Member
Registered: 2017-08-27
Posts: 97

Re: Won't write SD Card with FAT32 Format

My SD Card was set to unlocked. Arch Linux XFCE won't allow me to write data on SD Card.

I did try dviktor command suggestion. Nothing happened.

Offline

#11 2018-02-07 09:51:14

dviktor
Member
From: Moscow
Registered: 2015-10-18
Posts: 162

Re: Won't write SD Card with FAT32 Format

Can you post the part of the dmesg/journalctl log right after you insert your SD card into PC?
PS: also, did you relogin after adding to the storage group?

Last edited by dviktor (2018-02-07 09:51:51)

Offline

#12 2018-02-07 15:22:19

c00ter
Member
From: Alaskan in Washington State
Registered: 2014-08-28
Posts: 396

Re: Won't write SD Card with FAT32 Format

Is the SD card of a size that handles FAT32, or do you need to format it FAT16 or exFAT? https://en.wikipedia.org/wiki/Secure_Di … ile_system


UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. -- Doug Gwyn

Offline

#13 2018-02-07 16:38:27

seth
Member
Registered: 2012-09-03
Posts: 51,920

Re: Won't write SD Card with FAT32 Format

lspci, lsusb & dmesg - can you try another card?

Offline

#14 2018-02-08 09:53:51

fdservices
Member
From: France
Registered: 2012-02-06
Posts: 413

Re: Won't write SD Card with FAT32 Format

I had the same problem recently and it turned out that the card was faulty. I replaced it and everything was fine afterwards.

You can take a backup of the sdcard and then investigate with gparted.

Andrew

Offline

Board footer

Powered by FluxBB