LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2004, 06:51 PM   #1
Utah
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 73

Rep: Reputation: 15
Can't mount my USB card reader


I followed the instructions at
http://wiki.linuxquestions.org/wiki/USB_Card_Readers

and the mount worked perfectly. I could see my mem card files.

So I got brave and tried to play with it a bit. I unmounted the drive and plugged the usb cable into a different usb port on the rear panel. After a bunch of confusing results I didn't keep track of, I got back to what appeared like the original situation I started with.

But now when I try to mount the drive with:

mount -tvfat /dev/sda1 /mnt/usbdrive I get:

/dev/sda1 is not a valid block device

But the listing for /dev/sda1 looks good to me and "file /dev/sda1" reports:
"sda1: block special (8/1)"

Any Idea how I screwed it up? 8^(

Thanks,

Utah
 
Old 04-26-2004, 07:32 PM   #2
metagore
Member
 
Registered: Sep 2003
Location: Austin TX
Distribution: Slackware 9.1
Posts: 56

Rep: Reputation: 15
Have you tried mounting without specifying the file system type?

mount /dev/sda1 /mnt/usbdrive

I'm usually able to mount usb drives letting mount detect the file system type. Also you may want to try /dev/sda2 or one of the other scsi devices if you have another device on your system that might be taking sda1.
 
Old 04-26-2004, 10:49 PM   #3
Utah
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 73

Original Poster
Rep: Reputation: 15
Thanks for the tip on not including the file system type. When I get it working again I'll try that again.

But it didn't make any difference now. And yes, I've tried sda, sda1, sda2, sdb, sdb1, sdb2, etc, etc with the same results. The message makes me think it something far more basic like I've screwed the device files or something like that.

Utah
 
Old 04-27-2004, 01:34 PM   #4
Utah
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 73

Original Poster
Rep: Reputation: 15
Well, I finally made some progress on this. I rebooted with the (memorystick) card IN the reader. Now dmesg |grep sda |less shows some info on the card like: "sda: sda1" and other interesting info.

Now I do the mount /dev/sda1 /mnt/usbmemstk
and it worked!

It's important (apparently) to always umount the fs before pulling the card out of the reader. As long as I do this, I can reboot with the empty reader plugged into the usb port and then mount it again and it works.

I guess usb is not quite as "plug 'n play" as it is in Windows.... That's ok, it's working and I've learned something.

Utah
 
Old 04-27-2004, 05:51 PM   #5
metagore
Member
 
Registered: Sep 2003
Location: Austin TX
Distribution: Slackware 9.1
Posts: 56

Rep: Reputation: 15
Hehe

I was about to ask you if you unmounted the drive before disconnecting it but I 'assumed' that it would have been redundant.

Guess that's what I get for assuming.

Just like any other file system in linux, it must be unmounted. The result of not doing so can be a corrupt file system.

Last edited by metagore; 04-27-2004 at 05:53 PM.
 
  


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 jumpdrive/ USB hud-card reader issues o0gnubee0o Linux - Hardware 4 07-03-2005 06:12 PM
How to mount usb card reader? Suzuki88 Linux - Hardware 1 06-16-2005 02:02 AM
Mount internal card reader sporks Slackware 6 01-16-2005 09:47 AM
How to mount a flash usb reader blitzen Linux - Hardware 3 03-30-2004 10:07 AM
can't mount my sandisk card reader kamstrup Linux - Hardware 17 08-20-2003 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:41 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