How do I mount my usb key?

After inserting the usb key, an icon should appear on your desktop. If not, you can try the following suggestions.

Enterprise Linux 3:
Right-click on the desktop, then choose Disks->Usb to mount the usb key.

Enterprise Linux 4:
Double-click on the Computer icon on your destop, then double-click on Filesystem, then media.
If your device is recognized, it will be listed in this directory.

You can also go to /media directly to locate your device.
 


At a terminal window, type:

mount /mnt/usb

or

mount /dev/sda1 /mnt/usb

If it doesn't work then try this:

mount -t vfat /dev/sda1 /mnt/usb

If it still doesn't work try this (some usb keys don't have a partition table on them):

mount -t vfat /dev/sda /mnt/usb

If this still doesn't work, try to reload the modules:

modprobe -r usb-storage
modprobe usb-storage

Then try to mount again.
 


If you are not sure what device your system is using, type:
tail -f /var/log/messages
Now insert the usb device.
You should see similar output appear on your console:
Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage scsi3 : SCSI emulation for USB Mass Storage devices Vendor: Generic Model: STORAGE DEVICE Rev: 1.02 Type: Direct-Access ANSI SCSI revision: 02 Attached scsi removable disk sda at scsi3, channel 0, id 0, lun 0 SCSI device sda: 512000 512-byte hdwr sectors (262 MB) sda: Write Protect is off sda: sda1 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 2 USB Mass Storage support registered. usb.c: USB disconnect on device 00:1d.7-6 address 2 

Make note of the line:

sda: sda1

This is the device your system is using.
Now, edit your /etc/fstab file:
Add the following line:

/dev/sda1                /mnt/usb             auto    user,noauto 0 0

Now you should be able to mount using the mount command

Keywords: