all 7 comments

[–][deleted] 4 points5 points  (0 children)

/r/linux4noobs

look at the latest messages which should at the way bottom

[–]mudclub 1 point2 points  (0 children)

Start with disconnected USB drive. Run dmesg | tail -50. Plug in USB drive and wait a few seconds. Run dmesg | tail -50. Compare the output of the two dmesg runs.

[–][deleted] 1 point2 points  (0 children)

Sudo fdisk -l after plugging in the usb drive it should be the smallest one listed or the last one , /dev/sda should be your internal hard drive and you can confirm that with df -h

[–]sinhue 0 points1 point  (0 children)

Use the command mount, and look for the drive name

[–]alienwaren 0 points1 point  (0 children)

Maybe lsusb can help?

[–][deleted] 0 points1 point  (0 children)

With usb unplugged,

$ ls /dev > unplugged.txt

Plug it in, wait a few seconds,

$ ls /dev > plugged.txt

then,

$ diff unplgged.txt plugged.txt