Wednesday, September 2, 2009

How to manually mount a USB Drive in CentOS 5.3 Server

  1. Plug in the device
  2. Issue the command --# dmesg -- It should appear as a SCSI device, you should also be able to read the devices vendor and model. It should be something similar to /dev/sdb.
  3. Issue the command --# fdisk -l -- this would determine the partition on the device, usually most of the USB flash and other external drives have only one partition. Your output should be something similar to /dev/sdb1.
  4. Now create a directory by issuing command --# mkdir /mnt/usb -- the directory name should be something easy to remember for you.
  5. Now you'll have to mount the device by using the mount command -- # mount /dev/sdb1 /mnt/usb -- this should mount your device. You can browse to the /mnt/usb directory to view the contents of the USB device.

4 comments:

Unknown said...

Good article! I am agree with the publisher's thoughts and opinions.
Personal data deletion scenario is generally an Inconvenience for the end user.
However for the ease of consumers, Specialists developed an alternative for loss of data situations.
Consumer need to be well aware of the available information retrieval methods so that he is able to handle the data removal scenario in a much best way.
recovering deleted emails

rahmatmh said...

and how to unmount it? What is the command to unmount it?

Sag said...

its umount

Unknown said...

More specifically in this case, it's umount /mnt/usb