© 2004 ralphhogaboom

mnt /mnt/usbstick

That was easy … too easy. I just got a USB pen drive from work (Kingston 64 MB DataTraveller) for convenience of file transfers (hot fixes, .ini files, etc). Plugged it into my linux box and it worked. Here’s how I did it.

Checked that the USB modules were loaded

# /sbin/lsmod | grep usb

Looking good. Next, created a mount point.

# mkdir /mnt/usbdrive

Then, edited my fstab file.

# vi /etc/fstab

and added the following line:

/dev/sda1 . . /mnt/usbdrive . . vfat . . user,noauto,umask=0 . 0 0

Then saved the file, and quit the terminal. Lastly, I plugged int he drive and opened a command line.

$ mount /mnt/usbdrive

Voila! Nicely mounted.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>