Jump to content

Using USB keys/thumbdrives/pen drives


arthur
 Share

Recommended Posts

First, plug the thing in :D then open a terminal, and type "dmesg". This is just to check if Linux detects the drive properly.

 

Then su to root, and make a folder in /mnt:

su
<password>
cd /mnt/
mkdir foldername

Then edit /etc/fstab by inserting the lines (press "i" to insert)

/dev/sdaX /mnt/foldername vfat user,iocharset=iso8859-1,codepage=850,noauto,umask=0 0 0

Of course replace X in sdaX with the number you saw in "dmesg" and "foldername" with the actual name you gave to the folder in /mnt/ which is entirely up to you. If you want it as read-only, insert a "ro" in between commas in the code above.

 

To mount the drive, just open a terminal and type "mount /dev/sdaX" and unmount by "umount /dev/sdaX" The drive will then appear on the KDE/GNOME desktop.

Link to comment
Share on other sites

  • 1 month later...
  • 8 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...