LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-13-2004, 11:28 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Mounting a USB keydrive.


I have a 512MB scandisk USB keydrive that I'd like to trasnfer data to my Linux Fedora Core 2 machine.

Can someone please show me how to mount or get this thing visable?

I don't really know what I am doing so any help would be great.

Thanks
 
Old 06-13-2004, 11:39 AM   #2
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
edit /etc/fstab for your drive... the line for my usb drive looks like this:

/dev/sda1 /mnt/USB auto noauto,users,rw 0 0

you'll also have to create /mnt/USB or /mnt/whatever-you-decide-to-call-it

from the terminal as root

#mkdir /mnt/USB

Last edited by lupin_the_3rd; 06-13-2004 at 11:40 AM.
 
Old 06-13-2004, 11:48 AM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
sorryy, guess I kind of slow when it comes to this but you're syaing that I need to browse to a file called
/etc/fstab
and look for a line that looks like /dev/sda1 /mnt/USB auto noauto,users,rw 0 0? or must I edit that line in to the /etc/fstab file?

Here is what I see in /etc/fstab

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/sda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
 
Old 06-13-2004, 12:48 PM   #4
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
Ok, You don't have an entry for usb in your fstab so add the line above... your device may not be sda1 but try it a sis to see if it works. After changing this line open a terminal and su to root. then #mkdir /mnt/USB. Then, try and mount your device using the Computer location on the desktop. There should be a drive listed as "USB."
 
Old 06-20-2004, 06:08 PM   #5
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/sda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/sda1 /mnt/USB auto noauto,users,rw 0 0

ok, so now I added the line and it looks like this in my /etc/fstab

after I save that file edit, I move to konsole window and mkdir /mnt/USB

I am kind of lost after I edit the file and make the directory to the drive.
 
Old 06-20-2004, 09:54 PM   #6
lupin_the_3rd
Member
 
Registered: Oct 2003
Location: Memphis, TN
Distribution: Slackware current
Posts: 485

Rep: Reputation: 30
you should be able to mount it now... in gnome just go to computer and a USB drive should be there... or from the command line

#mount /mnt/USB
#cd /mnt/USB
 
Old 06-20-2004, 09:59 PM   #7
flyfishin
Member
 
Registered: Aug 2003
Location: KC, MO
Distribution: CentOS, RHEL, SuSE, Fedora
Posts: 243

Rep: Reputation: 30
Re: Mounting a USB keydrive.

Quote:
Originally posted by carlwill
I have a 512MB scandisk USB keydrive that I'd like to trasnfer data to my Linux Fedora Core 2 machine.

Can someone please show me how to mount or get this thing visable?

I don't really know what I am doing so any help would be great.

Thanks
Fedora Core 2 automounts most USB drives. No need to do manual mounting.

If you are using the Gnome desktop just insert the stick and click on the Computer icon on the desktop.

I have seen a glitch where you insert the stick, remove it, then reinsert and it won't automount. You can then run the command updfstab as root and it will recognize it again.
 
Old 06-21-2004, 05:37 PM   #8
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
using KDE 3.2 on FC2
 
Old 06-21-2004, 09:39 PM   #9
flyfishin
Member
 
Registered: Aug 2003
Location: KC, MO
Distribution: CentOS, RHEL, SuSE, Fedora
Posts: 243

Rep: Reputation: 30
I just plugged in my flash drive. Nothing popped up on KDE to indicate it was there. I opened my Home folder, RedHat menu select Home. I clicked on the plus in front of the Devices selection. There was an option for Hard Disc(sda1) [/mnt/flash]. I clicked on it and was able to view items in the browser window. To remove it I right clicked and selected unmount. I don't know if it auto unmounts or not.
 
Old 06-23-2004, 08:24 AM   #10
marameo
LQ Newbie
 
Registered: Jun 2004
Location: Padova, Italy
Distribution: FC2
Posts: 1

Rep: Reputation: 0
HI.
The same with me (on KDE).
I can mount the flash and work on it, but when it's time to umount the device, I get an "device busy" error.
Obviously i close all terms and windows on flash.
The only choice to umount is to logout and then re-login: then i can umount the flash.

On GNOME all works fine, but... i want to use KDE!!!

Any ideas?
Thanks
 
Old 07-24-2004, 04:37 PM   #11
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Re: Re: Mounting a USB keydrive.

Quote:
Originally posted by flyfishin
Fedora Core 2 automounts most USB drives. No need to do manual mounting.

If you are using the Gnome desktop just insert the stick and click on the Computer icon on the desktop.

I have seen a glitch where you insert the stick, remove it, then reinsert and it won't automount. You can then run the command updfstab as root and it will recognize it again.
Code:
[root@localhost carlos]# updfstab
bash: updfstab: command not found
 
Old 07-25-2004, 04:21 PM   #12
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
ok , I ran this command as su -

Then it seemed to not give me an error.

I click on the computer icon and I still don't see that usb key drive???

Am I doing something wrong?
 
  


Reply



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 controller dies mounting external usb hard disk komasoftware Linux - Hardware 4 11-30-2005 01:18 PM
Cannot get USB keydrive workin on Ubuntu fadrian Linux - Hardware 9 10-03-2005 10:27 PM
Cannot mount device: USB keydrive. SickFreak Linux - Hardware 6 09-13-2004 09:54 PM
USB Keydrive Question Terje Linux - Hardware 4 07-16-2004 10:16 AM
Keydrive crashes USB bus ragingtarrasque Linux - Hardware 1 10-18-2003 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:41 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
Open Source Consulting | Domain Registration