LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Mounting a USB keydrive. (https://www.linuxquestions.org/questions/fedora-35/mounting-a-usb-keydrive-192999/)

carlosinfl 06-13-2004 11:28 AM

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

lupin_the_3rd 06-13-2004 11:39 AM

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

carlosinfl 06-13-2004 11:48 AM

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

lupin_the_3rd 06-13-2004 12:48 PM

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

carlosinfl 06-20-2004 06:08 PM

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.

lupin_the_3rd 06-20-2004 09:54 PM

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

flyfishin 06-20-2004 09:59 PM

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.

carlosinfl 06-21-2004 05:37 PM

using KDE 3.2 on FC2

flyfishin 06-21-2004 09:39 PM

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.

marameo 06-23-2004 08:24 AM

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

carlosinfl 07-24-2004 04:37 PM

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

:confused:

carlosinfl 07-25-2004 04:21 PM

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?


All times are GMT -5. The time now is 03:19 AM.