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 |
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 |
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 |
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."
|
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. |
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 |
Re: Mounting a USB keydrive.
Quote:
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. |
using KDE 3.2 on FC2
|
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.
|
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 |
Re: Re: Mounting a USB keydrive.
Quote:
Code:
[root@localhost carlos]# updfstab |
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. |