LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need Help With Flash Drive (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-with-flash-drive-281684/)

The_Landlord 01-24-2005 12:51 PM

Need Help With Flash Drive
 
I am trying to mount my flash drive on SuSe 9.2 but i keep getting this error message.....

Could not enter folder /media/usb-39621ED83F20724A:0:0:0p1.

Please Help i'm getting a bit frustrated.

cheers

TroelsSmit 01-24-2005 06:17 PM

Hi,

you are not offering a lot of debug information for people not using you specific linux distro :-|

One could guess that the directory is only accessible to root ?
Maybe you need to tell SUSE that your regular user may access attached flash cards ?

Anyway, tell us exactly what you are doing, which buttons you are pushing, which tutorial you found on the internet and are following.

A google search on "mount flash suse 9.2 tutorial" yielded the following from imdeemvp:

Quote:

I hope this will help any one mount their usb flash key device, everything I did as “root”. Some devices will be supported and some are not. You can check on www.linuxhardware.net to see if device supported.

First plug your usb card reader and to make sure your device was detected go to System Tools > Hardware Browser > enter root password and it will display your hardware information then go to > Hard Drives and it should be listed under /dev/sda.

Open your favorite terminal....btw this works in gnome and kde.

[imdeemvp@localhost imdeemvp]$ cd /mnt/ <-as user cd yourself to the mnt folder and become root to create directory
[imdeemvp@localhost mnt]$ su
Password:
[root@localhost mnt]# mkdir usbflash <- this created a directory in the mnt folder

[root@localhost mnt]# ls /mnt/ <-this command listed all my directories the mnt folder
cdrom cdrom1 floppy usbflash

[root@localhost mnt]# mount /dev/sda1 /mnt/usbflash <-this is the command to mount flash card reader

[root@localhost mnt]# ls usbflash <-this listed all the info in my usb flash card and this was the output:
bootex.log dns.bmp games and keys LinuxDocs01.21.04 pc's
dns2.bmp Documents LinuxDistributions_eBay my pics programs

then i just copied this to my home folder and i was done!

[root@localhost mnt]# umount /dev/sda1 /mnt/usbflash <-this unmounted my usb flash card
umount: /dev/sda1: not mounted
[root@localhost mnt]# exit
[imdeemvp@localhost mnt]$


THIS ALSO WORKED UNDER Mandrake 9.1, 9.2, and 10 official.

in terminal type as root: gedit /etc/fstab and NOW YOU CAN ADD THIS LINE TO FSTAB to auto mount it:

Code:
/dev/sda1 /mnt/usbflash vfat noauto,users,rw,umask=0 0 0


Adding "rw" allows to read and write in the usb flash drive. HAVE FUN!!
Good Luck !

The_Landlord 01-25-2005 01:12 PM

Thanks but it doesn't work.

If i follow these instructions i get an error in the terminal window saying "cant read superblock" whatever that means.....

Anyway thanks for any help and sorry to be a pain in the ass

Matir 01-25-2005 02:33 PM

Do you have the proper support compiled into your kernel? USB-Storage for USB drives? And where did the flash media get data put on it?

C0Y0TE 01-25-2005 04:45 PM

in root, make a dir in / called something like "/usbstick"

then type "mount -t vfat /dev/sda1 /usbstick"

this command will automatically specify filesystem type (which helps) and mount it in that dir.

also, you can add a line to fstab which will do the same thing, there is a topic (search for my name) that had the fstab line u need within it.

This is much simpler than using the suse automounter for flash drives.


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