![]() |
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
|
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. |
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
Code:
mount /dev/sda2 -t vfat /mnt/usb |
You can find out which sda devs have been detected by
Code:
dmesg | grep sdCode:
ls -l /dev/sd*Code:
mount -t xxx /dev/xxx /mnt/xxx |
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.. |
nevermind i figured it out, the correct syntax was
Code:
mount -t ext2 /dev/sda1 /mnt/usb |
| All times are GMT -5. The time now is 07:33 AM. |