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

learn more… | top users | synonyms (1)

12
votes
6answers
970 views

Is it a bad idea to use an SD card for home directory?

I'm planning to make an SD card (or a flash drive) my home directory so as to be able to work on different PCs without much hassle. Is this a bad idea for some reason?
10
votes
4answers
2k 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 ...
7
votes
4answers
3k views

Safely use SD cards when power can go out at any time

We're working on a small embedded Linux system (2.6.35-ish) with a smallish internal NAND device for the OS and applications (250-500Meg) and an SD card with 8Gb SDHC SD cards for data. The unit's ...
7
votes
1answer
3k views

How can I check the condition of an SD card?

How can I check the health condition of an SD card? When I want to check a hard drive, I can use SMART, how should I check an SD card? Is there a universal approach?
7
votes
3answers
545 views

Best file system for removable media

Recently I had a SD card destroyed ( software wise ) on me. Basically as well as I can figure it out, all the metadata was wiped (ext4 card). This happened when I was working and suddenly had to write ...
5
votes
1answer
1k views

Eye-FI SD Card not working with inbuilt card reader

I am tring to get my cardreader to work with and eye-fi SD card. My System is as follow: #uname -a Linux computer 3.2.0-0.bpo.2-amd64 #1 SMP Thu Mar 15 20:46:44 UTC 2012 x86_64 GNU/Linux Debian ...
4
votes
2answers
7k views

Trouble getting busybox switch_root to work

I'm working on an embedded ARM Linux system that boots using initramfs. (Here's some background from a couple earlier questions, if you're interested.) So far, thanks in part to help received here, I ...
4
votes
1answer
30 views

dd, seek with one block size, write with another block size

Background Info: Copying some .bin files to an SD card (to be read by an embedded device, no filesystem) Commissioning the card requires some segments to be wiped (i.e. zero'd), and others to have ...
4
votes
2answers
252 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 ...
3
votes
2answers
1k views

Utility to TRIM unallocated space on drive

I have a drive (SD card) with a few ext4 partitions but also some unallocated space. The fstrim utility can only work within a filesystem. Before I reinvent the wheel and write one, is there another ...
3
votes
2answers
2k views

SD card not accessible (works in an old Nokia though)

Background I have two visually same 2GB microSD cards, both labeled "SD-C02G JAPAN", under the "2GB microSD" logo. My problem is that I can't read one of them in any device except an old Nokia 5310 ...
3
votes
1answer
333 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 ...
3
votes
1answer
72 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 ...
3
votes
1answer
521 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 ...
3
votes
1answer
285 views

How can one force a re-scan of an SDIO bus from Linux user space?

On an embedded Linux platform, I have a network adapter attached to an SDIO interface. There is no Card Detect signal on this particular bus. If for instance, I turn the network adapter power on or ...
2
votes
2answers
155 views

dd to clone to smaller sdcard

One of my Raspberry Pi's is using a 4GB SDcard for the root/boot filesystem. As seen when mounted on another system: Disk /dev/sdc: 3904 MB, 3904897024 bytes 121 heads, 62 sectors/track, 1016 ...
2
votes
1answer
5k views

extending a partition by resize2fs

I have a 4 GB SD card. Before the image load root@ubuntu# fdisk -l Disk /dev/sdb: 3965 MB, 3965190144 bytes 49 heads, 48 sectors/track, 3292 cylinders, total 7744512 sectors Units = sectors of 1 * ...
2
votes
1answer
947 views

Installing Ubuntu/Debian on 16 GB SD Card

Is it possible to install Ubuntu/Debian on my 16 GB SD Card ? Do I just during installation process chose my SD Card partition and install it (that doesn't work if we have USB) or do I need to install ...
2
votes
1answer
167 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 ...
2
votes
1answer
36 views

How to prepare a new MicroSDXC card for use with Android?

After buying a 64 GB MicroSDXC card and plugging it into my Android phone, it wasn't recognized. What do I need to do to use the space on this device? Many articles suggest installing closed source ...
2
votes
1answer
551 views

Chrubuntu on Acer C7: SD card reader only works on AC power?

I have an Acer C7 chromebook on which I have installed Chrubuntu. Everything works great except that the SD card reader doesn't work when the computer is running from battery power. It recognizes the ...
2
votes
1answer
88 views

How to write isolinux to an ext4 filesystem

How would I write isolinux to an ext4 filesystem on an 1 GB SD card so that it would boot at startup?
2
votes
1answer
707 views

SD card reader on Linux: SPI or SD protocol underneath

I've a notebook with a SD card reader and I was wondering if the GNU/Linux driver is using the SPI protocol or the proprietary SD protocol (one or four bits). I'm asking this because I'm testing a SPI ...
2
votes
1answer
384 views

Realtek RTS5209 PCI-E Card Reader only work if card is inserted before boot

Hardware Info Laptop Model: Sony Vaio Pro 13 Problematic Hardware: Bulti-in Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader Problem description Here is the problem, if I boot with ...
2
votes
1answer
988 views

Resetting MMC controller without physically removing the card?

I'm trying to rescue data from an SDHC card using ddrescue: while true ; do ddrescue -d /dev/mmcblk0p1 mmc.img mmc.log ; done The controller, I'm not sure if it's the one on the card or the one in ...
2
votes
1answer
2k views

Why is my SD card not being recognized?

I'm using Lubuntu 11.10 on a VAIO notebook. Here is my uname output: Linux vaio 3.0.0-16-generic-pae #28-Ubuntu SMP Fri Jan 27 19:24:01 UTC 2012 i686 i686 i386 GNU/Linux I don't know why but today ...
2
votes
1answer
1k views

Linux 2.6.32, busybox, Identify physical SD device

I have a USB card reader with two SD card interfaces and two USB ports (so it can also act as a USB hub) all on the same device. I am running an embedded Linux device that is unsupervised in its use ...
2
votes
0answers
35 views

mkfs.ext4: Discarding device blocks: failed - Input/output error

I am trying to format my new SD card, using following command; mkfs.ext4 -O ^has_journal /dev/mmcblk0p2 and I get following error: Discarding device blocks: failed - Input/output error I don't ...
2
votes
1answer
260 views

How to make sd card as default boot in uboot?

U-Boot 2013.07 (Nov 21 2013 - 18:12:40) Memory: ECC disabled DRAM: 1 GiB MMC: zynq_sdhci: 0 SF: Detected N25Q128A with page size 64 KiB, total 16 MiB In: serial Out: serial Err: serial Net: ...
2
votes
0answers
110 views

Set PERM_WRITE_PROTECT on an SD card

From what I read here and here I gather that there is a bit on SD cards called PERM_WRITE_PROTECT that will allow me to make an SD card read only. Is it possible to set this bit from Linux? If so, ...
2
votes
1answer
317 views

sfdisk failing to write partition to disk [closed]

I am trying make my microSD card bootable to Ubuntu. I am trying to use sfdisk to create the partitions. When I do that this is the error I am getting: Using sfdisk to create partition layout ...
2
votes
0answers
498 views

How to check/test internal card reader speed

I got new SD card claimed to be 10 class of speed, but internal Disk utility in linux after test showed up only 6th class of speed. How can I check my card reader speed to be sure that it's not the ...
1
vote
1answer
140 views

What actually happens when the checksum fails for a file using btrfs?

I'm testing using btrfs on my embedded Linux system. It uses a uSD card for the rfs. This system is remotely deployed so there's no human sysadmin to take care of it. My question is what happens ...
1
vote
2answers
551 views

How to write to SD card with dd command?

Having some trouble with writing to my SD card, burning NOOBS (New Out Of Box Software) software to my SD card for Raspberry Pi. Attempted to use the following command as root: # dd bs=1M ...
1
vote
2answers
269 views

Extract TAR to SD-Card and verify contents afterwards

We currently extract a TAR archive to a SD-Card like this tar xf ${ROOT}/rootfs.tar -C /cynox/${DRIVE}/${TARGET} As a side note: The rootfs.tar contains files for an embedded Linux system. Some of ...
1
vote
1answer
3k views

How would you install the RTS5139 Card Reader driver for use on Fedora 19

Is it possible to install the rts5139 driver in Fedora 19 3.11.8-200.fc19.i686.PAE kernel ? I have a Lenovo G570 laptop, on which I run Fedora 19 (3.11.8-200.fc19.i686.PAE kernel) on one hard disk, ...
1
vote
2answers
115 views

How do I enable kernel option MMC_UNSAFE_RESUME

I am trying sleep and wake up my Kobo Mini ebook reader manually by using the command rtcwake. The reader is using busybox. cat /proc/version gives me this output: Linux version 2.6.35.3-850-gbc67621+ ...
1
vote
1answer
450 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 ...
1
vote
1answer
936 views

SDcard support in Linux for ENE Flash UB6250 card reader (found on Acer Aspire One 522)

I have an Acer Aspire One 522 netbook for which I want to get the SDcard reader working, but I'm having trouble getting it to recognize the SDcard after it is inserted. I use Slackware and always ...
1
vote
4answers
11k views

SD card corrupt and stuck at 32MB, any way to fix it?

Using the Linux area since I'm using Linux apps and utilities. My phone crashed (several times) and managed to corrupt my microSD card. It no longer appears to have partitions and shows as 32MB ...
1
vote
1answer
22 views

Space Problems? [closed]

I just got a new SD card for my pi. Trying to install node.js, I ran out of space (I've also recently installed a LAMP server system). But, when I plug it into my main (Windows-Ubuntu dual-boot) ...
1
vote
1answer
62 views

Make an SD card to boot the distribution image created with Yocto

I have managed to build images for my own compiled Linux kernel source code using Yocto. Yocto has produced image files according to: ...
1
vote
0answers
45 views

How do you hide “Generic USB SD Reader” in nemo file manager when a card is not present?

I'm running Linux Mint 16. I have a external card reader that has CF, MS, SD, and SM readers in it as well as 3 USB ports. Is there a way to hide the card reader ports from nemo's my computer when ...
1
vote
1answer
117 views

Raspbian migrating to bigger SD card

As I was running out of space on my Raspberry PI, I picked up another SD card. The 'old' card was only 4GB, the new one is 8GB. I made an image with Win32DiskImage and wrote this to the 8GB card. ...
1
vote
0answers
86 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 ...
1
vote
0answers
442 views

Recovering files from partitions at a corrupted SD card?

I got a problem with my SD card which had got Raspbian. Everything seemed to be ok while working with the raspberry. I inserted it to my laptop running Ubuntu 12.04.4 to fetch some files. It first ...
1
vote
0answers
503 views

Alcor Multi Flash Reader Arch Linux

OS: Arch Linux Hardware: Toshiba S55 lsusb -v Bus 001 Device 004: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader Device Descriptor: bLength 18 bDescriptorType 1 ...
1
vote
0answers
699 views

Linux Mint not detecting microSD card

I have a microSD card in my Android device and I would like to plug it into my computer to change the music and collected photos. However, I'm not able to do this. The OS does not seem to even notice ...
1
vote
0answers
414 views

USB SD card reader recognized with lsusb but no storage device shown with lsblk

I have a 2GB Micro SD card and a USB card reader. When I run lsusb I can see the card reader is recognized, but when I run lsblk I see no additional storage devices. [lane@Lane-ArchSystem 19:38:08 ...
0
votes
1answer
346 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 ...