LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   antiX / MX Linux (https://www.linuxquestions.org/questions/antix-mx-linux-127/)
-   -   MX Linux not recognizing SD Card (https://www.linuxquestions.org/questions/antix-mx-linux-127/mx-linux-not-recognizing-sd-card-4175655775/)

Sam the Man 06-15-2019 12:21 PM

MX Linux not recognizing SD Card
 
I'm using MX Linux and I can't get it to recognize my micro SD Card. I insert the card and nothing happens. However, it is recognized using Windows so it's not the drive. When I insert the USB Flash using MX Linux, it recognizes it right away and takes me to the directories etc. but not the SD Card.

Is there something I need to do to get it to recognize the SD Card in Linux? I am new to Linux so please make it as simple as possible if you might know the solution. Thank you in advance.

fatmac 06-15-2019 01:09 PM

So, what file system is on your mSDHC card(?) - maybe you need ntfs3g adding to be able to access the files on it.

(Likely it is a MS filesystem that isn't catered for in the standard set up.)

Just after inserting the card, run
Code:

dmesg|tail
in a terminal, to see if the system is recognizing it.

michaelk 06-15-2019 01:32 PM

It could also be exFAT.

Built in or a USB card reader? Some builtin card readers require drivers or are not supported. The dmesg command will show if the device is recognized.

Sam the Man 06-15-2019 05:25 PM

Terminal screen shot dmesg|tail
 
1 Attachment(s)
I ran dmesg|tail and have attached it to this message. By the way, this is not related to my USB port, only to my micro SD card slot. Sorry for the confusion.

I would post the screen shot of the terminal here but I am not sure how to do it so it's an attachment. u

Thank you for the help.

Sam the Man 06-16-2019 02:56 AM

1 Attachment(s)
It appears to recognize the slot and card but the results in the terminal (see attached) are "unable to read partition table" among other things. I did format the card using the NTFS format and I still got this error code.

I don't know what else to do. Any suggestions?

Lysander666 06-16-2019 06:59 AM

Try formatting it with

Code:

sudo umount /dev/mmcblk0p1
sudo mkfs.vfat /dev/mmcblk0p1

Which will erase all the data, of course, but it should also give it a readable partition table.

Sam the Man 06-16-2019 09:35 AM

reads: "mountpoint not found"

I tried it several times. Thank you for your help though.

I have a feeling it's a simple fix but I don't have enough experience using Linux.

beachboy2 06-16-2019 10:49 AM

You could open a Terminal and try running the following command (I recommend using copy & paste to avoid typing errors):
Code:

sudo apt-get install --reinstall udisks2
Then reboot.

Lysander666 06-16-2019 10:55 AM

Quote:

Originally Posted by Sam the Man (Post 6005900)
reads: "mountpoint not found"

I tried it several times. Thank you for your help though.

I have a feeling it's a simple fix but I don't have enough experience using Linux.

Well, where is it mounted to then?

What does

Code:

lsblk
say?

fatmac 06-16-2019 01:48 PM

Well, it does seem to be recognized as a partition, but it isn't being assigned a drive designation for some reason.

I think what I would do, is to re format it with a vfat filesystem, & hope that it is recognized, & given a disk designation when inserted the next time.

Failing that, I would give it a new MBR, re partition it, & put a new vfat filesystem on it.

Sam the Man 06-16-2019 02:48 PM

1 Attachment(s)
lsblk says: see attachment please

What is udisks2 before I reinstall? Thank you :)

michaelk 06-16-2019 06:23 PM

mmcblk0 is the device ID. The card reader will not be assigned a drive ID like /dev/sdb. From your first post it appeared that the card was partitioned but your latest post with the output of the lsblk command doesn't. I suspect you formatted specifying the device not the partition i.e mmcblk0 versus mmcblk0p1.

You should be able to mount the card like the following using the filesystem type as currently formatted. Make sure that /mnt/sdcard or whatever directory you create exists.

Quote:

mount -t vfat /dev/mmcblk0 /mnt/sdcard
I have asked your thread to be moved to the MX forum.

Sam the Man 06-17-2019 06:40 AM

Over two hours spent for just this one issue and nothing accomplished. Also, I had to reinstall MX Linux for some reason.

Anyway, thanks to all that tried to help me.

rokytnji 06-17-2019 10:46 AM

Quote:

Over two hours spent for just this one issue and nothing accomplished. Also, I had to reinstall MX Linux for some reason.
Too bad. My chromebook antix netbook sd slot does not work with

Code:

harry@biker:~
$ uname -r
4.20.12-antix.1-amd64-smp

Took me about 5 minutes to locate my usb to everything adapter to grab what I needed off that card.

LinWinux 06-25-2019 10:35 AM

I had the same problem very recently with two different SDcards, one formatted as NTFS and the other formatted as Fat32. Could get them recognized in either MX or Mint, don't remember off-hand which since we use both all of the time ... but I wasn't really able to get either of them to actually work properly. After doing some research I read somewhere that most SDcards have their own "preferred" default file system which is why they work by default with other operating systems, but not once they were formatted as such.

I don't know how much of that is true, but I got so frustrated with the SDcards that I decided to never use them again. I was thinking about using a 128GB card for backups and such, but the transfer speeds which I obtained from Win10 for that on 1GB sized files and larger was horrible, much much worse than from a USB 2.0 stick. So I chucked the SDcards and decided to stick to USB sticks instead. It just wasn't worth the hours of hassle that I went through ...


All times are GMT -5. The time now is 06:14 PM.