LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB Stick does not show up in /dev or in File Browser (https://www.linuxquestions.org/questions/linux-hardware-18/usb-stick-does-not-show-up-in-dev-or-in-file-browser-4175640400/)

xcynthos 10-15-2018 04:32 AM

USB Stick does not show up in /dev or in File Browser
 
Hi there,

I currently try to repair a USB Stick (Superblocks corrupted).
After doing e2fsck the USB Stick disappeared in /dev.

lsblk gave me that:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 465,8G 0 disk
├─sda1 8:1 0 23,3G 0 part /
├─sda2 8:2 0 1K 0 part
├─sda5 8:5 0 9,3G 0 part /var
├─sda6 8:6 0 7,9G 0 part [SWAP]
├─sda7 8:7 0 1,9G 0 part /tmp
└─sda8 8:8 0 423,4G 0 part /home

lsusb:
Bus 003 Device 002: ID 8087:8000 Intel Corp.
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 009: ID 0bdb:193e Ericsson Business Mobile Networks BV
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

My /etc/fstab looks like:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda1 during installation
UUID=14ec5ce7-715b-41c6-bd50-63cb2fdc2419 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda8 during installation
UUID=1e6fd48d-f65a-46d0-94fd-1e3d9c4f36d3 /home ext4 defaults 0 2
# /tmp was on /dev/sda7 during installation
UUID=54e7c073-8b73-4eb1-9922-52000f17d355 /tmp ext4 defaults 0 2
# /var was on /dev/sda5 during installation
UUID=539fe118-b291-4957-ac9c-31d8aee530db /var ext4 defaults 0 2
# swap was on /dev/sda6 during installation
UUID=75d15f3a-167e-4436-97ee-3f61f8215abf none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0


I don't know what to do know so I am asking for help.
Thank you

MensaWater 10-15-2018 10:29 AM

Remove the USB drive.

Count to 30

Reinsert the USB drive.

Check log to see what, if anything, it shows for when you reinserted the drive. This typically will show the sd name assigned. Note that the sd name can be different each time so it might be sdb on one access and sdg on the next.

Run "fdisk -l /dev/sd[letter]" on whichever name it shows in the log. (You can also run "parted /dev/sd[letter] print".)

Each partition will follow the sd name (e.g. sdb partition 2 will be sdb2). Run your fsck on the specific partition that has what you want.

fatmac 10-15-2018 01:46 PM

Also, after removing & re inserting it,
Code:

dmesg | tail
should show how it is being recognised.

ondoho 10-16-2018 03:28 AM

i sometimes see the message that "new partitions won't be visible until restart" in gparted.
not sure if i remember it correctly, and which command issues it, but anyhoo:
have you tried switching it off and on again?

syg00 10-16-2018 03:34 AM

Duplicate thread - the other was closed with no comment.


All times are GMT -5. The time now is 02:39 AM.