LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-23-2021, 03:28 PM   #1
hkjz
Member
 
Registered: Apr 2019
Distribution: MX
Posts: 182

Rep: Reputation: Disabled
SD Card, no read, bad superblock, no response - read on phone


Hello there,


I have an SD card that is mainly used in the phone. Unfortunately it has problems with it, I could not copy anything to it. Nevertheless, I was able to paste items from the card into the phone and start exploring it.

I can't access it from GParted. Below is the result of some commands used.

Code:
$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
mmcblk0     179:0    0  28.9G  0 disk  
└─mmcblk0p1 179:1    0  28.9G  0 part  

$ sudo fdisk -l
Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1       8192 60506111 60497920 28.9G  c W95 FAT32 (LBA)

$ sudo mount /dev/mmcblk0 /mnt/SD-Ruf
mount: /mnt/SD-Ruf: wrong fs type, bad option, bad superblock on /dev/mmcblk0, missing codepage or helper program, or other error.

$ sudo fsck /dev/mmcblk0
fsck from util-linux 2.33.1
e2fsck 1.44.5 (15-Dec-2018)
/dev/mmcblk0 is in use.
e2fsck: Cannot continue, aborting.

$ sudo mkfs.ext4 /dev/mmcblk0
mke2fs 1.44.5 (15-Dec-2018)
Found a dos partition table in /dev/mmcblk0
Proceed anyway? (y,N) y
/dev/mmcblk0 is apparently in use by the system; will not make a filesystem here!

$ sudo dmraid -r
no block devices found

$ sudo mdadm --stop /dev/mmcblk0
mdadm: /dev/mmcblk0 does not appear to be an md device


$ sudo mount /dev/mmcblk0 /mnt/SD-Ruf
mount: /mnt/SD-Ruf: /dev/mmcblk0 already mounted or mount point busy.
 
Old 09-23-2021, 04:34 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,813

Rep: Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958
The filesystem and data is on partition 1
Code:
sudo mount /dev/mmcblk0p1 /mnt/SD-Ruf
 
1 members found this post helpful.
Old 09-24-2021, 12:48 AM   #3
hkjz
Member
 
Registered: Apr 2019
Distribution: MX
Posts: 182

Original Poster
Rep: Reputation: Disabled
What you said is quite enigmatic, what you would like to tell me? Thanks
 
Old 09-24-2021, 12:52 AM   #4
hkjz
Member
 
Registered: Apr 2019
Distribution: MX
Posts: 182

Original Poster
Rep: Reputation: Disabled
What you said is quite enigmatic, what you would like to tell me? Some linking chain is missing and I dont fully undestand the message. Thanks
 
Old 09-24-2021, 02:58 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,813

Rep: Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958
/dev/mmcblk0 is the entire device. The beginning contains the MBR which is the partition table.

The device contains 1 partition /dev/mmcblk0p1. This is where the filesystem is located and all the data. To access the data you need to mount partition 1.

All the commands you posted with errors were using the wrong device ID.

Last edited by michaelk; 09-24-2021 at 03:03 AM.
 
Old 10-02-2021, 05:52 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,484

Rep: Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361Reputation: 2361
Have you even got the FAT module compiled? Many folks don't use it.

Anhd to address the disk, use /dev/mmcblk0p1.
 
Old 10-03-2021, 02:39 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,020

Rep: Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630Reputation: 3630
"/dev/mmcblk0 is in use"

use command mount to see what is mounted
 
  


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
e2label: Superblock checksum does not match superblock while trying to open /dev/sdb3 Couldn't find valid filesystem superblock. Pen guin Linux - Newbie 26 07-05-2020 11:03 AM
Problem mounting CD-ROM: wrong fs type, bad option, bad superblock on /dev/cdrom Oooska Linux - Newbie 7 07-10-2013 11:37 AM
Bad mount of .mdf - "wrong fs type, bad option, bad superblock, on /dev/loop0" Maybe-not Linux - General 2 02-29-2008 01:30 PM
wrong fs type ,bad option, bad superblock on /dev/hda3, or too many mounted file syst Vencalator Linux - Newbie 4 09-20-2003 01:58 PM
wrong fs type, bad option, bad superblock on /dev/cdrom, or too many mounted file sy TheCyberDude Linux - Software 1 02-11-2002 12:44 PM

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

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