We have moved to a new Sailfish OS Forum. Please start new discussions there.
3

cannot mount SD card after 2.0.2 (Aurajoki) update − SD card corrupted ? [not relevant]

asked 2016-09-09 11:14:53 +0300

vbregier gravatar image

updated 2016-09-09 21:45:30 +0300

After 2.0.2 update, my SD card is not mounted any more.

If I try to mount it manually, I get an error :

$ sudo mount /dev/mmcblk1p1

/media/sdcard/ nemo's password: mount:

unknown filesystem type 'f2fs'

blkid also reports "f2fs" type :

$ sudo /sbin/blkid /dev/mmcblk1p1

/dev/mmcblk1p1: LABEL="zeratul-sd"

UUID="e38225c1-fd35-433c-b915-b74ce9feecb9"

TYPE="f2fs"

But my SD card is formatted in ext2… cfdisk reports NTFS/exFAT :

Device Boot Start End Sectors Size Id Type

Free space 2048 32767 30720 15M

/dev/mmcblk1p1 32768 122142719 122109952 58,2G 7 HPFS/NTFS/exFAT

I guess that somehow my partition table got corrupted… Any idea how I can recover it ?

edit retag flag offensive reopen delete

The question has been closed for the following reason "question is not relevant or outdated" by vbregier
close date 2016-09-09 21:45:53.497223

Comments

try fsck.ext2 and fdisk, maybe on a pc. check for the partitions size, if it's zero your card might be bricked. otherwise try fsck with an superblock backup (check the manual for this)

till ( 2016-09-09 13:15:16 +0300 )edit

Was the same for me with the last early update - after it went through the fs on my SD has been corrupted - only repartition on the pc worked (after formatting it still didn't mount after a reboot) - all data on SD was lost...

elastic ( 2016-09-09 17:31:29 +0300 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2016-09-09 21:45:13 +0300

vbregier gravatar image

Ok, after getting home, and being able to mount it on a desktop PC, I found out that this microSD was not formatted as ext2, as I remembered, but indeed as f2fs (I guess I was experimenting with f2fs when I formatted it…)

So mount and blkid were indeed right, and the problem was the mount-sd.sh script that was overriden with the default version, not handling f2fs…

I am closing this non-issue. Thank for the answers, anyways. And sorry for my bad (brain-)memory ;)

edit flag offensive delete publish link more

Question tools

Follow
2 followers

Stats

Asked: 2016-09-09 11:14:53 +0300

Seen: 317 times

Last updated: Sep 09 '16