Questions tagged [sd-card]
A storage medium used in mobile devices like digital cameras, tablets, smartphones, ...
334 questions
1
vote
2
answers
180
views
Does badblock "fix" blocks on an SD card?
I have an old 16GB SD card that started giving I/O errors, known it's gone bad, I dumped all the content to an image file to see what I could restore, and the Disk manager alerted me that 16.1MB were ...
0
votes
1
answer
105
views
13 GB out of 32 hidden on sd card
I have connected and mounted in Linux a 32GB micro-sd card that was installed on an old "android 6" tablet of mine
du and baobab show only ~17GB allocated:
$ du -sm /media/emmegi/6605-1EF6/
...
2
votes
1
answer
411
views
“Bad magic number in super-block” after a dd of Mobian (Debian) image
General overview
I try to install the Mobian OS on my Pinephone thought the dd’s method as described in the official Debian documentation. Basically, I have to make a dd from an image to a partition ...
1
vote
1
answer
70
views
Rsync on a 2 micro sd card unit combined as an luks encrypted LVM, on top fscrypt: Fscrypt seems to lock from time to time, how to avoid?
Hope anyone has a hint, if fscrypt which serves for me as a replacement for the error prone ecyryptfs for my backed up home folder (which is in a different PV group, luks encrypted,ecryptfs home ...
0
votes
1
answer
425
views
How do I copy the image from SD card to the emmc using linux commands?
I am trying to flash a custom image from my SD card (mmcblk0) onto the emmc (mmcblk1) of my BeagleBone.
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk0 179:0 0 14.9G 0 disk
├─...
-2
votes
2
answers
150
views
Add label to hard disk or flash drive that is on disk and will show on all systems it is connected to
Kind of similar to this question, but not quite the same.
I want to know how I can reliably add a persistent label to a disk, especially a USB flash drive or [Micro]SD card, that is on the disk itself,...
0
votes
1
answer
116
views
SDcard Image behaves differently than Original
I created my OS on my Raspberry pi 2 zero W on an SDcard. Now I want to distribute it so I made an Image from the SDCard (using dd). But the two cards behave differently especially at startup. Did ...
1
vote
0
answers
86
views
Need to expand rootfs online. Looking for alternatives
I am currently working with NXP's iMX8MP-EVK and I created a custom image using yocto. The image is 6.6GB in size and after flashing this image into eMMC and booting through it, I found the remaining ...
0
votes
1
answer
169
views
change default name for eMMC to other than mmcblkX
With previous platform the boot device was mtdX, and there could be only one sd-card, always appearing in the system as mmcblk0.
New system has internal eMMC, which is mmcblkX, as well as may have sd-...
1
vote
1
answer
286
views
SD card detected but no /dev entry created
Relevant dmesg:
[980875.386648] mmc0: new SD card at address cde5
lsblk doesn't see it. /dev content does not change on insertion. The reader is integrated but sits on the USB bus.
Anything beyond ...
6
votes
1
answer
2k
views
Interpreting the output of badblocks: when is it time to replace the MicroSD card?
Context
I am running a Raspberry Pi Zero with a Micro SD as it is designed.
However, for this specific application,
I cannot use a read-only system as I usually do with a Raspberry Pi.
Objective
Keep ...
0
votes
0
answers
714
views
My SD card reader doesn't work
When inserting an SD card in my laptop's internal card reader, it's not being recognized by my system. I've tried 2 micro-SD cards with an adapter and 1 SD card, which all work perfectly fine on ...
-1
votes
1
answer
66
views
How are data organized when written in the Micro SD cards? [closed]
How are data organized when written in the Micro SD cards as there are no mechanical spinning platters like hard disks?
0
votes
1
answer
382
views
Corrupt SD card image only shows zeros in HexEditor
in our sports club somebody stole money over and over again. So some members set up a hidden camera to record him. After the next day the money was gone and they checked the camera. The SD card worked ...
0
votes
0
answers
159
views
files disappear upon umount
I have a mystery ... a reproducibile one, but still a mystery.
My ideapad 100s has a SD card reader which I use to store stuff while I work on it, as its built-in drive is super tiny. Its really just ...
1
vote
1
answer
2k
views
Uboot boots from SD card, but can't read info from mmc
I am working on setting up a bootable SD card for a Rockchip SOQuartz CM4.
I am able to build uboot for this target, write it to an SD card along with a rootfs image and kernel, load uboot, and get to ...
2
votes
1
answer
81
views
How to know if SD-slot is USB or actual SD-standard?
I am trying to figure out if my full size or micro size SD card slots on my Toshiba Click Mini 9l has the internals of using USB for SD card slots or if they are wired as actual SD-slots and not ...
1
vote
0
answers
66
views
Computer ran out of battery while formatting an MicroSD card, now card is not recognized
I bought a new Samsung 256GB Pro Endurance Micro SD Card. I wanted to format it so I could load an operating system for a Raspberry Pi. My laptop running Ubuntu 23.04 died for lack of power in the ...
0
votes
1
answer
518
views
unreadable SD card repairing - possible?
Does it possible to mount and refresh broken SD card?
i had SD card, which doesn't readable by the system.
It was happened while testing process, i had write to card files 1GB value, and after about ...
-1
votes
1
answer
446
views
How can i delete and format sd card partitions that have file system in it?
Ok,I have steam with steam os in it sooo in a way on another i install steam os in sd card
(install steam os in the sf did not end well and got file system that i can not delete or work it) and got ...
0
votes
2
answers
289
views
Are there any filesystems with builtin data repairing via checksums?
I've read that ZFS/BtrFS have a checksum check, but they don't use it for data recovery, only for recovering data from a full local copy or a mirror copy.
On the other hand, RAR archives support data ...
1
vote
1
answer
246
views
ddrescue on SD-card: Why is the output differing but no errors given?
I'm doing a backup operation on a SD-card. This card has been used for almost 8 y with regular write operation. Chances are that it is damaged somehow.
That's why I choose ddrescue to get the content.
...
2
votes
1
answer
46
views
I cannot boot bananapro board possibly because of SD card layout
I managed to compile a linux distribution thanks to yocto. I have 4 different files which are :
bootloader u-boot-sunxi-with-spl.bin-bananapi-2020.01-r0
kernel uImage--5.4.111-r0-bananapi-...
1
vote
0
answers
293
views
Is it possible to recover this LUKS-encrypted SD card?
I have a large size SD card that was encrypted with LUKS using the GNOME Disk Utility running on Ubuntu. I had some cherished photos on it. I've managed to accidentally format the SD card and wish to ...
0
votes
0
answers
44
views
Read-Only mode for the OS - best way to make an inaccessible SD card last longer?
It's for a book navigation device for street children, using recycled laptop LCD's where the SD card would be encapsulated in cement and very difficult to change.
If the bits of an SD card are not re-...
1
vote
0
answers
185
views
Failed to mount "rpool"
I was copying files from a storage drive to the SD card mounted in my Chromebook R11 (Linux Mint) when it locked up. I resorted to turning off and rebooting, my file reader no longer recognizes the SD ...
1
vote
1
answer
2k
views
Raspberry Pi SD cards showing “Write protect is on”
I'm using a custom buildroot Linux kernel for Raspberry Pi, based on the Pi kernel 5.10.92 (64-bit). I've flashed this image onto micro SD cards from two different manufacturers and installed them in ...
0
votes
1
answer
561
views
microSD card not recognised by lsblk, errors in dmesg
I got a new Kingston 1Tb microSD card and made the mistake of putting it into my Steam deck right off rather than formatting it on my laptop first. The Steam deck format got stuck on "testing&...
0
votes
0
answers
35
views
Replicating SD card: hangs at 99%
The goal is to replicate an SD card.
Despite successfully replicating the SD card a few years ago, a recent attempt hangs at 99%, despite attempts from 2 different PCs.
user@JUPITER Desktop$ date; ...
0
votes
2
answers
833
views
unable to find or mount sd card
I have a SD card that is giving me some trouble.
I followed some instructions from here https://forums.linuxmint.com/viewtopic.php?t=368230 and used the command
sudo dd if=/dev/zero of=/dev/sdb bs=1M ...
0
votes
1
answer
543
views
9 in 4 card reader/writer doesn't read SD cards on Debian 11 Bullseye
Since my new Acer Aspire Vero laptop doesn't have an SD card slot I dug up my old Dane-Elec 9 in 4 Reader/Writer. However this seems unable to access the photos on my SD cards. Even though it works ...
0
votes
1
answer
137
views
Is it possible to copy a video or a different file to a linux sd card?
I am new for this platform. I am using Lichee Pi(Debian LXDE). I want to play a video. So,firt of all i need a video and video player. But my board does not support ethernet or wifi. so, i downloaded ...
2
votes
0
answers
1k
views
With a USB SD card reader, the SD card only shows up if it is inserted before the USB reader is inserted
I'm running Alpine Linux 3.17.0 on kernel 5.15.79-0-rpi, on a RaspberryPi Zero 2 W.
I have a USB card reader, and an SD card.
When I have the SD card inserted into the card reader, and then insert the ...
0
votes
1
answer
147
views
Cannot get SD Card formatted as ext2 to work on MX Linux laptop
Summary
I formatted a 64Ggb micro SD Card with an ext2 filesystem. After
mounting and copying files to it, many files were corrupted; almost 400 out of 10,500 files.
I also tried ext3 and ext4. And I ...
1
vote
1
answer
343
views
md5sum of image and sd-card partition differ
I am creating an image of an sd-card partition (dd) and eventually the checksum (md5sum) of the image and the partition are not the same.
What am i doing wrong?
My sd card is inserted into an external ...
0
votes
1
answer
153
views
Reset filesystem on boot failure
There is a single-board computer booting Debian 11 from an SD-card, and the idea is if it ever fails to boot (eg from losing power mid-write), it attempts to boot from a known-good setup (eg read-only ...
1
vote
0
answers
598
views
OpenBSD 7.2 NanoPi R4S sdmmc0: can't enable card
I am facing the following issue with SD card when trying to install OpenBSD 7.2 on Nanopi R4S (Rockchip RK3399 ARM64 SoC). The same problem as previously described on OpenBSD 7.1 here.
sdmmc0: can't ...
0
votes
1
answer
356
views
Is there a way to force mount a device in a different format?
sorry for the weird title, but I'm just wondering if there is a way for mount to ignore a device's filesystem format and instead, mount a device in a different format?
basically, I'm asking if ...
1
vote
0
answers
962
views
How to use .wic files with qemu
I am trying to use qemu with the machine microchip-icicle-kit, following the instructions from https://www.qemu.org/docs/master/system/riscv/microchip-icicle-kit.html (even though it seems a bit ...
0
votes
0
answers
1k
views
SD card shows up in dmesg, lsusb, and lswh, but not in lsblk or fdisk
Recently, my Android device has been unable to detect my SD card so I connected it to my PC (running Kubuntu) to figure out what's wrong. These are the results:
dmesg correctly detects the card reader ...
0
votes
0
answers
48
views
df claims a mounted sd card is almost full, but I can only see a few small files
I'm stumped here trying to view recordings from a car dashcam's sd card. The dashcam should've been recording continuously, and was configured to overwrite old footage with new footage. Supposedly, ...
0
votes
1
answer
821
views
Linux Mint 21 - problems with RealTek PCIe SD card reader
I operate an HP Envy x360 15m series laptop with an AMD processor, which has a builtin slot for Secure Digital. However, inserting cards is not noticed, not even logged in the kernel ring, when ...
0
votes
3
answers
2k
views
MicroSD card not found at boot time, works when ejected and reinserted
I have a Jasper Lake mini PC with an Intel Micro SD card reader, running Ubuntu 22.04.
If I have an SD card in the reader when I boot the machine, the card is not found, no block device is created, ...
0
votes
0
answers
345
views
Boot linux live iso from multi-partitioned SD card
I have a 32Gb SD card that I want to boot a linux ISO from. I can write the image using balena, dd etc. and it works fine.
However this is a bit wasteful as the ISO is a fraction of this size. I'd ...
0
votes
1
answer
992
views
Can I boot my board from built-in emmc while the sd-card plugged in?
This is kind like a U-Boot related question. I'm not quite sure which site should I post to, but as I boot Ubuntu, I post it here.
Basicly, I bought a cheap Nanopi Neo Air with Allwinner H3 SOC. I'm ...
5
votes
3
answers
7k
views
Cannot format a MicroSD card
I have a SanDisk Ultra Plus 64gb MicroSd XC Card that I used to run ubuntu server on a raspbery PI.
Now I have to format this card but I can not succes. I've tried many things including:
Formating ...
3
votes
0
answers
2k
views
How to install OpenBSD 7.1 on NanoPi R4S using SD card as root disk?
I would like to install OpenBSD 7.1 on the NanoPi R4S (Rockchip RK3399 ARM64 SoC).
Following the instructions in INSTALL.arm64, I managed to make the NanoPi R4S boot miniroot71.img. I wrote the ...
0
votes
0
answers
996
views
How can i access the files in the nand flash memory through linux terminal?
I have files in the nand flash memory of my Gumstix Overo that i want to copy to a SD card, but i can't access them through the overo terminal, so i wanted to copy them through the linux terminal but ...
0
votes
0
answers
587
views
how to prevent sshd related messages from being written to systemd journal log
I'm running a raspberry pi on an SD card and the logs are constantly hammered with failed login attempts from botnets. Beyond filling the logs with useless information, this is putting wear and tear ...
0
votes
1
answer
525
views
card reader falls off in linux
I have debian 11 and a MicroSd card reader built into my laptop. Device: Realtek Semiconductor RTS5129 Card Reader Controller. The problem is that it falls off after I insert the card and take it out ...