LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how we can mount a pen drive in Redhat linux Advance Server 2.1As (https://www.linuxquestions.org/questions/linux-newbie-8/how-we-can-mount-a-pen-drive-in-redhat-linux-advance-server-2-1as-751422/)

rakesh_sni 08-31-2009 03:05 AM

how we can mount a pen drive in Redhat linux Advance Server 2.1As
 
i am trying to mount a pen drive in Redhat linux Advance Server 2.1As but i am unable to do that can any body help me for doing that.

colucix 08-31-2009 03:10 AM

Some additional information is required: 1. what is the size in Mb or Gb of the pen drive? 2. can you post the output of the following commands (the first one as root) when the pen drive is already inserted in USB port?
Code:

fdisk -l
mount

the first should see your pen drive. The second will tell us about the actually mounted filesystems.

rakesh_sni 08-31-2009 03:26 AM

my pen drive size is 4GB,i have issued the command fdisk -l but pen drive is not shown,file system is ext3.i am also trying this command cat /proc/partitions it shows
hda,hda1 to hda10,i have already plugged pen drive in usb port.

colucix 08-31-2009 03:37 AM

Quote:

Originally Posted by rakesh_sni (Post 3663626)
but pen drive is not shown

So this is the problem. Is the USB port working? Can you try it using another USB device? Another test: unplug and plug the pen drive again. Immediately after run
Code:

dmesg | tail -50
to see if there is some relevant error message. Copy/paste the lines here if in doubt.

rakesh_sni 08-31-2009 05:35 AM

my USB port is working,i am running the command dmesg | tail -50 after plugging the pen drive following lines appear

hub.c:USB new device connect on bus1/1,assigned device number2
usb.c:USB device 2 (vend/prod 0x3f0x0x3207) is not claimed by any active driver .

SCSI subsystem driver REvision:1.00
Initializing USB Mass Storage driver....
scsi0: SCSI emulation for USB Mass Storage devices
Vendor: HP Model:v100w Rev:PMAP
Type: Direct-access ANSI SCSI revision:02

Warning: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.

rakesh_sni 08-31-2009 06:10 AM

how we can mount it this usb drive the file system of usb drive is FAT32

linuxlover.chaitanya 08-31-2009 07:03 AM

Can you see what is partition name for the usb drive? It is should be there in dmesg.

Then you can mount it using mount command

mount -t vfat <device> <mount point>

Like

mount -t vfat /dev/sdb1 /media/usb

Here the mount point should exist. If it is not there then create the directory.

rakesh_sni 08-31-2009 08:56 AM

partition name of usb drive is not shown

linuxlover.chaitanya 08-31-2009 11:55 PM

Unless you know on which port the usb drive is recognized it is difficult to mount it. Can you check with some other usb drive? Or on other usb port?


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