Unable to mount USB-stick
I have a problem mounting my Creative Muvo TX MP3-player/USB-stick. I am running udev and dmesg express that the device is probed:
Code:
Type: Direct-Access ANSI SCSI revision: 02 Code:
Device Boot Start End Blocks Id System Code:
# mount -t msdos /dev/sdb1 /mnt/muvo Code:
# mount /dev/sdb1 /mnt/muvo Code:
# mount /dev/sdb1 -t fat16 /mnt/muvo I have tried reformatting, repartioning etc. Any help would be appreciated and if there is any information that is needed in order to answer this question, please let me now. There could be a very silly solution that I haven't thought of. I would be glad to hear it all. Edit: sdaX was suppose to be sdbX |
I'm not sure why you are trying /dev/sda instead of /dev/sdb. It seems to me that the dmesg told it as /dev/sdb.
What I would do is try sfdisk instead of fdisk. So what happens if you type: /sbin/sfdisk -l /dev/sdb and same for /sbin/sfdisk -l /dev/sda that is a -l (EL). This will just show the partitions from the device. Post back what that puts up. |
you have been using wrong syntacsis.
Follow this : mount -t vfat /dev/sda1 /mnt/"your directory" |
First of all thank for taking time to answer my question. It is greatly appreciated. :)
Quote:
Maybe it wasn't a good idea to alter the output. I have corrected the output according to what it really is. So the stick is on /dev/sdb(1) Quote:
When I reformat the unit you can see the result of this command. I make a partition at /dev/sdb Code:
# fdisk /dev/sdb Code:
# sfdisk -l /dev/sdb Code:
# mkfs -t vfat /dev/sdb1 Code:
# mount /dev/sdb1 /mnt/flash Code:
# mount /dev/sdb /mnt/flash using ex. vim in the current /mnt/flash directory. Code:
# cd /mnt/flash Code:
# umount /mnt/flash Code:
# mkfs.vfat /dev/sdb1 Code:
# mount /dev/sdb /mnt/flash |
Not even this work:
Code:
# /sbin/sfdisk -l /dev/sdb Code:
# mkfs -t ext3 /dev/sdb1 |
When you did mount /dev/sdb /mnt/flash did it take a really long time?
Because I have seen that, but it was primarily because my kernel was compiled for the wrong processor. What happens when you do cat /proc/partitions ? My guess is you are going to only see sdb. You should see sdb1 |
Have you looked at the /dev directory to make sure it actually has a /dev/sdb1 and it's permissions make it accessible?
Because when I was trying to get my PDA working, I got a message saying it had attached the device to /dev/ttyUSB1 and all was well - only there was no ttyUSB1! I created it manually using mknod, and it worked just fine after that. |
This is what worked for me, I've allowed for you 'sdb' device...
Plug in your memory stick and (as root); mkdir /mnt/mem mount -t vfat /dev/sdb1 /mnt/mem If this works, put this into /etc/fstab; /dev/sdb1 /mnt/mem vfat rw,users 0 0 Does this help? Normaly the devise is /dev/sda1, try this as well??? Steve |
I think I found a solution to the problem today. The problem was the following: /dev/sdb1 was symlinked to "win". I suspect that Wine has done this. I removed the symlink and readded /dev/sdb1 using mknod. It was however a bit tricky to know the syntax of the mknod command. After some googling I figured that the syntax could be the following:
Code:
mknod /dev/sdb b 8 16 Code:
sfdisk -l /dev/sdb |
Right so your main problem is resolved. Now you need to setup the parition as a vfat or whatever DOS type partition you want. I don't know too much about the DOS partition stuff.
I have a script that runs sfdisk and tells is "L" as the third parameter which is Linux. I believe there is a DOS type. But that's all you need to do .... -netstv |
When you partition using *fdisk, you can set the type ID (eg fat 16, linux) of a partition. At the fdisk prompt, typing t allows you to select an ID. After entering the partition number, you can list the codes by typing L. In your case, you'd probably want 'e W95 FAT16 (LBA)', so type 'e'. If that doesn't work, try '6 FAT16'. Then try formatting with mkfs.vfat.
The thing is, there maybe some ID confusion when mounting. If a partition is ID'd as Linux, it should be an ext2/3/etc FS. |
Thanks a lot. I wasn't aware of this "ID" issue.
I will do some further research on that subject :) Thanks a lot for all help! |
All times are GMT -5. The time now is 06:38 AM. |