LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Difficulty to mount USB Pen Drive (https://www.linuxquestions.org/questions/linux-hardware-18/difficulty-to-mount-usb-pen-drive-211010/)

fatra2 07-29-2004 08:51 AM

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.

kilgoretrout 07-29-2004 09:47 AM

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


I-LiKe-LiNuX 08-06-2004 11:40 AM

well I can't use mine in Fedora Core 2 or Red hat 9 so I want to know what it is aswell.

FacUtSciam 09-07-2004 12:21 PM

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.... :scratch: :mad: :cry:

stevie_velvet 09-08-2004 11:41 AM

your output implis the pendrive is on sda2 !

fatra2 09-10-2004 01:58 AM

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.


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