All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1
votes
1answer
58 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 ...
0
votes
0answers
28 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
49 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
285 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
45 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
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
545 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
855 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
51 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
49 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
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 ...
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
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 ...
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 ...
1
vote
1answer
269 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....
3
votes
1answer
779 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 ...
2
votes
1answer
751 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` ...
5
votes
1answer
269 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
237 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 ...
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 ...
1
vote
0answers
77 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 ...
8
votes
2answers
10k views

Linux - couldn't mount RDWR because of unsupported optional features (400)

I try to run Android from SD-card. This card is prepared. There are partitions: boot(FAT32), rootfs(ext4), system(ext4), cache(ext4) and usedata(ext4). Boot partitions has files to run u-boot: MLO, u-...
1
vote
1answer
352 views

linux: Class10 SD card different device and block device size

A have a brand new 16GB class 10 SD card and produce a very strange behavior. After I attached the the card with an USB SD-Card reader, the device appeared as /dev/sdb. I tried to copy a 2GB raw image ...
3
votes
1answer
550 views

Wear leveling of SD card because of swap file in embedded linux

I need to enable a swap file on my embedded linux product. The problem is that the file is located on an SD card. At the moment I'm using 15MB swap and about 120MB RAM because of temporary increases ...
6
votes
1answer
11k views

Formatting an sdcard with mkfs hangs indefinitely

I am trying to format an sdcard following this guide. I am able to successfully create the partition table, but attempting to format the Linux partition with mkfs yields the following output: mke2fs ...
5
votes
1answer
2k views

Cannot reformat Micro SD Card

I need to reformat my micro SD card, however I am having some issues with it. When I go the card on my computer, it displays the following message: The folder contents could not be displayed Sorry,...
0
votes
2answers
483 views

converting partition on the SD card to FAT

I created partitions on the SD card with: sudo mkfs -t vfat -n ZED_BOOT /dev/sdb1 sudo mkfs -t ext4 -L ROOT_FS /dev/sdb2 The consule shows the commands went through ok, but when I report the ...
0
votes
1answer
470 views

Embedded linux hotplug changed mount point

I have a linux media player that was very common before android's age. It is a MIPS running Linux Venus 2.6.12.6 and has 2 sata, 2 usb and 1 sdcard port. Since the flash memory is very limited, I ...
1
vote
3answers
170 views

Installing Linux on an SD card

I was wondering if it was possible to actually install a Linux distribution on an SD card or any other external drive. What I was planning to do was basically inserting the SD in my MacBook, turning ...
1
vote
0answers
516 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 ...
2
votes
0answers
304 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 ...
0
votes
2answers
656 views

SD-Card doesn't work anymore

I have a SD-Card and it doesn't work anymore. If I enter dmesg, this console will show this: [ 646.467407] mmc0: new SD card at address d555 [ 646.468578] mmcblk0: mmc0:d555 SD032 30.6 MiB [ 646....
1
vote
3answers
3k views

My SD card has a partition but Linux doesn't create a device entry for the partition

OK, I don't know what's going on here, at first I thought it was a problem I remember having some time ago where I couldn't mount a vfat partition because it had some flag set that it had not been ...
2
votes
2answers
345 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 ...
1
vote
1answer
1k views

Unable to mount F2FS partitions

I installed the f2fs-tools package in my Fedora system. I created a f2fs partition using mkfs.f2fs on my sdcard, but now I'm unable to use it. The system is unable to mount automatically nor manually ...
2
votes
1answer
6k views

Can't mount SD card - Wrong filesystem

Just bought a SanDisk microSDHC 8Gb card and tried to change the file system to ntfs (used cfdisk thru terminal). Couldn't mount the device. Tried to change back to FAT32, but still can't mount. ...
3
votes
1answer
729 views

Differences between dd in Mac OS X and Linux

When using Linux (Debian), I often use dd to copy a disk image to an SD card. I have written a script that throws an error if the device file specified in the "of" option is too large. This keeps me ...
2
votes
1answer
3k views

Card reader doesn't work on Linux [closed]

The system detect my SD card but I can't mount it. This is the lsblk: my@my-N61Jq ~ $ lsblk sdb 8:16 1 29,3G 0 disk and the lsusb: my@my-N61Jq ~ $ lsusb Bus 001 ...
4
votes
1answer
7k views

mounting a SD card without a partition

I try to mount a SDHC card under GNU/Linux. Unlike what happens usually, /var/log/syslog doesn't mention sdb1, just: Jul 26 16:07:53 xvii kernel: [ 159.404842] scsi 6:0:0:0: Direct-Access Singim ...
0
votes
1answer
2k views

Recommended partition size of SD card for Ubuntu for BeagleBone black [closed]

I am using 16GB SD card for building Ubuntu from scratch for BeagleBone Black. So, I have to make two partition of my SD card, one for Rootfs and second one for Zimage and other stuff. Initially I ...
1
vote
2answers
9k views

Locating the /dev entry to make partitions on an SD card

I am trying to create partition of SD card, for this I am following this tutorial. When I type the command ll /dev/mmcblk* I got this ls: cannot access /dev/mmcblk*: No such file or directory So,...
3
votes
1answer
2k views

btrfs on SD card, what does “Btrfs detected SSD devices, enabling SSD mode” mean exactly?

I'm experimenting with using btrfs on my Debian Linux armhf system. The rfs is on a micro SD card. On bootup I get the message "Btrfs detected SSD devices, enabling SSD mode". What features does ...
8
votes
2answers
1k views

File system that never breaks (data loss acceptable)

There're several existing topics revolving around this issue, but what I seek is slightly different. I have an SD card on an embedded Linux and it suffers from power loss. I might be able to modify ...
1
vote
0answers
627 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 ...
19
votes
4answers
10k views

Stress testing SD cards using linux

I got into a little debate with someone yesterday regarding the logic and/or veracity of my answer here, vis., that logging and maintaining fs meta-data on a decent (GB+) sized SD card could never be ...
3
votes
1answer
3k views

mmcqd hangs and burns the CPU on the embedded device

On my embedded system I'm writing an intensive video stream to SD. I don't mount partitions, just write to /dev/mmcblk0p1. After a while my writing process hangs. I get [16952.240000] INFO: task vrec:...
4
votes
1answer
3k views

Risks involved with lazy_itable_init=1 for ext4 fs on SD card

My setup is the following: Linux kernel 2.6.28 e2fsprogs 1.42.7 64 GB class 10 SD card I am attempting to speed up the time it takes to format the entire card to an ext4 filesystem. My research ...