antiX / MX LinuxThis forum is for the discussion of antiX and MX Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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.
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,493
Rep:
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.
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.
Last edited by michaelk; 06-16-2019 at 07:59 PM.
Reason: Updated
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 ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.