USB device not mounted
Hello need help and advice on how to fix usb key drive not mounted
I get this error message "Unable to mount the selected volume.: mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab" Could you please steer me in the right direction to fix this fault cheers rob2006:) |
You need to add a mount point (/mnt/usbkey for example) in to /etc/fstab. My USB mount point is:
/dev/sdb1 /mnt/usb auto defaults 0 0 |
In my experience, certainly with 2007.0 and 2007.1, you don't need an entry in fstab. Just plug in the drive and click on the desktop "Devices" icon (or maybe the default name is "Media"). After a short delay the key drive will be shown. Click on the icon and the drive is mounted (probably as /media/removable) and opened in konqueror. Before removing the drive, it's a good idea to unmount it by right-clicking on its icon and selecting "Safely remove".
Jim |
rob2006, where are you receiving this error?
As mentioned, Mandriva should auto/super-mount the device for you, no need to mess with fstab unlike maybe in arckane's Gentoo distro choice. Try using KDE's Konqueror file browser to view system:/media or media:/ |
Actually, I have this problem on 2007.1. It was working fine on 2007.0, but now - after an upgrade to 2007.1 - I have to manually mount each time. I've even tried putting an entry in fstab to no avail (it just gives me bad block errors). I do think there's something odd going on with 2007.1.
|
Make sure you're running the latest kernel. There was an update which resolved a number of usb related problems.
Jim |
It's the same Kernel as I was running on 2007.0 though...
|
Flash drives work fine here with MDK 2007.1 (Spring) running kernel-2.6.17-14mdv (I just tested). I'd suggest you make sure your system is completely updated (there have been quite a few patches in recent weeks) and try the current kernel.
For any one who may be interested, the Mandriva Online Update tool no longer requires a Club membership. It checks the Updates repository I configured my system to use periodically and if there are any updates, the icon turns red with a '!'. I click the icon and Mandriva Update is started. HTH, |
You might try using fsck to check if the filesystem on the pendrive is OK. If it was unplugged before the cache was written, it may be damaged.
Some things to try: restart the dbus daemon restart the hal daemon Umount any usb drives and then unload & reload the ehci_hcd or uhci_hcd kernel modules. Monitor the kernel messages when inserting the pen drive: sudo tail -f /var/log/messages This may alert you to problems. Examine the udev info. udevinfo -n env -n /dev/sda1 This will tell you things like the filesystem, the label and the UUID of the filesystem. For example: Code:
:~> sudo tail -f /var/log/messages Code:
~> udevinfo -q env -n /dev/sdc1 If I wanted to manually mount it, Code:
LABEL=CRUZER512 /media/CRUZER512 vfat noatime,noauto,users,gid=users,fmask=0113,dmask=0002,utf8=true The second example gives me exclusive write access to the device when mounted. And only root and myself can mount it on this system. |
Finally got some time to look at this again...
If I plug in my Palm in Lifedrive mode (so that it looks like a USB drive) with its SD card in I get this: [root@HP510 robertw]# udevinfo -q env -n /dev/sdb1 ID_VENDOR=Unknown ID_MODEL=palmOne_Handheld ID_REVISION=1.0 ID_SERIAL=Unknown_palmOne_Handheld_PVG0M895V1BU ID_TYPE=disk ID_BUS=usb ID_PATH=pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:1 ID_FS_USAGE=filesystem ID_FS_TYPE=vfat ID_FS_VERSION=FAT16 ID_FS_UUID=918B-52C9 ID_FS_LABEL= ID_FS_LABEL_SAFE= [root@HP510 robertw]# This make Konqueror bring up a window but gives me bad block errors and tells me to do just what you suggested: [root@HP510 robertw]# tail -f /var/log/messages Jun 12 14:45:16 HP510 kernel: sdb: Write Protect is off Jun 12 14:45:16 HP510 kernel: sdb: assuming drive cache: write through Jun 12 14:45:16 HP510 kernel: SCSI device sdb: 3935232 512-byte hdwr sectors (2015 MB) Jun 12 14:45:16 HP510 kernel: sdb: Write Protect is off Jun 12 14:45:16 HP510 kernel: sdb: assuming drive cache: write through Jun 12 14:45:16 HP510 kernel: sdb: sdb1 Jun 12 14:45:16 HP510 kernel: sd 0:0:0:1: Attached scsi removable disk sdb Jun 12 14:45:17 HP510 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0 Jun 12 14:45:17 HP510 kernel: sd 0:0:0:1: Attached scsi generic sg1 type 0 Jun 12 14:45:24 HP510 kernel: FAT: Unrecognized mount option "mask=0" or missing value If I plug it in without its SD card (it still has a 4GB HDD on board) I get this: [root@HP510 robertw]# udevinfo -q env -n /dev/sda1 ID_VENDOR=palmOne, ID_MODEL=File_storage ID_REVISION=1.0 ID_SERIAL=palmOne,_File_storage_PVG0M895V1BU ID_TYPE=disk ID_BUS=usb ID_PATH=pci-0000:00:1d.7-usb-0:1:1.0-scsi-0:0:0:0 [root@HP510 robertw]# I can manually mount both SD card and the Lifedrive HDD just fine. Would be nice for it to happen automatically though. Cheers! |
All times are GMT -5. The time now is 10:02 AM. |