LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-21-2006, 10:13 AM   #1
A Debian Newbie
LQ Newbie
 
Registered: May 2006
Location: Guadalajara - Jalisco, Mexico
Posts: 12

Rep: Reputation: 0
How to mount a USB flash memory?


Hey!!!
It's been a LOONG time since my last post!!!!
My question is this (It's an easy one, but I don't know how to do it)

How can I mount an USB flash memory on Debian Sarge?
 
Old 12-21-2006, 10:48 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
mount /dev/sda1 /mnt/usb

I'm assuming that the USB drive was detected as sda1. Immediatley after plugging in the USB drive, type dmesg and look through the output. It will says somewhere in the text that the USB was detected as /dev/____
 
Old 12-21-2006, 09:32 PM   #3
hemantm
LQ Newbie
 
Registered: Feb 2006
Distribution: OpenSuse, Ubuntu, Debian, Fedora
Posts: 26

Rep: Reputation: 16
Insert the Flash drive in the USB port and issue the dmesg command. The command output will normally tell you what device you are using. It could be /dev/sda or /dev/sdb etc. depending upon the number of USB devices in use or it could also be /dev/sda1 or /dev/sdb1 etc depending upon if you have some sort of partitioning in the device. I have observed some Flash drives formatted through M$ platforms show /dev/sda1 while those formatted with vfat through Linux show /dev/sda.

Knowing the device you can mount it using mount command as discussed by musicman_ace.
Sometimes you may need to specify the file system type using -t option with mount.

You need to have root privileges to mount a device.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB flash memory (unable to mount) jlp1976 Linux - Hardware 10 01-05-2007 01:44 AM
Why I couldnot mount usb flash memory at slk10.1 kingsz1 Slackware 2 01-01-2006 05:25 AM
how to mount usb flash memory on RHEL 3.0 Owen_Townsend Red Hat 2 12-19-2004 01:32 PM
How to mount usb flash memory tony2666 Linux - Hardware 2 05-25-2004 07:31 AM
How do I mount a USB flash memory stick? brian Linux - Newbie 3 02-07-2004 02:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration