adsense uper

Sunday, March 18, 2012

How to mount your flasdrive to linux ubuntu server using command line

On a standard desktop linux installation, there is an autumount facilities by default to mount your flash drive. So if you plug in your flash drive to a computer installed linux Xwindows, then the flash drive shortcut will immediately be visible in your linux desktop. Click the shortcut and live data content directly to the flash is used.

But if your PC is not installed linux Xwindows (like ubuntu server) there's no automount facility. To be able to mount flashdrive, you have to do it manually



I assume you have logged in to your account to a linux system. To view information such equipment is installed on the hard disk when your computer with the command:

     $ Sudo fdisk-l

Before mounting the flashdrive, you need to create a folder for the contents of the flashdrive. Run the command:

     $ Sudo mkdir /home/your-user-name/folder_name

Now it's time to mount the flashdrive known as / dev/sdb1 by the system.

     $ Sudo mount / dev/sdb1 /home/your-user-name/folder_name

and to check the content of your mounted flashdrive.

     $ Ls / home / your-user-name / nama_folder_mount

if you want to unmount your flashdrive, you can run the command:

     $ Sudo umount / dev/sdb1







Good luck.

No comments: