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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...