Questions tagged [sd-card]

Questions related to using Secure Digital (SD) card with Ubuntu machine, related issues, etc.

671 questions
93
votes
7 answers

How do I mount an SD card?

My computer has an SD card slot. When I put a working SD card into the slot, nothing happens. When I put a CD or DVD in, or plug in a USB drive, the medium is mounted and available. Is there something special I need to do for SD cards? Hardware…
lofidevops
  • 20,414
  • 30
  • 103
  • 166
83
votes
12 answers

How can I burn a Raspberry Pi image to SD card from Ubuntu?

I'm sure this must be fairly simple but can't find it here. How does one go from having a blank SD card to having an SD card that boots a Raspi?
Oli
  • 289,791
  • 117
  • 680
  • 835
82
votes
5 answers

SD card cloning using the dd command

I am trying to clone an SD card which may contain a number of partitions, some of which Ubuntu cannot recognize. Generally, I want to clone the whole volume, not only some partition. So, I mount the SD card and see something like this in the Log…
Alex F
  • 1,799
  • 5
  • 18
  • 21
58
votes
4 answers

Check real size of USB thumb drive

I recently read a lot about fake MicroSD card and USB thumb drives that claim to have a lot of space (even if you ask your computer), while physically offering way less. I recently bought a SanDisk USB drive (128 GB claimed) and want to test its…
verpfeilt
  • 2,844
  • 2
  • 27
  • 47
52
votes
3 answers

SD card reader not detected in Ubuntu 16.04

I recently upgraded to ubuntu 16.04 and my SD card reader is not working. The system does not detect the reader at all. The output of lsusb is fairly uninformative: lsusb Bus 001 Device 002: ID 8087:8000 Intel Corp. Bus 001 Device 001: ID 1d6b:0002…
51
votes
12 answers

MicroSD card is set to Read-only state. How can I write data on it?

I have a MicroSD card reader in my notebook. When I insert a MicroSD memory card into it, I can't write any data on it - it's read-only. The same thing happens when I try to do it under root. And I can't change the permission policy for it. This…
Angstrem
  • 645
  • 1
  • 6
  • 8
36
votes
2 answers

How to unload a kernel module which is in use?

I'm following this tutorial to get my card reader working: http://ubuntuforums.org/showthread.php?t=636867 However I'm unable unload my sdhci module: sudo modprobe -rv sdhci mmc_core mmc_block modprobe: FATAL: Module sdhci is in use. How should I…
Andreas Hartmann
  • 2,563
  • 7
  • 29
  • 46
32
votes
7 answers

WinUSB gives a exit code: 256

I have Ubuntu 14.10 with WinUSB and I have a Windows 8.1 Pro ISO with a 4GB SD Card with an empty FAT32 partition. Everytime I try to use it, it says "Installation failed, exit code: 256". How do I fix this?
kprovost7314
  • 387
  • 3
  • 6
  • 12
31
votes
4 answers

Is there an SD Card diagnostic utility?

Are there any SD Card diagnostic utility programs out there for Ubuntu? I would like to run tests on my SD card to check capacity, write speed etc. I have one for windows but I am looking for a Linux flavor and hope to find some source code.
Eae
  • 713
  • 2
  • 10
  • 14
29
votes
4 answers

How can I completely erase all data on a (micro) SD card?

I just got a micro sd card that I plan on using with the Raspberry Pi. I used the KDE partition manager to delete the original partition on the card and to write a new 12GiB ext4 partition. After doing this, the card still says that 6% of it, 30.02…
firephyz96
  • 401
  • 1
  • 5
  • 4
28
votes
5 answers

"Re-size" the .img for smaller SD-card. How to SHRINK a bootable SD card image

Context I have a 16 GB SD card with a Linux based OS for a Raspberry Pi. Most of the space is empty. I want to share the SD .img with other people but if I use the command dd if=/dev/sdXX of=/home/user123/SD.img it will create a 16 GB image. Too…
Leos313
  • 1,826
  • 3
  • 18
  • 31
27
votes
4 answers

How to mount sd-card image created with dd?

I have created an image of my Raspberry Pi SD-card using dd: sudo dd if=/dev/sdf of=/home/myusername/raspberry-backup-2014-04-10.img The SD-card includes two partitions (one vfat, one ext4) which are automatically mounted when I plug the card…
MrD
  • 723
  • 1
  • 7
  • 14
19
votes
3 answers

How to format/partition SD card?

How can I format or partition SD card in Kubuntu? Is there an application with GUI for this?
M.Sameer
  • 449
  • 2
  • 4
  • 17
17
votes
6 answers

Read-only SD cards

I've got an IcyBox USB hub/card reader combo in my computer, running Ubuntu 12.10. It's got an issue with SD cards. It always mounts them read-only, regardless of the write-lock switch. This is observed across many SD cards that otherwise work,…
TimD
  • 333
  • 1
  • 3
  • 8
16
votes
2 answers

Internal SD card reader not detected HP realtek RTS5227

I recently installed Ubuntu 14.04 on my HP Envy m7-j020dx. The only problem I am currently having is that the internal SD card reader does not seem to be detected at all. I have tried to find a solution using Google, but there was little to find on…
Adam
  • 487
  • 1
  • 3
  • 10
1
2 3
44 45