You are not logged in.

#1 2011-10-12 15:38:14

soroush
Member
From: Urmia - IRAN
Registered: 2011-09-25
Posts: 33

USB flash storage mounted as read-only filesystem

Hello all,
I'm new to Arch Linux and trying to migrate all my works to arch. Installed KDE, GNOME3, and hardware drivers successfully smile But I have problems with USB flash disks. When plugging a usb device, system mounts it as a readonly filesystem. so I can't change its contents. It always happens to my flash disk, but flash disk of my friend is ok!

I tried to mount manually with super user access, but no hope. It says:

[root@myhost soroush]# mount /dev/sdb1 /mnt/
mount: warning: /mnt/ seems to be mounted read-only.

Offline

#2 2011-10-12 15:41:35

roygbiv
Member
Registered: 2011-05-18
Posts: 204

Re: USB flash storage mounted as read-only filesystem

Try creating a new directory in /mnt/ and mount it to that instead.

Offline

#3 2011-10-12 15:44:26

soroush
Member
From: Urmia - IRAN
Registered: 2011-09-25
Posts: 33

Re: USB flash storage mounted as read-only filesystem

roygbiv wrote:

Try creating a new directory in /mnt/ and mount it to that instead.

Nope

[root@myhost soroush]# mkdir /mnt/test
[root@myhost soroush]# mount /dev/sdb1 /mnt/test/
mount: warning: /mnt/test/ seems to be mounted read-only.

Offline

#4 2011-10-12 15:47:01

roygbiv
Member
Registered: 2011-05-18
Posts: 204

Re: USB flash storage mounted as read-only filesystem

Maybe you can post your /etc/fstab?

Offline

#5 2011-10-12 15:47:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: USB flash storage mounted as read-only filesystem

What filesystem is it? NTFS needs ntfs-3g package for write support.

Offline

#6 2011-10-12 15:52:37

soroush
Member
From: Urmia - IRAN
Registered: 2011-09-25
Posts: 33

Re: USB flash storage mounted as read-only filesystem

I tried ntfs and ext4 filesystems with partition table of both BSD and DOS format.

Offline

#7 2011-10-12 15:53:12

soroush
Member
From: Urmia - IRAN
Registered: 2011-09-25
Posts: 33

Re: USB flash storage mounted as read-only filesystem

roygbiv wrote:

Maybe you can post your /etc/fstab?

# 
# /etc/fstab: static file system information
#
# <file system> <dir>   <type>  <options>       <dump>  <pass>
tmpfs           /tmp    tmpfs   nodev,nosuid    0       0
/dev/sda2 / ext4 defaults 0 1
/dev/sda3 /home ext4 defaults 0 1
/dev/sda4 swap swap defaults 0 0

Offline

#8 2011-10-12 15:58:55

soroush
Member
From: Urmia - IRAN
Registered: 2011-09-25
Posts: 33

Re: USB flash storage mounted as read-only filesystem

karol wrote:

What filesystem is it? NTFS needs ntfs-3g package for write support.

Thanks!
Installing ntfs-3g package solved problem. It's funny! my flash disk is an ext4 filesystem....

Offline

#9 2011-10-12 16:08:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: USB flash storage mounted as read-only filesystem

soroush wrote:
karol wrote:

What filesystem is it? NTFS needs ntfs-3g package for write support.

Thanks!
Installing ntfs-3g package solved problem. It's funny! my flash disk is an ext4 filesystem....

Now I've seen everything.

I hope there's a logical explanation for this.

Offline

#10 2011-10-12 16:25:53

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: USB flash storage mounted as read-only filesystem

The flash device is fat32 is one solution............


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#11 2011-10-12 16:48:12

soroush
Member
From: Urmia - IRAN
Registered: 2011-09-25
Posts: 33

Re: USB flash storage mounted as read-only filesystem

I formatted again via GParted. It's ext4. Windows 7 can't recognize it and asks me to format it.
Without ntfs-3g I can't write anything to my flash!

Offline

#12 2011-10-12 17:20:10

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: USB flash storage mounted as read-only filesystem

It obviously isn't fully established as ext4 but contains an element for windows 7 which requires ntfs-3g to be recognized.

Some flash devices cannot be used in linux being fixed into ntfs for windows only AFAICT.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#13 2013-08-08 03:15:45

Maximum
Member
Registered: 2013-01-29
Posts: 5

Re: USB flash storage mounted as read-only filesystem

Wanna say Thanks, was searching for solving this problem nearly 3 hours now.
Ridicoulus how the ntfs is making problems with rights every time. Would be a n1 idea to format my storage into ext4.

Offline

#14 2013-08-08 09:50:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: USB flash storage mounted as read-only filesystem


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB