Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Help: How To Enable Usb Flash Drives?
rina
post Nov 22 2004, 10:41 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 2-September 03
Member No.: 1,364



How to enable USB Flash Drives?

Please guide me.

Thanks

rina
Go to the top of the page
 
+Quote Post
xsist
post Nov 24 2004, 11:57 PM
Post #2


Whats this Lie-nix Thing?
*

Group: Members
Posts: 4
Joined: 31-October 04
Member No.: 4,073



Ok im assuming you have acces to a command line....

1st we must edit the fstab file to allow you to mount the drive...

To do this open up you editor of choice (logged in as root!) and open th fstab file. (usually /etc/fstab) then we need to add a new entry so go to a new line and add this to it ....

/dev/sda1 /USB_KEY vfat noauto,owner,dev,exec,suid,user 0 0

This allows you to mount the drive...

2nd we need to do a test mount.. open the console and type

mount /dev/sda1

Now open the filesystem and go to /USB_KEY if its there then it worked.

3rd we need an easier way to acces it, I know gnome will auto a link into the ///computer . but this is for if there isnt one..

Create a new launcher, and give it a name and an icon, for the code use mount /dev/sda1 then test it..

if it all works then your done....


hope this helps..

HAPPY TWEAKING..


--------------------
user posted image
Go to the top of the page
 
+Quote Post
rina
post Nov 29 2004, 10:21 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 13
Joined: 2-September 03
Member No.: 1,364



Thank U. I will try. Hope ur suggestion will work.

Thank U again.

rina
Go to the top of the page
 
+Quote Post
michaelk
post Nov 30 2004, 08:09 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



You will need to create the directory prior to mounting the flash drive.

Depends on the linux distribution but most use the /mnt or /media for removable media.
mkdir /mnt/usb

Change the directory name (usb) to your choosing.

Also add the umask option to allow users to read / write.

dev/sda1 /mnt/usb vfat noauto,user,umask=000 0 0
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 03:53 PM