Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sd-card]

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

0
votes
0answers
16 views

How to find built-in SD card reader (MMC) details?

I have been attempting to mount a SDXC (exFAT) card into the built-in MMC reader in my laptop. I keep getting "mmc0: error -110 whilst initialising SD card" errors in dmesg and the device is never ...
0
votes
1answer
38 views

Default file system when mounting a partition

When I attach an SD card with multiple partitions to a Debian computer for example and use the mount command to mount a partition to the file system without specifying the file system type, which file ...
1
vote
1answer
35 views

Flashed image of full debian to larger sd card. System still full [closed]

I have debian running on a 16 GB sd card and it recently ran out of space (/dev/root is a 100%). I bought a 64 GB sd card and flashed my image of debian over to it. Even though it's running on the 64 ...
0
votes
0answers
49 views

How can I boot to an SD card from a USB stick?

So I have an old laptop(Samsung NP300E5A) without an HDD but with an SD card slot, a 16GB SD-card, a spare 2GB USB stick, and a wish to keep using that laptop. I want to install Ubuntu or something ...
0
votes
1answer
27 views

Debian doesn't run cron after moving boot disk

I'm working on a bunch of custom scripts for Debian to run on an Odroid. My OS is on an SD card. Recently I needed to clone this SD card to another Odroid. I copied an image using Win32DiskImager on ...
1
vote
1answer
136 views

SD Card Recovery without data loss or corruption

I have a 128 GB Micro SD Card that I formatted as ext4 and used in a Chromebook for an Ubuntu Chroot Environment. I used it for quite some time that way. At some point, I either deleted everything off ...
1
vote
1answer
115 views

Corrupted SD card is readonly and not mounting

I'm having issues trying to recover a corrupted micro-SD card (not the data, just the card). I think it was formated to be part of the internal storage of an Android phone when that was an option. # ...
0
votes
2answers
42 views

How does the OS know which type of flash memory we are using

If for example I clear the contents of my SD card with command dd if=/dev/zero of=/dev/sdX , I'm guessing this completely wipes (sets to zero) every single content on the card? partitions, file system,...
0
votes
0answers
14 views

Confused with the term mounting in terms of devices [duplicate]

When I plug a device such as an SD card into my Ubuntu computer, I understand that Linux automatically mounts the device. So when I run fdisk -l , the device will appear as for example /dev/sdb . Does ...
0
votes
0answers
86 views

Unable to read SD cards linux

I'm unable to read any SD card from Linux. I already tried both SD cards that I have here in different machines (windows and Linux) and they work flawlessly, I also booted from a live USB (the same ...
1
vote
1answer
173 views

VFS: Cannot open root device mmcblk1p1 or unknown-block(179,33)

I am trying to run Linux on custom board based on Nvidia TK1. When I try to boot the board from SD card, I get following error: VFS: Cannot open root device "mmcblk1p1" or unknown-block(179,33): ...
0
votes
1answer
93 views

terminal flashing causing sd card to be unreadable

I am currently trying to flash my SD card, but keeps getting this error that the sd cards unreadable, I tried using etcher and dd, and it keeps doing it? I am trying to flash https://www.home-...
0
votes
0answers
54 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
0answers
195 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-...
1
vote
0answers
27 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 ...
0
votes
1answer
257 views

How do I install a live ISO on an SD card so it boots anywhere?

How do I install (NOT live-persistence) an xNIX live-iso onto an sd card? I want it to be able to boot on most machines. In depth: I've burned a pendrive with parrotsec 4.4 64 bit to install parrot ...
1
vote
1answer
58 views

SD card img created with dd is all zeros [closed]

A computer illiterate family member asked me to recover photos from an SD card she used in her camera. She went to fetch them from her computer when it informed her that the device needed to be ...
0
votes
2answers
53 views

Unable to mount an sdcard

I wanted to mount an sdcard. Upon inserting the dmesg logs gives me this: [Thu Oct 25 10:59:44 2018] sd 0:0:0:0: [sdb] 30318592 512-byte logical blocks: (15.5 GB/14.5 GiB) [Thu Oct 25 10:59:44 2018] ...
0
votes
0answers
24 views

Deactivating disk cache for specific device or partition? (play 2160p video off SD card without sacrificing RAM space other programs need)

I would like to deactivate the disk cache for /dev/mmcblk0p1 in order to preserve more RAM for other system parts while playing 2160p video off /dev/mmcblk0p1. 2160p videos ravenously wipe the RAM ...
0
votes
0answers
19 views

Gaining information about a device using SD reader

I have a few SD cards which I forgot the static IP I assigned as well as the distribution. I can access the card using a SD reader. How can I gain this information? bacnet@gb-f75466e7-b8e8-4706-...
0
votes
1answer
381 views

Rescue data on a bad micro sd card

I have a micro SD card that was damaged, when putting in the reader of my computer, I got this [65850.877706] mmc0: unrecognised CSD structure version 2 [65850.877719] mmc0: error -22 whilst ...
4
votes
3answers
554 views

Why does a gunzip to dd pipeline slow down at the end?

my command: gunzip -c serial2udp.image.gz | sudo dd of=/dev/mmcblk0 conv=fsync,notrunc status=progress bs=4M my output: 15930949632 bytes (16 GB, 15 GiB) copied, 1049 s, 15.2 MB/s 0+331128 ...
0
votes
0answers
39 views

SD card corruption detection

Is there any way I can detect the SD card corruption at run time? I have a situation where in firmware upgrade is affected because of SD card issue, however it will be known only after the upgrade ...
1
vote
0answers
26 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
40 views

Can't format Samsung SD Card Android-Meta [closed]

I have a Xiaomi A1 with Android on it and I use my Samsung MicroSD Card Evo+ 129 GB, as as an internal storage. For no reason, it's stopped working and asking me to format it. The issue is, the ...
1
vote
0answers
133 views

kernel 4.18(rc3) doesn't boot “Gave up waiting for root device. ALERT! /dev/mmcblk0p2 does not exist. Dropping to a shell!” [closed]

I'm trying to upgrade kernel from 4.14 to 4.18-rc3 (yes, I know 4.18 was released, but I am using a manufacturer-specific branch (linux-sunxi)). Get boot error (edited for brevity): Gave up waiting ...
1
vote
0answers
68 views

Debian Image on SD card fails to boot correctly [closed]

Untarred and uncompressed a tarball which is debian stretch image on a SD card. It is a 16GB SD card. Before untarring the image to the SD card, I formatted and created a partition using fdisk on ...
1
vote
1answer
182 views

Mount SD media in read-write mode doesn't appear to work?

I have this in my /etc/fstsab: /dev/mmcblk0p1 /media/sd auto user,noauto,rw,x-gvfs-name=sd%20card 0 0 But when I try to write anything into the /media/sd: [mei@localhost Documenti]$ cp mare.odt /...
0
votes
0answers
41 views

Sheevaplug - sdcard slot - “unable to allocate bounce cur buffer”

Debian is booted from a USB hard drive. I don't normally use the SD card slot. When I plug in a card it works fine, but the kernel logs show a rather noisy message (I suspect this is associated with ...
3
votes
0answers
4k 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 * ...
4
votes
2answers
1k views

Unable to access/(auto)-mount SD card on Fedora 28

I am trying to access SD cards on Fedora 28, but do not have any success. System info is as follows: $ lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:...
0
votes
1answer
25 views

Expand linux partition over external sd card

I have linux installed on a laptop with only 32 GB SSD and I'd like to be able to add an SD card and extend the system so that that the internal SSD and external SD card are continuous. I'd like the ...
0
votes
0answers
36 views

React to a writing error

Hi there, I'm curently working on a debian system, this system (under Jessie) write datas to an SDcard really often, sometimes (i'm working on it but it is not the question here) the system is unable ...
1
vote
2answers
843 views

disk image without free space

I've an image of a bootable 16GB SD card. I've created the image with: cat /dev/sdd | gzip >sdcard.img.gz And I was happy because $ du -h sdcard.img.gz 482M sdcard.img.gz 482MB instead of ...
4
votes
0answers
182 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 ...
6
votes
1answer
1k views

Defining a state of a failed SD cards by kernel tracing?

I'm having a series of failing/sometimes failing SD cards. They either give one of the following dmesg outputs: The completely dead ones (don't list at /dev/mmcblk0): [ +0,000010] mmc0: error -110 ...
0
votes
0answers
223 views

no mmcblk device

The SD card (SD SanDisk Ultra 30MB/s UHS-I) of my camera Fujifilm XP200 is not appearing as mmcblk in lsblk neither in ls /dev/ lsusb shows that camera has been detected Bus 001 Device 006: ID 04lb:...
1
vote
0answers
92 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 ...
0
votes
1answer
265 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
484 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
1k 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
89 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
101 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
535 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 ...
1
vote
1answer
369 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
101 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
30 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
529 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 ...
1
vote
0answers
953 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
1k 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 ...