LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-07-2006, 02:48 PM   #1
Nau
Member
 
Registered: Mar 2005
Location: denmark
Distribution: Mandriva 10.1 official
Posts: 94

Rep: Reputation: 15
Talking USB memory card problems


I think it's called in english USB memory card or memory stick..
Anyway on my windows i just plug in and it works. I have an 16 MB USB stick.
So i figured i'll do that on my mandrake. I pluged it in and konqueror starts and starts and starts and there is a light on the stick indicating that something is wrong. And konqueror never starts up so i have to shot it down while it's trying. i never tried this on linux so i'm completely on bare ground..
 
Old 01-08-2006, 11:34 AM   #2
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
ok, try putting it in the booting up, it might add it into fstab.

if not open konsale and type:

Code:
 dmesg | tail
This will tell you IF it has been detected properly and WHERE it is. then do

Code:
 mount /dev/sda1 (or whatever it tells you) /mnt/usbdrive (or wherever)
See if that gives you any luck
 
Old 01-08-2006, 04:57 PM   #3
Nau
Member
 
Registered: Mar 2005
Location: denmark
Distribution: Mandriva 10.1 official
Posts: 94

Original Poster
Rep: Reputation: 15
i ran dmesq | tail and got
bash: dmesq: command not found

then i ran mount /dev/sda1 and got
mount: /dev/sda1 already mounted or /mnt/removable busy
mount: according to mtab, /dev/sda1 is already mounted on /mnt/removable

Could it be that old 16 MB stick is not supported?

I figured there is something in /mnt called removable when i plug it in
 
Old 01-09-2006, 06:44 AM   #4
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
sorry its a g not a q (read my post about keyboards lol)

yep, looks like it has been mounted in /mnt/removable, look there.
 
Old 01-09-2006, 02:57 PM   #5
Nau
Member
 
Registered: Mar 2005
Location: denmark
Distribution: Mandriva 10.1 official
Posts: 94

Original Poster
Rep: Reputation: 15
I did that. and through shell i can get into removable and view but not make any folder or file because of the permission. The problem is Konqueror never starts up when stick is plug in.
but when i end session and log into graphic interface (KDE.3.2) as ROOT i can view files in the stick with Konqueror without any problem. I see there is something with permissions but i cannot see how can i fix that problem when i'm not loggin in as root.
 
Old 01-09-2006, 03:50 PM   #6
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
ok, (try not to use kde etc. as root, its kinda insecure)

Open a konsole and type "su" and enter root's password.

From there "nano /etc/fstab" look for the drive, then go across to the column <opts>, make sure that it has "noauto,users,rw".

save and exit (ctrl+x) and see if you can mount it yourself now...
 
Old 01-10-2006, 07:31 AM   #7
Nau
Member
 
Registered: Mar 2005
Location: denmark
Distribution: Mandriva 10.1 official
Posts: 94

Original Poster
Rep: Reputation: 15
i did nano /etc/fstab and got
bash: nano: command not found

I looked also for fstab but i can't find it..
 
Old 01-10-2006, 11:00 AM   #8
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
ok, try vi or picto, they are all text editors, or even kwrite of nothing else works...
 
Old 01-12-2006, 12:37 PM   #9
Nau
Member
 
Registered: Mar 2005
Location: denmark
Distribution: Mandriva 10.1 official
Posts: 94

Original Poster
Rep: Reputation: 15
I pluged it in and ran kwrite /etc/fstab and got:
/dev/hdb5 / ext3 defaults 1 1
/dev/hdc /mnt/cdrom auto umask=0,user,iocharset=iso8859-1,codepage=850,noauto,ro,exec,users 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/hdb1 /mnt/win_c ntfs umask=0,nls=iso8859-1,ro 0 0
/dev/hdb6 /mnt/win_d vfat umask=0,iocharset=iso8859-1,codepage=850 0 0
/dev/hdb7 /mnt/win_e vfat umask=0,iocharset=iso8859-1,codepage=850 0 0
/dev/hdb2 /mnt/win_f ntfs umask=0,nls=iso8859-1,ro 0 0
none /proc proc defaults 0 0
/dev/hdb8 swap swap defaults 0 0
/dev/sda1 /mnt/removable auto umask=0,user,iocharset=iso8859-1,sync,kudzu,codepage=850,noauto,exec,users 0 0

There seem to be no <opt>. i tried in sted of auto by removable add the line. the same when i'm opening the Konquror. then i ran mount removable. says somthing that kernel doesn't support it..
 
Old 01-12-2006, 01:08 PM   #10
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
swap this line:

Code:
/dev/sda1 /mnt/removable auto
to

Code:
/dev/sda1 /mnt/removable noauto,users,rw
now unmount it and try mounting it as a user:

Code:
# umount /dev/sda1
$ mount /dev/sda1 (or /mnt/removable)
 
Old 01-13-2006, 04:24 AM   #11
Nau
Member
 
Registered: Mar 2005
Location: denmark
Distribution: Mandriva 10.1 official
Posts: 94

Original Poster
Rep: Reputation: 15
Well, i'm satisfied to some extend. i found out that when i plug it in i can view files in Konquror IF it's open. The only problem is Konqueror won't start afterwords if i try to run it but i can view the files if my Konquror is open at the time i plug in. I did the line you told but then i got:
mount: fs type noauto,users,rw not supported by kernel
so i switched it back to auto. As i'm concerned it works to some extend, the problem is Konqueror goes down after i used the stick so i need to logout..It doesn't work perfectly but
the small problem is a bit tricky..You have maybe some other idea?
 
Old 01-13-2006, 10:53 AM   #12
jollyjoice
Member
 
Registered: Aug 2003
Location: UK
Distribution: Gentoo 64
Posts: 383

Rep: Reputation: 30
ah, sorry, i missed a bit out, it should be:

Code:
/dev/sda1 /mnt/removable auto(or vfat if its fat) noauto,users,rw
the noauto is to stop it auto mounting, which i think might be the problem. It does mean that you will have to mount it yourself each time though.
 
  


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
KNOPPIX does not recognize my usb memory card. Anyone done it successfully? MDBlueIce Linux - Software 1 07-20-2005 11:12 AM
Sony CLIE MS Access / USB Memory Card brenwaterys Linux - Hardware 1 09-23-2004 03:46 PM
Mounting usb camera memory card colabus Linux - Newbie 4 05-24-2004 02:39 AM
6 in 1 usb 2.0 digital memory card reader slackinagn Linux - Software 1 02-19-2004 06:01 PM
Can't access USB Memory Card reader rhauff Linux - Hardware 1 12-05-2003 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:49 AM.

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