Questions tagged [sd-card]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
322 views

How to unencrypt a micro SD card?

Few days ago I had to reformat my smartphone (Moto G5 with Android 7.0) but after, I received a very bad surprise when Android put me a message telling me the micro SD card was unreadable because ...
1
vote
1answer
610 views

SD reader - how to force UHS-I?

I have an HP EliteBook 8460p, equipped with JMicron card reader: rolf@deb:/sys$ sudo lshw |grep JMicron -B 3 -A 8 *-firewire description: FireWire (IEEE 1394) ...
1
vote
1answer
2k views

SD Card reader problem Arch

I've installed Arch Linux on ThinkPad E470 and I'm facing some SD card reader problems. I can read and write from card, but when I'm, working with the card, there are some random lags and computer ...
1
vote
2answers
91 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 ...
0
votes
1answer
126 views

Why does my SD card change to readonly when I mounted it as readwrite?

I've got an SD card mounted on a ip camera, which runs on linux. I set the videos to record on to the SD card, but after a few days, all my cameras' SD cards stopped recording and I noticed it was ...
0
votes
1answer
698 views

Steam library folder must be on Executable filesystem

I am running Debian 9 via Crouton on an Intel Chromebook. I've had some difficulties with bash and the display, however I resolved these. I installed Steam, and the games work on it, however I only ...
2
votes
1answer
427 views

Creating dual-partition SD card image by a script

I have a system that generates embedded Linux systems. The system outputs three files: a tarball containing rootfs excluding the kernel modules a tarball containing the kernel modules uImage The ...
1
vote
0answers
104 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. ...
0
votes
1answer
31 views

Should unused partitions be removed?

I downloaded a jessie raspbian image and it shows two partitions. [Michael@devserver ~]$ fdisk -l 2017-07-05-raspbian-jessie-lite.img You must set cylinders. You can do this from the extra functions ...
-1
votes
1answer
627 views

mount: wrong fs type (VFAT, Ubuntu VM on macOS, SD card) [closed]

I am trying to install Arch Linux on a Raspberry Pi B. I am doing this in an Ubuntu VirtualBox VM (trying Ubuntu instead of installing to free up space). I have followed this tutorial to get the SD ...
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
2answers
2k views

Which filesystem should I use in an SD card on a NAS?

My NAS can hold several 3.5" hard drives and an SD card. I'm planning to boot and run a custom Linux system (based on Debian, built by me) from an SD card, and the 3.5" hard drives will be used for ...
0
votes
0answers
93 views

Udev can't mount a µSD i can mount manually

I'm still working on my Beaglebone Black under debian distro, I'm working on a specific process on µSD card insertion to relocate logs on it but the system fails at the creation of a directory... On ...
1
vote
1answer
265 views

Linux: Replace RAM with SDCard

With the performance set aside, is it possible to avoid RAM and use SDCard instead of it in Linux. Linux might be using allocated address space as RAM. Can we ask linux to use SDCard as RAM? I will ...
1
vote
2answers
2k views

can't mount partition - how can I troubleshoot it?

I have an SD card which was used in Raspberry Pi. I want to mount this SD card on a Linux PC to get files from it, but I can't. When I put the SD card in a card reader, my dmesg says: [ 114....
1
vote
0answers
91 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
1k views

Impossible to format a SD Card [closed]

I have a Samsung SD Card 16Go, class 10, but I'm unable to format it/add/remove partitions. I tried to use gparted and fdisk, but nothing work. To be more precise, when I do the formating, I have no ...
3
votes
1answer
777 views

Improve SD Card Write Speed

I'm using ARM boxes running Linux 2.6 (I'm stuck with this kernel version unfortunately). The boxes boot off of an SD card, and use a secondary SD card for storage. The boxes have approximately 256MB ...
0
votes
2answers
2k views

How the disk geometry (C/H/S) was determined on the partition table of flash memory storage?

I'm going to write a disk partition creator program for flash memory removable devices, mostly controlled by SCSI based I/O and accessed with LBA address. For reference, I'm researching the ...
0
votes
1answer
76 views

Read data from damaged SD card

There is damaged SD card, some problems with connectors I guess. After plugging in this SD Card mounts and becomes readable for about 30 seconds and data is reachable for download then for some time ...
0
votes
1answer
131 views

Creator CI20: Wrong Image Format for bootm command

I am trying to get my Creator CI20 to boot from sdcard directly. I compiled a vanilla Linux kernel 4.9.20 using (I am running debian stretch on my laptop): $ make ARCH=mips ci20_defconfig $ make ...
1
vote
1answer
992 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:...
1
vote
0answers
114 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
197 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 ...
1
vote
1answer
135 views

Will a backup and restore with dd solve filesystem corruption?

After running 'sudo apt-get update && sudo apt-get upgrade' on my raspberry pi 3 running raspbian jessy, I get: E: Failed to fetch http://mirrordirector.raspbian.org/raspbian/pool/main/g/...
3
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 ...
0
votes
1answer
530 views

fsck valid option is invalid

I have a corrupted micro SD card which I accidentally pulled out. I want to search & fix any errors with fsck utility. $ umount /dev/mmcblk0 $ fsck --help fsck from util-linux 2.29.2 fsck.ext3: ...
4
votes
0answers
1k 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 ...
0
votes
1answer
147 views

cp/rsync both grind to a halt when copying to USB/Micro SD

I'm trying to transfer about 20GB of music from my Arch Linux laptop to a Micro SD card, via a USB reader. The process starts off fine; the first ~50 songs take a combined one second, although from ...
2
votes
1answer
745 views

Unlock Android encrypted DISK IMAGE FILE of SD card on desktop Linux

I am able to successfully unlock a corrupted Android encrypted SD card on desktop Linux using instructions from the Internet. # dmsetup create crypt5 --table "0 `blockdev --getsize /dev/mmcblk0p2` ...
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 ...
2
votes
0answers
312 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 ...
1
vote
1answer
131 views

Unable to partition/format a SD card with gdisk/mkfs, is there any other tool available to do so

I'm on OpenSUSE Leap 42.2. Reading/writing data to a SD card is very slow. Therefore I decided to partition/format it to resolve the problem. I tried to partition with sudo gdisk /dev/sdb but it ...
5
votes
1answer
267 views

How does swappiness affect the longevity of SDHC memory cards in embedded computers?

In this question over at superuser several answers report SDHC card failures in Raspberry Pi single-board computers and other embedded devices over the course of periods varying from weeks to years. ...
1
vote
0answers
236 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 ...
2
votes
0answers
1k views

mmc0: error -110 whilst initialising SD card

I have an issue with my Arch.I insert the SD I can't detect it. Also I find the following error kernel log: uname -a Linux localhost.localdomain 4.9.6-1-ARCH #1 SMP PREEMPT Thu Jan 26 09:22:...
1
vote
1answer
1k views

RTS5249 Card Reader not working

My card reader is not working: $ lspci 05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5249 PCI Express Card Reader (rev 01) Any ideas?
1
vote
1answer
782 views

Can Linux reliably run from an SD card?

If I were to install and run Debian Linux from an SD card or microSD card, would this be less reliable than running from a regular HDD (e.g. a 2.5" Western Digital Blue)? The system and home folders ...
2
votes
0answers
143 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 ...
0
votes
1answer
414 views

Can't remove a file in a partition in SD card

I am using Ubuntu and I want to remove a file in my SD card with the rm -fr filename command, but it can not. The file is removed in some seconds, but it occurs again. Have you encountered this ...
0
votes
1answer
256 views

Accessing FAT32 partition from Windows

I'm working on a Raspberry Pi project on a Zero board. I'd be so happy if I could write a sizable number of files from a Windows or MAC laptop onto the microSD card that I plug into my Pi project, and ...
8
votes
2answers
12k views

fsck won't fsck (unable to set superblock flags)

Following an unclean shutdown on an SD card based device, I took the SD card out to fsck the root filesystem. This led to variations on the following: e2fsck 1.43.1 (08-Jun-2016) /dev/sdc2: ...
1
vote
0answers
312 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,...
4
votes
1answer
580 views

SD card “broken” - changes in files do not persist over reboot

I have a Raspberry Pi which is run from a micro SD card. It boots fine and dandy, but there's something peculiar going on. If I for instance create a new file and reboot, the file is not there. For ...
2
votes
2answers
10k views

ubuntu 16.04 “Package exfat-utils is not available, but is referred to by another package.”

This is my first time trying Linux so I don't know really anything and could use some help with using exFAT sd cards on ubuntu 16.04. A little information first, I'm running ubuntu from my flash ...
2
votes
2answers
4k views

“Error: Can't have a partition outside the disk!” even though number of sectors is fine

I am looking at an image file which was created using dd with an SD card with Raspbian (with Qt 5.7 on it that I compiled a while ago) as input. When invoking sudo parted raspbian_jessie_qt5....
3
votes
2answers
290 views

Backing up SD card filesystem-only to image file

EDIT: For some reason only part of my post got saved. I have updated it now to its full content Although this topic circles around the Raspberry Pi it is applicable to basically all SD cards that ...
1
vote
0answers
112 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 ...
3
votes
1answer
9k views

(ubuntu 16.04) .rules file /etc/udev/rules.d/ does not seem to do job

What I plan to achieve: I am trying to automatically run a script when a certain SD card is inserted. FACTS: a. Script I plan to run is in /home/vivek/Desktop/Message.sh and has the following ...
0
votes
1answer
187 views

Cannot mount SD Card after Update Raspbian

I have updated my raspbian installation on my raspberry pi and something seems to have gone wrong. the rpi does not start anymore and what's worse I cannot even mount the SD card. lsblk shows the sd ...