You are not logged in.

#1 2009-03-19 19:20:33

jiehong
Member
Registered: 2009-03-19
Posts: 63
Website

[Solved] Problem with a SD card which I can't mount

Hello everybody!

So, when I'm plugging in my SD card ( from my camera ) then I use the dmesg command to know that it is known as /dev/mmcblk0

Then I try to mount it by pmount /dev/mmcblk0 SD but it doesn't work :
The error message is : bad block or bad fiel system type.

I've tried the "-t" option to use a specific file system, but none work at all.

My SD card is working properly on another computer so I know it is fine. But I don't know what file system a SD card uses.

I really hope you'll help me!!!

Last edited by jiehong (2009-03-19 20:28:31)

Offline

#2 2009-03-19 19:28:37

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: [Solved] Problem with a SD card which I can't mount

Are you member of the storage group?  -> 'groups'
Outputs of 'fdisk -l /dev/mmcblk0' and 'blkid /dev/mmcblk0'?


1000

Offline

#3 2009-03-19 19:38:59

jiehong
Member
Registered: 2009-03-19
Posts: 63
Website

Re: [Solved] Problem with a SD card which I can't mount

Yes, I'ma member of the storage group of course.

# fdisk -l /dev/mmcblk0

Disc /dev/mmcblk0: 2057 Mo, 2057830400 octets
53 heads, 52 secteurs/piste, 1458 cylinders
Unities = cylinders of 2756 * 512 = 1411072 octets
Disc identifier : 0x00000000

Device                           Amorce    Begin        End            Blocs     Id  System
/dev/mmcblk0p1               1           1459         2009478+   6            FAT16

And blkid /dev/mmcblk0 don't give anything.

Offline

#4 2009-03-19 20:15:15

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: [Solved] Problem with a SD card which I can't mount

jiehong wrote:

And blkid /dev/mmcblk0 don't give anything.

21:14:30 papio@baboon:~$ blkid /dev/mmcblk0
22:14:43 papio@baboon:~$ blkid /dev/mmcblk0p1
/dev/mmcblk0p1: UUID="b9738fdc-4c56-4477-a9e5-24a2b3c9420a" TYPE="crypt_LUKS" 
22:14:47 papio@baboon:~$

Zygfryd Homonto

Offline

#5 2009-03-19 20:15:51

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: [Solved] Problem with a SD card which I can't mount

22:14:47 papio@baboon:~$ fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 1017 MB, 1017643008 bytes
1 heads, 16 sectors/track, 124224 cylinders
Units = cylinders of 16 * 512 = 8192 bytes
Disk identifier: 0x0003cad6

        Device Boot      Start         End      Blocks   Id  System
/dev/mmcblk0p1               2      124224      993784   83  Linux
22:15:36 papio@baboon:~$

Zygfryd Homonto

Offline

#6 2009-03-19 20:21:27

jiehong
Member
Registered: 2009-03-19
Posts: 63
Website

Re: [Solved] Problem with a SD card which I can't mount

Thanks zyghom, so :

blkid /dev/mmcblk0p1
/dev/mmcblk0p1: SEC_TYPE="msdos" UUID="64A5-F009" TYPE="vfat"

And what am I doing of that now ?

Offline

#7 2009-03-19 20:27:39

jiehong
Member
Registered: 2009-03-19
Posts: 63
Website

Re: [Solved] Problem with a SD card which I can't mount

ok, I've found.

I just need to type :
pmount /dev/mmcblk0p1 and that's working.

Thank you very much and I really appreciate that you spend time for a newb like me.

Offline

#8 2009-03-19 20:27:39

zyghom
Member
From: Poland/currently Africa
Registered: 2006-05-11
Posts: 432
Website

Re: [Solved] Problem with a SD card which I can't mount

in one terminal:

tail -f /var/log/messages.log

in second as root:

mount  -t vfat /dev/mmcblk0p1 /mnt

Zygfryd Homonto

Offline

Board footer

Powered by FluxBB