You are not logged in.

#1 2015-03-01 19:17:49

vos
Member
Registered: 2015-03-01
Posts: 3

[SOLVED] SD Card not mountable

I am unable to mount or modify the contents of an SD card. It seems like the system recognizes the device, though it has no UUID.   

Any help to correct this issue would be much appreciated.

installed kernel:
core/linux 3.18.6-1 (base) [installed]

uname:
Linux vos-syrah 3.18.6-1-ARCH #1 SMP PREEMPT Sat Feb 7 08:44:05 CET 2015 x86_64 GNU/Linux

SD Card: Lexar Platinum II 16GB SDHC 200x c10

dmesg:

[176013.045731] usb 2-3: new high-speed USB device number 6 using ehci-pci
[176013.481176] usbcore: registered new interface driver usb-storage
[176013.485310] usbcore: registered new interface driver uas
[176013.487654] ums-realtek 2-3:1.0: USB Mass Storage device detected
[176013.503150] scsi host2: usb-storage 2-3:1.0
[176013.503428] usbcore: registered new interface driver ums-realtek
[176014.508852] scsi 2:0:0:0: Direct-Access     Generic- Multi-Card       1.00 PQ: 0 ANSI: 0 CCS
[176030.502115] sd 2:0:0:0: [sdb] Attached SCSI removable disk
 % lsblk  
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0   1.8T  0 disk 
├─sda1   8:1    0    95M  0 part /boot
├─sda2   8:2    0    28G  0 part /
└─sda3   8:3    0   1.8T  0 part /home
sr0     11:0    1 543.9M  0 rom  
 % ls -l /dev/disk/by-id    
total 0
lrwxrwxrwx 1 root root  9 Feb 27 12:53 ata-Hitachi_HDS723020BLA642_MN5240F32Z5PHK -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 27 12:53 ata-Hitachi_HDS723020BLA642_MN5240F32Z5PHK-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 27 12:53 ata-Hitachi_HDS723020BLA642_MN5240F32Z5PHK-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 27 12:53 ata-Hitachi_HDS723020BLA642_MN5240F32Z5PHK-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Feb 27 12:53 ata-hp_DVDRAM_GT50N_150CT037010 -> ../../sr0
lrwxrwxrwx 1 root root  9 Mar  1 13:58 usb-Generic-_Multi-Card_20090516388200000-0:0 -> ../../sdb
lrwxrwxrwx 1 root root  9 Feb 27 12:53 wwn-0x5000cca369e9e783 -> ../../sda
lrwxrwxrwx 1 root root 10 Feb 27 12:53 wwn-0x5000cca369e9e783-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 27 12:53 wwn-0x5000cca369e9e783-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Feb 27 12:53 wwn-0x5000cca369e9e783-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Feb 27 12:53 wwn-0x5001480000000000 -> ../../sr0
 % ls -l /dev/disk/by-path 
total 0
[b]lrwxrwxrwx 1 root root 9 Mar  1 13:58 pci-0000:00:13.2-usb-0:3:1.0-scsi-0:0:0:0 -> ../../sdb[/b]
 % ls -l /dev/disk/by-uuid 
total 0
lrwxrwxrwx 1 root root 10 Feb 27 12:53 2fe20ed6-83a6-4f1d-90d7-17ec883d731b -> ../../sda3
lrwxrwxrwx 1 root root 10 Feb 27 12:53 40e6417e-f3c6-441f-a494-b42289b24bf8 -> ../../sda1
lrwxrwxrwx 1 root root 10 Feb 27 12:53 c138ebf3-c34f-4bd1-a625-6a0e77953348 -> ../../sda2
% sudo parted /dev/sdb  
Error: Error opening /dev/sdb: No medium found
Retry/Cancel? r                                                           
Error: Error opening /dev/sdb: No medium found
Retry/Cancel? c

Last edited by vos (2015-03-01 20:52:03)

Offline

#2 2015-03-01 20:42:36

vos
Member
Registered: 2015-03-01
Posts: 3

Re: [SOLVED] SD Card not mountable

Ok. So a little dd magic and the card is recognized.

% dd if=/dev/zero of=/dev/sdb bs=1M count=1024                                                                                                                                                                        15:35[1]
1024+0 records in
1024+0 records out
1073741824 bytes (1.1 GB) copied, 0.958719 s, 1.1 GB/s

% lsblk                                                                                                                                                                                                                    15:36[0]
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0   1.8T  0 disk 
├─sda1   8:1    0    95M  0 part /boot
├─sda2   8:2    0    28G  0 part /
└─sda3   8:3    0   1.8T  0 part /home
sdb      8:16   1  14.9G  0 disk 
sr0     11:0    1 543.9M  0 rom  

Though , parted now gives me an error:

% sudo parted /dev/sdb                                                                                                                                                                                                     15:40[0]
GNU Parted 3.2
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p                                                                
Error: /dev/sdb: unrecognised disk label
Model:  (file)                                                            
Disk /dev/sdb: 1074MB
Sector size (logical/physical): 512B/512B
Partition Table: unknown
Disk Flags: 
(parted)                    

Offline

#3 2015-03-01 20:44:39

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,749
Website

Re: [SOLVED] SD Card not mountable

What is the output of:

# parted -l /dev/sdb

Offline

#4 2015-03-01 20:51:33

vos
Member
Registered: 2015-03-01
Posts: 3

Re: [SOLVED] SD Card not mountable

It is the same as above "Error: /dev/sdb: unrecognised disk label".

Did a mklabel msdos and all is well.


Marking as solved.

Offline

Board footer

Powered by FluxBB