LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to mount usb flash drive in fedora? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-mount-usb-flash-drive-in-fedora-611239/)

jvan 01-04-2008 08:44 PM

how to mount usb flash drive in fedora?
 
fedora 7 cannot "see" my usb flash drive. how to mount the drive? im newbie what command i use?
and also how to copy files from fedora pc to usb drive.

Acron_0248 01-04-2008 09:09 PM

Hi,

Do you use KDE or Gnome?

From command you could connect the USB and then post the output of
Code:

lsusb
Also, you could connect the device and then post the output of:
Code:

ls -l /dev/disk/by-id
After connected, the usb flash drive will be at some sdx device, but what device depends on others sdx drives like SATA drives, I don't really know if you have some so I cannot give you any details, so, the ls -l command will give let you know the correct sdx device




Regards

jvan 01-04-2008 09:27 PM

ok tnx, by the way i use gnome

Acron_0248 01-04-2008 09:49 PM

AFAIK, you should see and access the device connected (if it's been detected) from 'Places' at the menu bar.

Do see drives icons on your desktop? if not, you could try pressing Atl + F2, type gconf-editor and go to Apps -> Nautilus -> Desktop and make sure that the option 'Volumes Visible' is checked, that should show an usb flash drive icon, again...if it's detected.

If you need more guidance, please try to post the outputs of the commands of my earlier post.



Regards

ShellyCat 01-24-2008 03:12 AM

Not sure whether this is distro-specific, but I mount it this way...
 
After much fumbling, and trying to mount "devices" that were probably USB hubs, I wondered, "What's in /dev/disk, exactly?" I found a folder called "by-label"...labels are used for removable media, so I listed its contents.

If your distro has /dev/disk/by-label and you have inserted your USB stick, you should see its label here as a link! (I don't know what will be used as a label if you haven't actually labled your stick.)

Then just use the link (instead of real path) in mount command:

Code:

mount /dev/disk/by-label/MY-PROJECTS /mnt/jump -t auto
ls /mnt/jump

You will see the contents of your USB stick! You can navigate in whatever GNOME file-manager you have if in GUI mode.

Please let me know if this works in your distro. I never used USB sticks in Linux before because I had no reason to until I got a laptop. I have Slackware 12.0, and nothing about the "by-label" folder is mentioned in the man pages for "mount"...I just found it.


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