LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-02-2013, 03:22 PM   #1
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586

Rep: Reputation: 38
Trying to mount micro card through usb


Using CrunchBang Waldorf

I have a SanDisk Micro SD card. I am using a adaper to hook up the card to my computer through the usb. I would like to mount the card so I can access it. When I plug in usb drives they are mounted automatically so I don't know why this is not doing that.

Linux recognizes the adapter:
Code:
root@crunchbang:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 003: ID 0402:9665 ALi Corp. Gateway Webcam
Bus 002 Device 005: ID 0781:b6b8 SanDisk Corp. 
Bus 002 Device 003: ID 045e:00cb Microsoft Corp. Basic Optical Mouse v2.0
The only devices in /dev with sd are sda which is the hard drive and sdb which Linux tells me "no medium is found" the same for sr0. I don't know if any of the other devices would apply.

Is there a way to make sure the micro adapter is working properly?

Thanks for any help
 
Old 12-02-2013, 04:44 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,101
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Code:
sudo fdisk -l
or

Code:
sudo blkid
should show if it is working.
 
Old 12-03-2013, 11:17 AM   #3
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586

Original Poster
Rep: Reputation: 38
Non of those showed anything. Does a micro sd card mount the same as a flash drive or do I need something else?

Thanks
 
Old 12-03-2013, 01:34 PM   #4
geox
Member
 
Registered: Jan 2012
Posts: 42

Rep: Reputation: 2
Try with dmesg
This should similar lines when you plug in the SD card:
[13728.658738] sd 4:0:0:0: Attached scsi generic sg1 type 0
[13728.659316] sd 4:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[13728.660179] sd 4:0:0:0: [sdb] Write Protect is off
[13728.660190] sd 4:0:0:0: [sdb] Mode Sense: 23 00 00 00
[13728.660197] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[13728.663535] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[13728.663802] sdb: sdb1
 
Old 12-04-2013, 11:17 PM   #5
Norseman01
Member
 
Registered: Nov 2012
Posts: 85

Rep: Reputation: Disabled
Assuming the chip adapter: 1) is accepted by Linux
2) does accept the microSD card
you might try: (become root) su - root
mount /dev/sdb1 /mnt/sdb1 -o rw
the /mnt/sdb1 means you have created directory sdb1 UNDER /mnt and set it chmod 777 sdb1

the sg0/sg1 are just drives (USB or whatever)
sg0 is also sda
sg1 is also sdb
and sdb1 is first partition of drive sdb (coming from a chip I would expect fdisk /dev/sdb
to say that partition #1 is vfat and there are no other partitions present.)

All this is useless if the MicroSD Card is not handled by either a port on the Linux machine
OR by the "converter" ( a regular size MicroSd Card that has a pocket for the Micro)

IF the mount command returns without comment verify with df -h and see if sdb1 is mounted.

I would like to take this time to remind all readers - Linux IS NOT Window$! When Window$ "things" go South you need to use Linux commands to get back on track. Meaning - if you want it look and feel like Window$ - go buy and use Window$!

OK no more ranting on my part. I'm surprised the previous posts I read don't mention the partition part.

Norseman01
 
Old 12-04-2013, 11:34 PM   #6
Norseman01
Member
 
Registered: Nov 2012
Posts: 85

Rep: Reputation: Disabled
Quote:
Originally Posted by geox View Post
Try with dmesg
This should similar lines when you plug in the SD card:
[13728.658738] sd 4:0:0:0: Attached scsi generic sg1 type 0
[13728.659316] sd 4:0:0:0: [sdb] 3907029168 512-byte logical blocks: (2.00 TB/1.81 TiB)
[13728.660179] sd 4:0:0:0: [sdb] Write Protect is off
[13728.660190] sd 4:0:0:0: [sdb] Mode Sense: 23 00 00 00
[13728.660197] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[13728.663535] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[13728.663802] sdb: sdb1
This says you have a device sg1 that can hold 2 Trillion Bytes!!??
Also says sdb has a partition #1

Really??? a 2 Trillion Byte MicroSD Chip??? Quick - where do I get one?

OK - OK , different system and yes there are Multi-Trillion HDs out there.
Mine also mount as sdb1 and so forth. Caution - these USB external drives have been
know to fail. Beyond forensic recovery!
. 1) - connect them only for the time you need and then sync and dismount.
. 2) - PLEASE, PLEASE burn to DVDs anything you are going to shed tears over if lost.
You heard this from the Voice of Experience.

Norseman01
 
Old 12-05-2013, 01:37 AM   #7
geox
Member
 
Registered: Jan 2012
Posts: 42

Rep: Reputation: 2
Quote:
Originally Posted by Norseman01 View Post
This says you have a device sg1 that can hold 2 Trillion Bytes!!??
Also says sdb has a partition #1

Really??? a 2 Trillion Byte MicroSD Chip??? Quick - where do I get one?

Norseman01
You are just showing off your lack of knowledge. Anyone else knows that apart from the size the rest is the same. No matter if it's SD or a USB HDD.....
 
Old 12-05-2013, 01:34 PM   #8
Norseman01
Member
 
Registered: Nov 2012
Posts: 85

Rep: Reputation: Disabled
Quote:
Originally Posted by geox View Post
You are just showing off your lack of knowledge. Anyone else knows that apart from the size the rest is the same. No matter if it's SD or a USB HDD.....
Actually - "Anyone else.." part is wrong. The original question never used the partition number.

When dealing with the Novice - always be specific and never assume prior knowledge.
From my point of view, you should have clarified you were using another device as
an example and reviewed the sdb: sdb1 part near the bottom - explicitly.

It's December - so Happy Holidays to all.

Norseman01
 
Old 12-06-2013, 01:44 AM   #9
geox
Member
 
Registered: Jan 2012
Posts: 42

Rep: Reputation: 2
I bow to you my friend. You are right.
 
Old 12-06-2013, 06:49 PM   #10
Norseman01
Member
 
Registered: Nov 2012
Posts: 85

Rep: Reputation: Disabled
Quote:
Originally Posted by geox View Post
I bow to you my friend. You are right.
Please don't. I've had my share of "missing the key" of a request.
Don't forget to keep helping. Someone helped me and presumably
you at some point. Least we can do is pass it on.

Norseman01
 
  


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
can't get 8-1 card reader to work {ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card } DBabo Linux - Software 28 12-06-2013 08:06 PM
MEPIS: how to mount a flash card in an usb card reader for n00b frenchn00b Linux - General 1 08-06-2008 05:26 PM
can't mount usb CF card reader sfish777 Linux - Newbie 8 10-16-2006 10:14 AM
Cannot mount Creative Zen Micro dreamlax Debian 1 12-25-2005 06:25 PM
How to mount usb card reader? Suzuki88 Linux - Hardware 1 06-16-2005 02:02 AM

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

All times are GMT -5. The time now is 07:56 PM.

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