LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2003, 08:57 AM   #1
Tancrede
LQ Newbie
 
Registered: Jun 2003
Location: Calais, France
Distribution: Fedora Core 1
Posts: 27

Rep: Reputation: 15
Lightbulb MANDRAKE 9.1 and USB KEY


Hi All,

I want to connect an USB Key to my LAPTOP.
Distro used is a MDK 9.1

Can someone tell me if USB Key recognition is automatic ?

Do i have to mount it ? If yes, how ?

Thanks in advance.
Pierre
 
Old 07-25-2003, 10:28 AM   #2
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
My digitall camera creates itself as a USB drive and mandrake always auto-recgonizes it. It should work.
 
Old 07-25-2003, 12:50 PM   #3
plehman
LQ Newbie
 
Registered: Jul 2003
Location: Durham, NC
Distribution: Fedora Core 2
Posts: 23

Rep: Reputation: 15
Hi,

Although I am not using Mandrake (I use RedHat 9), I have spent alot of time on this subject. Hopefully, it works right out of the box for you, but if not, it might help if you look at this previous thread from the hardware forum, where I try and spell out what I had to do to get my USB Memory Key to work.

http://www.linuxquestions.org/questi...hlight=plehman

You do have to mount the device to use it, and a service called 'hotplug' can handle the automatic mounting when properly configured in RedHat and some other distros.

I have heard talk also about a program called 'supermount' or something that is likely included with Mandrake Linux that may also perform the function in place of hotplug, though I have no actual experience with it.

If you wish to mount the device manually, you probably need to do the following:

1. Find out the device it is assigned to (/dev/mouse, /dev/cdrom, etc.). You can usually do this by looking at the output of the program 'dmesg' run from the command line. For most, the USB Key is actually considered to be a SCSI device, and is assigned to '/dev/sda1' or something similar (I would guess depending on how many other scsi devices you have).

2. Find out the filesystem on the USB device you want to mount. The USB Memory Key I bought was a Lexar USB JumpDrive, and it was preformatted for fat32 (vfat). I would imagine this is similar in your case.

3. (Note: You may need root privelages to do the following) You can mount the device using the 'mount' command. You need to know where you want to mount the device (i.e. what directory), and create the location if necessary. Then you should be able to mount it with:

mount -t vfat /dev/sda1 /mnt/flash

The -t option specifies the filesystem (in this case vfat). The '/dev/sda1' is the device assigned to the USB Key, and '/mnt/flash' is a directory name where I wanted the filesystem mounted to.

Your options may be different, and if you're confused, type 'man mount' on the command line to see the manual pages for this command.
 
Old 07-25-2003, 06:57 PM   #4
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
Mandrake 9.1 should have no problems with it out-of-the-box. If you find that you cannot write to the device, then you need to edit the entry in your /etc/fstab file (whilst the device is plugged in, but not mounted) and allow normal users to write to it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB drive not working properly, read only device? (USB key storage device) Arodef Linux - Hardware 14 01-01-2010 08:32 AM
USB LexarMedia 32MB Data-Key + KDE 3.2=USB/HD Access problems that_guy Slackware 0 02-03-2005 09:27 AM
USB Key with Move from Mandrake Era Mandriva 1 01-18-2005 04:28 AM
SanDisk 256 MB USB key, Mandrake 10.0 bdika Mandriva 5 12-11-2004 05:16 PM
Install Linux Mandrake 9.1 on 1gig usb key jamie23425 Linux - Laptop and Netbook 3 10-07-2003 05:55 PM


All times are GMT -5. The time now is 10:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration