Search Engine

Loading

Sallar

Sallar
RedhatEnterpriseLinux Blog

How to Manually Mount a USB Flash Drive on Redhat Enterprise Linux





1.       Login as a root redhat Enterprise linux or Centos distribution then enter the appropriate password when prompted.

2.       Enter the command lsusb at the command line.  Thankfully for Plug-N-Play, your computer should recognize your USB drive. 
3.       If it does not, try plugging into another USB drive and re-issuing the lsusb command. 

4.       Look for the device assignment.  Generally, this is done by ‘searching’ using the dmesg command.  After issuing the dmesg | grep ‘disk’ command, I found my device assignment as shown in the output /dev/sdb.

5.       Now, let’s create a folder in the Linux file directory to act as a mount point for our USB flash drive.  I am going to create a folder in the /mnt directory called /usbflash’ by issuing the "mkdir /mnt/usbflash" command.


6.       Now, let us mount our USB drive labeled sdb to the /usbflash directory so that we can use it by issuing the "mount –t vfat /dev/sdb /mnt/usbflash" command.

And that’s it!  After the drive is mounted, browse to the /mnt/usbflash folder using the command line or graphical file utility to access your files and folders on the USB flash drive.


Edit /etc/fstab

7.       To automate this process you can edit /etc/fstab file and add line similar to this

/dev/sdb       /mnt/usbflash           vfat    defaults        0       0

Run mount command to mount all not yet mounted devices.
# mount -a

Note: Now a day the Linux Operating system will detect your USB drive automatically.

2 comments:

srikanth said...

Do you know that there is an app which provides all the paid applications on Goole Play Store & iTunes for free
pokemon go ios

Unknown said...

Flashdisk Custom and How to Get it
Sell ​​and Create Flash Custom Design Cheap in Bandung with the best quality get attractive deals only at Ghuswara Rubber - 0813-2090-2079 (Call / WA).
Custom Flashdisk is often used as souvenirs by companies or electronic stores as one of the interesting promotional step, especially if you use a custom flash as a choice. By using this souvenir then you can add a logo or the characteristics of the company and the store into the design on the flash. Surely it will give the right impression for people who get this souvenir.

Post a Comment

Powered by Blogger.

Ads

 
Copyright © Redhat Enterprise linux. Original Concept and Design by My Blogger Themes
My name is Abdul Razaq but people call me Raziq. Here is my home page: www.redhatenterpriselinux.blogspot.com I live in Quetta, Pakistan and work as an IT-Engineer.