LinuxQuestions.org
Review your favorite Linux distribution.
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 07-29-2004, 09:51 AM   #1
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 214

Rep: Reputation: 35
Difficulty to mount USB Pen Drive


Hello,

I am trying to mount a USB Pen Drive with Red Hat 9.

When I plug the device into the USB port, it recognizes it.

With the command "lsusb", I can see that my device is recognize by the system. The same with the command "cdrecord -scanbus". When I try mounting my pendrive, the system gives me

root : mount /dev/sdb1 /mnt/pendrive/
/dev/sdb1: Input/output error
mount: /dev/sdb1 is not a valid block device

What I don't understand is that after this operation is over, I can still see my device with the "lsusb" command. But the "cdrecord -scanbus" does not see my device anymore.

I have been looking through alot of threads in this forum. All the solutions given do not work here.
 
Old 07-29-2004, 10:47 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,334

Rep: Reputation: 144Reputation: 144
Are you sure it's sdb1? With the pendrive connected try running as root:

# fdisk -l

That should list all filesystems, whether mounted or not, that the system recognizes. Here's my output for example with my usb hard drive on sda not mounted:



Code:
# fdisk -l

Disk /dev/hdi: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdi1   *           1        2854    22924723+   c  W95 FAT32 (LBA)
/dev/hdi2            2855        9729    55223437+   f  W95 Ext'd (LBA)
/dev/hdi5            2855        3829     7831656    b  W95 FAT32
/dev/hdi6            3830        9729    47391718+   b  W95 FAT32

Disk /dev/hdj: 80.0 GB, 80054059008 bytes
255 heads, 63 sectors/track, 9732 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdj1   *           2        9732    78164257+   f  W95 Ext'd (LBA)
/dev/hdj5               2          92      730926   82  Linux swap
/dev/hdj6              93        2642    20482843+  83  Linux
/dev/hdj7            2643        8457    46708956    b  W95 FAT32
/dev/hdj8            8458        9732    10241406   83  Linux

Disk /dev/hdk: 60.0 GB, 60040544256 bytes
16 heads, 63 sectors/track, 116336 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdk2   *          16      116328    58621185    f  W95 Ext'd (LBA)
/dev/hdk5              17       20831    10490413+   b  W95 FAT32
/dev/hdk6           20831       42570    10956298+  83  Linux
/dev/hdk7           42570       65934    11775613+  83  Linux
/dev/hdk8           65934       89490    11872003+  83  Linux
/dev/hdk9           89490       91577     1052226   82  Linux swap
/dev/hdk10          91577      116328    12474441   83  Linux

Disk /dev/sda: 122.9 GB, 122941341696 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda2   *           2       14372   115435057+   5  Extended
/dev/sda5               2       14372   115435026   1b  Hidden W95 FAT32
 
Old 08-06-2004, 12:40 PM   #3
I-LiKe-LiNuX
LQ Newbie
 
Registered: Jul 2004
Location: On the toilet after a curry!
Distribution: All the pretty distros!
Posts: 17

Rep: Reputation: 0
well I can't use mine in Fedora Core 2 or Red hat 9 so I want to know what it is aswell.
 
Old 09-07-2004, 01:21 PM   #4
FacUtSciam
LQ Newbie
 
Registered: Sep 2004
Distribution: fedoracore2
Posts: 7

Rep: Reputation: 0
i'm having trouble in this area too i'm trying to mount a (formatted- no longer "secure") lexar 128mb jumpdrive secure under fedora core 2 i've tried every device name i can think of and always get the "not a valid block device" message just like fatra2... when i try "fdisk -l", it only lists my hda devices whether or not the drive is plugged in..... since it doesn't list them, this means it doesn't even recognize that there are sda's, right? i guess i just don't understand what's going on here....

what really peeves me is that the drive will mount with no problems whatsoever on my friend's laptop, which also runs fedora core 2....

Last edited by FacUtSciam; 09-07-2004 at 01:23 PM.
 
Old 09-08-2004, 12:41 PM   #5
stevie_velvet
Member
 
Registered: Aug 2004
Location: Italia + UK
Distribution: RHEL 4 + Fedora FC5
Posts: 118

Rep: Reputation: 15
your output implis the pendrive is on sda2 !
 
Old 09-10-2004, 02:58 AM   #6
fatra2
Member
 
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 214

Original Poster
Rep: Reputation: 35
Acutally not. My hardware browser tells me that my drive is on sdb1.

It looks like as soon as I want to mount it, the system does not recognize the device.

I tried with a different usb memory stick, and I works perfectly. I can mount it without a problem. I don't know why I can't mount this one.
 
  


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
can't mount usb pen drive with hotplug dori Slackware 8 03-02-2007 03:22 AM
unable to mount usb pen drive in redhat 9.0 zero79 Linux - Hardware 9 01-25-2007 10:07 PM
hey i am not able to mount usb pen drive amolgupta Linux - Hardware 1 05-07-2005 02:51 AM
howto mount usb pen drive? name_in_use450 Linux - Hardware 2 08-24-2004 08:23 AM
Can't mount USB memory stick/pen drive wellmt Slackware 11 06-25-2004 03:10 AM


All times are GMT -5. The time now is 07:27 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration