USB Flash drive appearing in GParted but not auto mounting
GParted Screenshot:-
USB Flash drive appearing in GParted but not auto mounting
GParted Screenshot:-
Open terminal and write
# mount <usb stick>
:~> mount /dev/sdb1
mount: can’t find /dev/sdb1 in /etc/fstab or /etc/mtab
mount is not working
With the device plugged in, open a terminal and try this (as regular user)
udisks --mount /dev/sdb1
Any errors? If not, navigate to /media… with nautilus file manager. Report back.
@All-Thanks for the replies
In ordinary user mode as well as super user mode output is as follows,something seems to be inhibiting the mounting of the drive
:~> udisks --mount /dev/sdb1
Mount failed: Daemon is inhibited
That result is still progress, as it shows it could be a policy issue. Have a look at /usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy
cat cat /usr/share/PolicyKit/policy/org.freedesktop.hal.storage.policy
and check out this section
<action id="org.freedesktop.hal.storage.mount-removable">
<description>Mount file systems from removable drives.</description>
<message>System policy prevents mounting removable media</message>
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
Is yours the same? It can be edited directly if necessary, or adjusted if necessary via a GUI tool (described here):
FWIW, I note the udisks package contains a file
/usr/share/polkit-1/actions/org.freedesktop.udisks.policy
which may also play a part in your user access issues (though I don’t see a section there that pertains to removable devices).
Another useful diagnostic approach will be to get the name of the unmounted removable device from
fdisk -l
(You’ll need to issue as root for the above command). It may be /dev/sdb1 for example. Then type
udisks --show-info /dev/sdb1
with the appropriate device name. That may show useful info for the device file in question.
@deano_ferrari - hal.storage.policy seems tobe according to your specification :- Ref:- SUSE Paste
I removed drive and I tried mounting again,now it says:-
:~> udisks --mount /dev/sdb1
Mount failed: Error mounting: mount: you must specify the filesystem type
NOTE:-Issue occurs only with adata drive and not with the other kingston c10 Data Traveller. SUSE mounts c10 perfectly even now .But adata fails
Adata drive which i have :- http://www.adata.com.tw/?action=product_feature&cid=1&piid=11
That would indicate to me that its having trouble identifying the file system.
udisks --mount /dev/sdb --mount-fstype vfat
Edit: You may need to reformat this device based on this info
#
block size: 512
#
job underway: no
#
usage:
#
type:
#
version:
#
uuid:
#
label:
#
partition:
It should be able to tell you what partition type it is for example.
For reference , a storage device I have at hand (with a valid fs):
size: 510132224
block size: 512
job underway: no
usage: filesystem
type: vfat
version: FAT16
uuid: 1234-5678
label:
drive: