LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-24-2009, 02:06 PM   #1
LXAdm
LQ Newbie
 
Registered: Sep 2009
Posts: 5

Rep: Reputation: 0
Question Mount USB Device


I am attempting to mount a usb flash drive with the following cmd: mount /dec/sda8 /mnt/usbdrive

I have a folder created under /mnt named usbdrive, when I enter lsusb to see the number associated with it it shows me Bus 004 Device 008 ID 0718:0069 Imation Corp. and this is the device I have connected. At first it returned that I needed to specify a file type. So I entered the following mount -t fat32 /dev/sda8 /mnt/usbdrive and got the result fat32 not supported by the kernel.

Does anyone know of anything I am doing wrong or if I need to do something different?

Any and all help would be appreciated.
Len
 
Old 09-24-2009, 02:15 PM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Try entering 'fdisk -l' without the quotes and as root, see if that will list the drive and number.

I would not think your usb drive would be listed as sda, that should be your hd.
 
Old 09-24-2009, 02:19 PM   #3
LXAdm
LQ Newbie
 
Registered: Sep 2009
Posts: 5

Original Poster
Rep: Reputation: 0
I did that and got this.


[root@vm08 root]# fdisk -l

Disk /dev/sda: 73.2 GB, 73295462400 bytes
255 heads, 63 sectors/track, 8910 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 650 5116702+ 83 Linux
/dev/sda3 651 8574 63649530 fb Unknown
/dev/sda4 8575 8910 2698920 f Win95 Ext'd (LBA)
/dev/sda5 8575 8643 554211 82 Linux swap
/dev/sda6 8644 8897 2040223+ 83 Linux
/dev/sda7 8898 8910 104391 fc Unknown

How can I do a list of the USB ports?
 
Old 09-24-2009, 03:11 PM   #4
JamesChamberlain
Member
 
Registered: Sep 2009
Location: Wirral, UK
Distribution: Red Hat Enterprise Linux / Fedora 11
Posts: 47

Rep: Reputation: 18
Hm, the device should automount and be able to be viewed by issuing:

df -h

Of coarse this is assuming the usb device was auto mounted. If not indeed you can issue fdisk -l to see the filesystems and devices attached to your machine.

If this isn't happening you should be able to see what device has been assigned to when you plug it in, my using the dmesg command.

Example:

Insert your usb device and issue dmesg,

this should show you what device was input (/dev/sdb .. etc)

You can then use this to mount the device

mkdir /mnt/usb
mount /dev/sdb /mnt/usb
 
Old 09-24-2009, 03:13 PM   #5
JamesChamberlain
Member
 
Registered: Sep 2009
Location: Wirral, UK
Distribution: Red Hat Enterprise Linux / Fedora 11
Posts: 47

Rep: Reputation: 18
Quote:
Originally Posted by LXAdm View Post
How can I do a list of the USB ports?
Using:

lsusb

Note; you can also use ls for other types of devices..

lspci

for example, you can also pipe with with a grep command to search for specific connected pci devices.
 
Old 09-24-2009, 04:06 PM   #6
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Quote:
Originally Posted by LXAdm View Post
I am attempting to mount a usb flash drive with the following cmd: mount /dec/sda8 /mnt/usbdrive
I'm assuming that's a post typo for 'dev' and not a command line typo.

Quote:
Originally Posted by LXAdm View Post
So I entered the following mount -t fat32 /dev/sda8 /mnt/usbdrive and got the result fat32 not supported by the kernel
You need 'vfat' rather than 'fat32'.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to mount usb device manoj.linux Linux - Enterprise 2 04-18-2008 04:25 AM
Mount USB device teco Linux - Hardware 2 10-28-2004 12:56 PM
can't mount USB device rob_xx17 Linux - Hardware 2 01-26-2004 05:41 PM
how can I mount this device: da0: <USB 2.0 Storage Device alkad_mzu *BSD 2 11-15-2003 06:15 PM
mount USB Device finger Linux - Hardware 2 07-21-2002 12:20 AM


All times are GMT -5. The time now is 10:50 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration