undetected usb

Forum rules
Before you post please read this
Post Reply
hhbuur
Level 1
Level 1
Posts: 5
Joined: Thu Feb 15, 2018 1:17 pm

undetected usb

Post by hhbuur » Sun Jul 01, 2018 9:20 am

I have a usb memory plug that will not be mounted, the program Disks shows that there are sdb1 4gb and so dos the terminal.
i created a file i /media/usbstick/, and then tried to mount the usb, I tried slightly different commands, making me believe there is a supper block that is corrupt
Are there any suggestions for what I do wrong?.

Code: Select all

$ lsblk
NAME                MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sdb                   8:16   1   3.8G  0 disk 
└─sdb1                8:17   1   3.7G  0 part 
sr0                  11:0    1  1024M  0 rom  
sda                   8:0    0 465.8G  0 disk 
├─sda2                8:2    0     1K  0 part 
├─sda5                8:5    0 465.3G  0 part 
│ ├─mint--vg-swap_1 253:1    0   7.6G  0 lvm  [SWAP]
│ └─mint--vg-root   253:0    0 457.7G  0 lvm  /
└─sda1                8:1    0   487M  0 part /boot

Code: Select all

$ sudo mount -t /dev/sdb1 /media/usbstick/
mount: can't find /media/usbstick/ in /etc/fstab
[code]

[code]$ sudo fsck /dev/sdb1
fsck from util-linux 2.27.1
e2fsck 1.42.13 (17-May-2015)
ext2fs_open2: Bad magic number in super-block
fsck.ext2: Superblock invalid, trying backup blocks...
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb1

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
 or
    e2fsck -b 32768 <device>

Code: Select all

 $ sudo e2fsck -b 8193 /dev/sdb1
e2fsck 1.42.13 (17-May-2015)
e2fsck: Bad magic number in super-block while trying to open /dev/sdb1

The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem.  If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>
 or
    e2fsck -b 32768 <device>

Code: Select all

 ~ $ sudo mount -t /dev/sdb1 /media/usbstick/
mount: can't find /media/usbstick/ in /etc/fstab

hhbuur
Level 1
Level 1
Posts: 5
Joined: Thu Feb 15, 2018 1:17 pm

Re: undetected usb

Post by hhbuur » Sat Aug 11, 2018 5:58 am

i haw some update info, but still do not understand what there is wrong.

Code: Select all

lshw | less

 *-usb
                   description: Mass storage device
                   product: STORE N GO
                   vendor: Verbatim
                   physical id: 2
                   bus info: usb@3:2
                   logical name: scsi6
                   version: 1.00
                   serial: 07A30109B21BB94E
                   capabilities: usb-2.00 scsi emulated scsi-host
                   configuration: driver=usb-storage maxpower=200mA speed=480Mbit/s
                 *-disk
                      description: SCSI Disk
                      physical id: 0.0.0
                      bus info: scsi@6:0.0.0
                      logical name: /dev/sdb
                      size: 3822MiB (4007MB)
                      configuration: logicalsectorsize=512 sectorsize=512

Code: Select all

~ # mount -t vfat /dev/sdb /media/usbstick 
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.

Code: Select all

 ~ # dmesg | tail
[ 2009.609133] scsi 6:0:0:0: Direct-Access     Verbatim STORE N GO       PMAP PQ: 0 ANSI: 0 CCS
[ 2009.609903] sd 6:0:0:0: Attached scsi generic sg2 type 0
[ 2009.979572] sd 6:0:0:0: [sdb] 7827456 512-byte logical blocks: (4.01 GB/3.73 GiB)
[ 2009.981536] sd 6:0:0:0: [sdb] Write Protect is off
[ 2009.981542] sd 6:0:0:0: [sdb] Mode Sense: 03 41 00 00
[ 2009.983443] sd 6:0:0:0: [sdb] No Caching mode page found
[ 2009.983453] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[ 2010.014950] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 2015.971509] FAT-fs (sdb): invalid media value (0x20)
[ 2015.971540] FAT-fs (sdb): Can't find a valid FAT filesystem


Mute Ant
Level 13
Level 13
Posts: 4897
Joined: Tue Sep 03, 2013 7:45 pm

Re: undetected usb

Post by Mute Ant » Sat Aug 11, 2018 7:50 am

If a removable drive has a recognised file-system, your file manager can mount it. That's what you try first, to avoid permissions problems with NTFS and VFAT pretending to belong to user root.

Manually mounting it, you can let Linux guess the type...
sudo mount /dev/sdb1 $HOME/Public
...or get the command exactly right...
sudo mount -t vfat /dev/sdb1 $HOME/Public
Data stored in an encrypted volume will only be accessible with the original password. Without this key, all the data will remain scrambled beyond hope of recovery.

gm10
Level 7
Level 7
Posts: 1606
Joined: Thu Jun 21, 2018 5:11 pm

Re: undetected usb

Post by gm10 » Sat Aug 11, 2018 8:34 am

hhbuur wrote:
Sun Jul 01, 2018 9:20 am
I have a usb memory plug that will not be mounted, the program Disks shows that there are sdb1 4gb and so dos the terminal.
You can mount it from Disks then (just click on the triangle). If necessary, create a partition first and format it.

Post Reply

Return to “Mounting Partitions”