SparkyLinux Forums

Software & hardware support => Hardware => Topic started by: allegro-vivo on February 01, 2016, 01:13:14 PM

Title: I can not mount USB devices
Post by: allegro-vivo on February 01, 2016, 01:13:14 PM
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)
On Terminal I've typed:

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


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?
(http://postimg.org/image/jpbfrmw9b/)
(http://postimg.org/image/t4hxfi7rb/)
(http://s24.postimg.org/ntrvkbusl/virtualbox.png)
Title: Re: I can not mount USB devices
Post by: seppalta on February 01, 2016, 10:08:02 PM
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.