LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   USB problem..... (https://www.linuxquestions.org/questions/linux-software-2/usb-problem-569782/)

hanybeeee 07-16-2007 08:45 AM

USB problem.....
 
Hello friends
i m unable to mount my Flash Drive.
i have Kingston 512 MB Flash drive
i is detect as i see it in Control Center - > Information -> then USB stoage....
but able to mount it
reply me what i do for it...

stress_junkie 07-16-2007 09:03 AM

You should always use the Linux Questions site search to see if your question has been asked and answered before you post a question. This is a very common topic. If you had clicked on "Search" then clicked on "Advanced Search" you could search for discussion tags. In the tag box you could type in the word "mount" and a list of tags that start with that word would appear. You choose one of the tags and press the "Search" button at the bottom of the page. Here is one of the discussions that you could have found using this method.
http://www.linuxquestions.org/questi...16#post2679716

Basically you create a mount point. A mount point is just a directory. Then you use the mount command to connect the device/partition to the mount point.

Note that if the mount point that you want already exists then you don't have to create a new one. You just use the mount command.

Log on as root and enter the following commands. These commands work if your Flash card shows up in Linux as /dev/sda1.
Code:

mkdir /mnt/flash
mount /dev/sda1 /mnt/flash

If you had to create the mount point then you will probably have to change the permissions on the mount point after the partition is mounted to allow normal users to access the Flash card.
Code:

chgrp users /mnt/flash
chmod g+rwx /mnt/flash


hanybeeee 07-16-2007 09:32 AM

when i mount it using the follwing command it give me following error
root@localhost root]# mount /dev/sda1 /mnt/C
mount: /dev/sda1 is not a valid block device
[root@localhost root]#
now what i do next.,...

stress_junkie 07-16-2007 01:45 PM

Did you check to see if the Flash drive is mapped to /dev/sda1? I only used /dev/sda1 as an example. What is the device name when you look it up in Control Center? Whatever the Control Center calls it is what you should mount.

If you are doing the mount command properly then maybe your Flash drive does not have a file system on it. Usually they come preformatted with the Microsoft FAT32 file system. In order to see what partitions and file systems are on a block storage device you open a terminal window and enter the fdisk -l command.
Code:

fdisk -l
That will show all of the block devices that Linux recognizes and what partitions and file systems are on those devices.


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