-   Linux - Hardware (
-   -   trouble mounting USB (

Newtonx 10-25-2006 02:05 PM

trouble mounting USB
i have a serial ATA hdd, and i'm using slackware 10.2, my hdd reads as /dev/sda so my root is /dev/sda1 /dev/sda5 is my swap partition, i'm trying to mount my usb, without using x, what should my usb be in fstab ..../dev/???..........the usb is generally for winxp but i'm using slackware 10.2 on this computer and it works fine, i'm using a sandisk micro cruzer 2 gig jump drive....if that helps any

farslayer 10-25-2006 02:31 PM

PLug it in and then check your log files..

tail /var/log/dmesg
tail /var/log/messages

One of those log files should show the USB drive being plugged in and what /dev/sdx was assigned to it.

Newtonx 10-26-2006 12:28 PM

it only shows what /dev/xxx i've assigned it and it won't mount, anybody know the file system for that usb? i tryed

mount /dev/sda2 -t vfat /mnt/usb
but it didn't work...i've tryed many other /dev/xxx points but everytime i get it is not a valid fat fs type

dracolich 10-26-2006 02:13 PM

You can find out which sda devs have been detected by


dmesg | grep sd

ls -l /dev/sd*
then use mount like so


mount -t xxx /dev/xxx /mnt/xxx
where xxx is the appropriate fs, device and mount point. Be sure the /mnt/xxx actually exists.

farslayer 10-27-2006 07:26 PM

What is the exact error messae you get when yuo try to mount the drive ?

Did you create the directory /mnt/usb you are trying to mount the drive to ?

if you have a Seiral ATA Hard drive the it is /dev/sda , when you plug in a USB drive it would most likely be assigned /dev/sdb so to mount it

mount -t vfat /dev/sdb1 /mnt/usb

checking dmesg log after pluggin in the drive should confirm that..

Newtonx 12-06-2006 02:30 PM

nevermind i figured it out, the correct syntax was

mount -t ext2 /dev/sda1 /mnt/usb

All times are GMT -5. The time now is 02:59 PM.