Link to home
Start Free TrialLog in
Avatar of ryanscruggs
ryanscruggs

asked on

How do I mount a USB drive through the terminal in CENTOS and how do I view all mounted devices?

I am going to be using something called gluster storage platform which can be referenced at gluster.com.  I have followed the instructions and copied the files to the usb and then tried to boot to it from no avail.  

Now I am starting over and trying to do everything through the terminal, mount usb, format the filesystem, download the files, copy to the usb to make it bootable.  The link below gives detailed instruction on what I'm trying to do.  It suggests that the server or machine needs to be made able to boot from usb, but that has already been done.  If anyone can provide detailed instructions, it would be greatly appreciated!  Please see the link below.  I have a machine running CENTOS and a machine running UBUNTU.

http://gluster.com/community/documentation/index.php/Gluster_Storage_Platform#Gluster_Storage_Platform
Avatar of torimar
torimar
Flag of Germany image

Plug in your pendrive.
In the terminal, type:
#dmesg

and check the last few entries. It should be referencing a device (/dev), most likely /dev/sdb1 or similar.

Then type:
#mkdir /pendrive
#mount /dev/sdb1 /pendrive


You can view all mounted devices typing
#mount


To remove the pendrive again, type:
#unmount /pendrive
#eject /dev/sdb1


(Note: don't type the '#', it represents the prompt)
ASKER CERTIFIED SOLUTION
Avatar of torimar
torimar
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial