Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

I can not mount USB devices

Started by allegro-vivo, February 01, 2016, 01:13:14 PM

Previous topic - Next topic

allegro-vivo

Until yesterday it was always fine, but now I've problem with mounting usb keys and sd cards.

I've connected an external hard drive, a 8 GB sd card and a 32 GB sd card via usb (with usb adapters)

  • Thunar is not showing any usb device. (see 1st attached image)
  • GParted detects the external hard drive and the 8 GB sd card. (see 2nd attached image)
  • Windows XP on VirtualBox detects and manages the 8 GB sd card, I could read and writes the files on it. (see 3rd attached image)
On Terminal I've typed:
  • sudo fdisk -l and this was the output:

ste@desktop:~$ sudo fdisk -l
[sudo] password for ste:
Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00070a9a

Device     Boot   Start       End   Sectors   Size Id Type
/dev/sda1          4159   4000061   3995903   1.9G 82 Linux swap / Solaris
/dev/sda2       4004158 625137343 621133186 296.2G 83 Linux

Disk /dev/sdb: 1.8 TiB, 2000398933504 bytes, 3907029167 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xb5f0cb59

Device     Boot Start        End    Sectors  Size Id Type
/dev/sdb1  *       64 3907024128 3907024065  1.8T  7 HPFS/NTFS/exFAT

Disk /dev/sdd: 7.2 GiB, 7742685184 bytes, 15122432 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start      End  Sectors  Size Id Type
/dev/sdd1        8192 15122431 15114240  7.2G  b W95 FAT32

  • lsblk and this was the output:

ste@desktop:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 298.1G  0 disk
├─sda1   8:1    0   1.9G  0 part [SWAP]
└─sda2   8:2    0 296.2G  0 part /
sdb      8:16   0   1.8T  0 disk
└─sdb1   8:17   0   1.8T  0 part
sdd      8:48   1   7.2G  0 disk
└─sdd1   8:49   1   7.2G  0 part
sr0     11:0    1  1024M  0 rom 


what can I do?



seppalta

To mount  a vfat partition, put into /etc/fstab the following:  /dev/sdd1  /media/8gbstorage  vfat  user,fmask=0111,dmask=0000  0  0
where you replace sdd1 by the corresponding partition searches as shown the partition to be, and 8gbstorage by whatever name you want it called.  From your data (your images did not show)  /dev/sdd1 should work for the 8GB volume.

To mount a ntfs partition, put into /etc/fstab the following:   /dev/sdd1  /media/windows  ntfs-3g  defaults    0    0
where you replace sdd1 by the corresponding partition searches as shown the partition to be, and windows by whatever name you want it called.

View the most recent posts on the forum