How to manually mount a USB Drive in CentOS Server

 

  • Plug in the device
  • 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.
  • 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.
  • Now create a directory by issuing command –# mkdir /mnt/usb — the directory name should be something easy to remember for you.
  • 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.