Questions related to using Secure Digital (SD) card with Ubuntu machine, related issues, etc.
Questions tagged [sd-card]
682 questions
99
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
- 2,009
95
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
- 21,912
90
votes
13 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
- 299,380
63
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,962
54
votes
13 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
- 675
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…
MGN
- 779
46
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,783
36
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
- 763
34
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
- 2,064
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
30
votes
5 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
- 411
- 1
- 5
- 4
29
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
- 793
- 1
- 7
- 17
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
17
votes
1 answer
How to write a .iso file to an SD card?
Unetbootin does not recognize my SD card.
Is there any alternative software to write a .iso file to an SD card?
I'm not trying to write a Ubuntu .iso, so Startup Disk Creator wont work..
user133173
- 171
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