Cannot mount thumb drive
Running Slackware 10.2 with 2.4 kernel on a very new machine.
I have usb slots on the front of my machine and I have a new Lexmar 1GB thumb drive. I am unable to mount it: Code:
mount -t vfat /dev/sda4 /mnt/t Code:
mount: /dev/sda4 is not a valid block device I have even rebooted to, but no dice...I did this because I can plug the thumbdrive in at work on on XP machine at it works fine. I googled and saw that some people have reformated the thumbdrive on XP in order to get it to work on Linux...? Now I did check dmesg, and here is the output Code:
hub.c: new USB device 00:02.2-7, assigned address 4 Any ideas on what is going on? |
those lines in dmesg arent what your looking for, your looking for something like:
Code:
usb 3-2: new full speed USB device using uhci_hcd and address 2 |
I have a new Kingston 1GB drive which was not recognised by Slackware or Ubuntu.
I reformatted as FAT32 on Windows and now all is well. FAT16 would probably have worked as well. There seems to be some variation in "formatting", volume labelling and boot sector setting of these flash drives that can cause problems. |
you probably don't have to format it in windows, but you might need to format it with dos support. The -D switch does it in sfdisk, just read the man page to whichever utility you prefer and I'm sure they're will be a similar option.
regards, ...drkstr |
Thanks everyone for the help.
How would I format the thumbdrive if I can't mount it under Linux? I am at work and reformatted with WinXP using FAT32. When I get home I will try to mount and see what happens. thank again |
Try to find out what the thumbdrive is called by running
Code:
fdisk -l Then, mount it using the command Code:
mount -t vfat /dev/sd?? /mnt/floppy Formating is not related to being able to mount the drive's partition. Infact, it could be there is no partitionon that drive that you can mount, in which case you'll have to create the partition using (c)fdisk and then format that using mkdosfs Eric |
Quote:
mount /dev/sda1 /mnt/usb I did make a directory called "usb" specfically to mount my usb drive to, but any mount point should work. |
In my case I could see messages about sda and sda1 in messages and syslog.
The mount -t auto (or vfat) /dev/sda1 mnt/usb did not work, but worked for other keydrives. There is something odd about the formatting of certain usb drives. |
Update:
At work I reformated the thumbdrive with FAT32. Once I got home I plugged it in and tried to mount it and got the same error. The weird thing. Just this week I was using the thumbdrive and was able to mount/unmount without any problems...I haven't updated my system or done anything different, so I wonder what has happened or changed to cause my thumbdrive to become unmountable...? thanks again |
Quote:
Code:
root@ladytron:/mnt# fdisk -l Its not seeing the thumbdrive... And I've tried different mountpoints under /dev, but no dice... |
I might have overlooked this, but is your usb-sotrage module loaded ('lsmod' to check). If not, 'modprobe usb-storage' to load it up.
regards, ...drkstr |
try seeing if its even recognized as being pluged in:
lsusb check before you plug it in and after to look for changes. |
Ok here is the output from my lsmod
Code:
Code:
lsusb I think there is something weird going on with dmesg, check it out Code:
Code:
Code:
I only have 6 usb ports, 2 on the front and 4 on the back. Could there be a problem with the IRQs? I checked under /proc, but don't seem to get any good information... thanks |
***BUMP***
Thinking about this the other day... I have Slackware 10.2 on a desktop and my laptop. My USB thumb drive loads find on the laptop, but doesn't on the desktop. Would it be worth it to compare files between the two, like the hotplug and udev to see what is different and what is the same and modify the desktop's files? thanks |
I don't think that would help, simply because so much has changed between 10.2 and 11.0 when it comes to udev and hotplug. I'm not sure it is comparable.
Does your thumbdrive have a little status light? Does it turn on? It might be some physical connection issue, the front ports might be bad. |
All times are GMT -5. The time now is 07:00 PM. |