Computer Tips - How do I mount a flash/thumb drive on a headless box?
Q. How do I mount a flash/thumb drive on a headless box?
A. If you are running a GUI like Gnome or KDE it will probably be
automatically mounted for you.
On a headless machine you have to do the work. First search dmesg
to see its name:
dmesg | grep -i SCSI
I got several lines but this is relevant one:
[ 2.945821] sd 6:0:0:0: [sdc] Attached SCSI removable disk
So now I know its device sdc. (Which I could have guessed since
I already have a sda and sdb.)
Now issue the usual mounting commands:
mount /dev/sdc1 /mnt/thumb
There is no need to specify the type (with -t) since it will be figured out
for you. Its likely vfat.