The daily ramblings …

Linux HOWTO : Thumbdrive in Linux

Posted in Linux / Unix by akamal on January 30, 2007

If your machine’s preinstalled with the latest LINUX OS, then you probably won’t encounter problems with reading USB thumbdrive. On the contrary, you’re right on the spot if thumbdrive’s the issue you need to solve. This articles describes more.

 

Plug your thumbdrive to the computer, if the desktop doesn’t show a shortcut to your thumbdrive, it means your linux version is old, or you did not have autmount enabled.

Type the command below:

> fdisk -l

Then get the path listed under /device/boot/ e.g /dev/sdb1 and remember it.

Create a new directory, by typing

> mkdir my_new_dir

Now type the following commands below to mount the thumbdrive:

> mount -t vfat /dev/sdb1 /mnt/usb

as you would have guess -t vfat says that your device is type vfat, /dev/sdb1 is the actual device based path, and /mnt/usb is your link path.

To unmount the thumbdrive, type the commands below:

> umount /mnt/usb

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: