Questions tagged [sd-card]

A storage medium used in mobile devices like digital cameras, tablets, smartphones, ...

82 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
692 views

Detection of certain SanDisk SD cards fails with Realtek RTS522A reader

I'm using the Thinkpad X380 Yoga. $ lspci | grep Card 02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01) $ uname -a Linux TPx380 4.19.6-1-...
4
votes
0answers
342 views

Stress testing storage media — file vs block?

While looking for ways to stress an SDcard, I've noticed there are two ways one can approach this. One is to stress it by reading/writing blocks directly to the device file. For example: sudo ...
4
votes
0answers
2k views

Cannot mount, read, write, or format SD Card

I can read from my micro-sd card when it is in "lock" position but things get very weird when I try "unlock" it: there is no way I can fsck it, nor mount it, nor read it, nor.. format it! I need ...
4
votes
0answers
2k views

Grub 2 does not access /dev/mmcblk0p1, the SD Card

I am running Ubuntu 16.04 (64 bit Desktop) and would like to have one of the boot partitions to be on the SD Card, which is formatted as ext4, and is /dev/mmcblk0p1. Grub boots from the hard drive and ...
4
votes
1answer
3k views

Make an SD card to boot the distribution image created with Yocto

I have managed to build images for my own compiled Linux kernel source code using Yocto. Yocto has produced image files according to: http://www.crashcourse.ca/wiki/index.php/...
4
votes
0answers
1k views

How to check/test internal card reader speed

I got new SD card claimed to be 10 class of speed, but internal Disk utility in linux after test showed up only 6th class of speed. How can I check my card reader speed to be sure that it's not the ...
3
votes
0answers
7k views

ext2fs_open2: Bad magic number in super-block

I'm trying to resize a Linux partition, but after tweaking a lot with this disk I don't know If I have totally corrupted it. Device Boot Start End Sectors Size Id Type /dev/sdd1 * ...
3
votes
0answers
1k views

Why ubuntu is so slow on the SD card?

I have managed to install ubuntu on a 128GB SD card (class 10) which dual boots with windows 10. However, ubuntu works like an old guy. It comes up so slowly. It tends to halt and overall very slow ...
3
votes
0answers
2k views

USB SD card reader recognized with lsusb but no storage device shown with lsblk

I have a 2GB Micro SD card and a USB card reader. When I run lsusb I can see the card reader is recognized, but when I run lsblk I see no additional storage devices. [lane@Lane-ArchSystem 19:38:08 ~]...
2
votes
0answers
21 views

OS confusing eMMC device for SD card device - how to fix using udev

Busybox Linux running on an ARM Cortex A7 processor from NXP. The board has an SD card slot and also an eMMC chip that can be used for storage. The device is booting from nor flash. Strangely, when ...
2
votes
0answers
158 views

USB mmcblk support (realtek or others)

Can a USB card-reader ever appear as /dev/mmcblk0 and support the MMC ioctl commands? I see there are some kernel driver modules such as: rtsx_usb_sdmmc.ko (rtsx-usb-sdmmc) rtsx_usb.ko (rtsx-usb) ...
2
votes
1answer
1k views

Configuring and Mounting Micro SD Card in OpenWRT

The Vocore is a single board computer running OpenWRT. It has very limited internal storage capacity with only ~1MB for storing packages and files. I need additional space for installing Python and ...
2
votes
1answer
1k views

Repairing or Recovering files from a Corrupted F2FS partition?

I have a f2fs partition with missing Superblock. I made a disk image so I would not destroy the original partition trying to fix. sd-repair# fsck.f2fs sd128.img Info: Segments per section = 1 Info:...
2
votes
0answers
119 views

How does the kernel decide to make an SD card filesystem read-only?

I understand that low-level NAND flash can effectively wear out and that an SD card controller (residing on the card itself) is responsible for managing the flash and exposing a comparatively simple ...
2
votes
0answers
204 views

Cannot mount SD card after hard shutdown

I have an SD card in my raspberry PI, on which I pulled the power. Now, I cannot boot from it, or even read it from my (Fedora) laptop. When running fsck I get this error: [bf@localhost ~]$ sudo ...
2
votes
0answers
363 views

What can I do if my USB flash drive / SD-card is write-protected or read-only?

When I plug in my USB flash drive (or SD card), it shows up on my computer as write-protected or read-only. I am unable to transfer data to it, nor can I modify or delete any files already stored on ...
2
votes
0answers
149 views

Installing udisks2 ejects sdcard

When installing udisks2 package on debian stable (using apt), at the "setting up" step, the sdcard gets ejected. The problem is, the process is running from the sdcard (chroot environment). I get ...
2
votes
0answers
339 views

Ext4-Error: Bit already cleared for inode

System: Debian Wheezy Kernel 3.11.6 Atmel SAM9x25 Mono 3.2.8 SD card with ext4 partition I got following message error when I booted my mono application: root@net-231:/opt/programm# [ 6061.078125] ...
2
votes
0answers
314 views

SD card protected area

The Wikipedia article on SD cards mentions that about 10% of the capacity of an SD card is a so-called protected area, which is used for the security-related features of the card. Let's say I don't ...
2
votes
0answers
821 views

Installing Arch Linux on SD Card - Problem Writing Partition Table

I've been trying to install Arch Linux onto an SD card to use plugged into my macbook. Currently, I've booted into the installation media on a usb key and I'm trying to write the GPT partition table ...
2
votes
2answers
366 views

Why does flashing a BBB eMMC take so long from SD card, and how can I monitor the progress?

As you may know, flashing the BeagleBone Black eMMC with a new Linux Image from the SD card takes quite a long time - up to 45 minutes. Is there a reason why, and is there a way to monitor the ...
2
votes
0answers
658 views

Set PERM_WRITE_PROTECT on an SD card

From what I read here and here I gather that there is a bit on SD cards called PERM_WRITE_PROTECT that will allow me to make an SD card read only. Is it possible to set this bit from Linux? If so, ...
1
vote
1answer
27 views

SD card unreliable under Linux?

I am having heavy (and repeatable) problems with writing SD cards under Linux. Background: I'm working on an embedded system using an SD card for it's root fs. Often I see fsck errors. I thought we ...
1
vote
0answers
78 views

SD card not showing up under /dev

I'm trying to mount a 2gb Kingston SD card on a Lenovo ThinkPad t420s running Arch Gnu/Linux with kernel version 5.2.6. It has a removable SD card reader connected with an ExpressCard slot. I've ...
1
vote
0answers
71 views

Shell script to partition an SD card

I am quite new to Unix/Linux. I am trying to write a bash script which will format and partition an SD card to have the exact layout with 7 partitions as shown below. I've had a look at sfdisk, but ...
1
vote
0answers
31 views

How do I shrink a partition from the beginning? i.e. create empty space at the beginning of the block device?

I have devices with SD cards, with several partitions. The first partitions on the card is typically not mounted, and have vfat filesystem. What I want to achieve is, to create a 1MB free space just ...
1
vote
0answers
34 views

File on SD card does not exists after reboot

I have a weired scenario on a Production unit. There is a SD card on the unit. I can create a file in the SD card and it shows that the newly created file exists there. I can do read/write operation ...
1
vote
0answers
156 views

How can I find a list of card readers that supports blkdiscard

The common answer on the Internet is to read the spec (they never mention it) or know the chipset (hard to know before buying) before buying. Where can I find a list of SD card readers which supports ...
1
vote
2answers
92 views

Is there a way to install a Linux operating system on a SD card from an official .iso image, before to use it on the target system?

The context I am trying to use a Raspberry Pi 3 with the official Ubuntu 16.04 Server image for ARM 64, found from this page. From what I understood, I have to install the OS on the SD card before ...
1
vote
0answers
107 views

Can gzip change original file size?

/dev/sdf is a 32G SD. As far as I can tell, I had performed the following, but upon attempting to perform the final step and write to a SD, my file image appears to be one byte to large for the SD. ...
1
vote
0answers
107 views

Autoremounting of a SD card after unmount

I connected a SD card to my notebook, which got auto mounted by the Operating system. After that I unmounted all the partitions, and wrote a modified raspian image directly to the device. Since new ...
1
vote
0answers
261 views

Fedora25: SD cauing OS Freeze: dmesg mmc0 error 110

After updating my system ( and enabling RPM-Fusion ) I started having strange behavior when plugging in an SD adaptor with its corresponding micro-sd card. Let us rewind a bit though and define ...
1
vote
0answers
320 views

Writing to MicoSD card under Arch Linux fails

I have a MacBook Pro (Retina, mid-2012) running Arch Linux (kernel version 4.8.6-1). I want to write a Raspbian Jessie image to a MicroSD card which I've plugged into the SD card slot using a standard,...
1
vote
0answers
117 views

How can I rename the device files for my multi-memory card reader?

I have a card reader in my computer that can read six different types of memory cards. It's connected to an internal USB port, and it shows up in lsusb as "Bus 002 Device 013: ID 058f:6364 Alcor Micro ...
1
vote
0answers
33 views

why is the memory card not functioning properly?

I have a 32 GB memory card (SD card) which I am using via card reader. I have formatted it as fat32 but it is not working. The memory card isn't running on music systems. Please look at the error as ...
1
vote
0answers
79 views

How to create boot header for booting powerpc MPC8309twr with SD card

I'm trying to boot the MPC8309twr with sd card. I found some documents AN3659_bf.pdf(describes the format for sd card boot header for MPC8536E) which uses a program called boot format. While ...
1
vote
1answer
687 views

Installing Debian 8 (Jessie) from HDD Partition

I tried to install Debian 8 (Jessie) with the official DVD 1 from my Card Reader (SDHC UHS-I Card 32GB). Now that does not work, because I am unable to mount it (no signal at all). Now I want to know ...
1
vote
0answers
558 views

How to automatically mount Android device sd card in Linux mint

Debian 8 iso hybrid is mounting android device (lenovo k3note) sd card automatically. But Linux mint 17.2 doesn't do so. How to mount Android device sd card automatically in Linux mint?
1
vote
0answers
543 views

Detect when sdcard removed

I'm working with a small Arm board (Emtrion) running Debian Linux. Emtrion has provided an sdcard image that can update the boards flash. I would like to extend the simple update script, so that when ...
1
vote
1answer
167 views

OSX: MBP: How does system detect sd card inserted?

I have a MacBookPro running Mavericks. I can insert one sd card into the slot and it mounts just fine. Another sd card I slip in and nothing happens. It does not appear in disk utility. It does ...
1
vote
0answers
105 views

ETX4-fs error on startup

Hi everybody, today I run dmesg and at the bottom I found some error lines about the device mmcblk0p2. Everything works fine even with those errors but I'd like to understand the problem. I've ...
1
vote
0answers
2k views

extend the storage of a beaglebone black

I've got a beaglebone black rev B (2gb storage) and I want to use it to run owncloud as a self-hosted cloud. The beaglebone comes with 2gb of storage, which means that it has just enough room for the ...
1
vote
1answer
3k views

Cannot see my SD card in parted

When I plug in my card reader, it shows up at /def/sdf, and when I insert this SD card I also see /dev/sdf1, but parted won't show the disk. It doesn't have any information I need, I just want to use ...
1
vote
0answers
616 views

Beaglebone: Backup image mounts root as Read-only

After I had completed creating applications for my BB white (running ubuntu), I created a backup of the SD card using-> sudo dd if=/dev/disk2 of=/Volumes/BONE/bone_custom.img Recently, I tried to ...
1
vote
0answers
273 views

How do you hide “Generic USB SD Reader” in nemo file manager when a card is not present?

I'm running Linux Mint 16. I have a external card reader that has CF, MS, SD, and SM readers in it as well as 3 USB ports. Is there a way to hide the card reader ports from nemo's my computer when ...
1
vote
0answers
641 views

Why is my embedded Linux unable to detect the sd device?

I have this ARM9 SAM9G25 embedded System, running a Linux 2.6.39 Kernel and a Busybox. I put the Images (of the bootloaders, and the linux+initramfs) on a SD so that in the end the system is booting ...
1
vote
0answers
2k views

Recovering files from partitions at a corrupted SD card?

I got a problem with my SD card which had got Raspbian. Everything seemed to be ok while working with the raspberry. I inserted it to my laptop running Ubuntu 12.04.4 to fetch some files. It first ...
1
vote
0answers
2k views

Alcor Multi Flash Reader Arch Linux

OS: Arch Linux Hardware: Toshiba S55 lsusb -v Bus 001 Device 004: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader Device Descriptor: bLength 18 bDescriptorType 1 ...
0
votes
0answers
2 views

SD card image creation for RPi with U-Boot and redundant U-Boot environment in MMC

I'm fairly new to embedded linux and I'm currently working on a device using a Raspberry Pi 3B+. The OS is built using Buildroot and the device can be upgraded with a double-copy strategy using ...
0
votes
0answers
32 views

SD card reader not detected by Linux kernel 5.3

My laptop's SD card reader is recognized by Linux (OpenSUSE Tumbleweed) as "RTS525A PCI Express Card Reader", yet it is not visible by the system when I insert an SD card (tried it with SD cards of ...