Questions tagged [sd-card]

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

0
votes
0answers
9 views

SD card mount Problem “ext4” -o “uhelper=udisks2,nodev,nosuid” “/dev/mmcblk0p2”

I was extracting one tar.xz file via my Raspberry SD card, so the process must be completed after a long time but when I wanted to unmount the SD card I get one error which one other program (the ...
1
vote
3answers
60 views

Writing to 2 SD cards at the same time

I would like to write an image at two SD cards at the same time. I envision at least two concurrent writing scenarios: Is it possible to write the image with a tee or similar bifurcating mechanism? ...
0
votes
2answers
21 views

Duplicating SD Cards: file system

As a followup to Replicating an SD card: If using the commands dd or `cat' as prescribed in the responses, does this remove the need to format the SD card?
0
votes
0answers
15 views

Measuring SD card read / write rates [duplicate]

I would like to compare the performance of the Targus USB SD device vs the laptop's SD card slot. An older Ubuntu laptop with an SD card slot is outfitted with an SD card slot. A Targus USB SD card ...
1
vote
2answers
44 views

dd: failed to open '/dev/mmcblk0p': No such file or directory in Raspberry SD Card backuping

I am trying to backup of my raspberry Zero SD card by this instruction, i also mention that my raspberry zero have connected to my PC (Linux LDME) by USB OTG port and using Pi Power supply both ...
-1
votes
1answer
57 views

Is dd on OS X the same as the UNIX version?

Although I considered asking this question in apple.stackexchange, my gut tells me the 'NIX crowd is more likely to produce a better response. In what ways is the dd (OS X version) command any ...
3
votes
2answers
105 views

Replicating an SD card

BACKGROUND An SD card has been configured for a Raspberry pi. The goal is to replicate the SD card exactly (OS, apps, data) so that the replica will function in a rPi exactly like the original \ ...
0
votes
1answer
36 views

How to flash code from external SD card to internal memory and boot the image? [closed]

With the ELB-REV4 board, which has both internal memory and an SD card slot, once my application works fine, I need to boot using an image on the external SD card image. I want to flash the complete ...
1
vote
0answers
49 views

Mint 19 - USB MicroSD not mounting [closed]

lsusb in Mint 19 shows the MicroSD device in a USB adapter when I attach it. It also shows up in "Disks" application, but with limited information (no capacity, no option for formatting, etc). Device ...
0
votes
0answers
8 views

clonezilla sd card

I am seeking to clone a raspberry pi micro-sd card to an identical micro-sd card. Questions: Is there any reason why this can not be done with clonezilla? If cloning is possible, are there any ...
0
votes
1answer
28 views

How to Mount an NTFS Formatted SD Card with pmount (or other tool)?

I wrote a script which transfers automatically pictures from the SD card (taken with a digital camera) to the harddrive and takes care of putting them in a subdirectory in the main pictures folder and ...
1
vote
1answer
96 views

GRUB isn't able to boot from SD card [closed]

I recently installed Windows To Go onto my SD card, which is working fine (when e.g. booting from it using a SD-USB-adapter). Unfortunately my Notebook (Medion Akoya E4253) is not able to boot from it ...
0
votes
0answers
26 views

Raspbian: Can't see newly created file in /boot on sd card

I am trying to copy a file from the boot directory for a rasbian image in it's boot directory. I would like to write once to the sd card and not have to run rasbian for the file to be in the /home/pi ...
0
votes
1answer
55 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
42 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
38 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
261 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
235 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
43 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
15 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
125 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
242 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
111 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-...
1
vote
0answers
90 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) ...
3
votes
0answers
346 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
360 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
72 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
68 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
27 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
20 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
491 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
717 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
47 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
30 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
47 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
143 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
75 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
256 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
45 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
5k 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
2k 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
39 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
1k 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
246 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 ...
1
vote
0answers
108 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 ...