Questions tagged [sd-card]

SD (Secure Digital) cards and their associated SC/HC/XC technologies are the primary storage medium for the Raspberry Pi. The Pi Models A and B use SD Cards, and new models use Micro SD. SD cards are non-volatile flash memory.

Filter by
Sorted by
Tagged with
301
votes
17answers
416k views

How do I backup my Raspberry Pi?

I have been writing programs for my Raspberry Pi (running Raspbian) for a few weeks now and would like to make sure I protect the work I have done. How can I backup the files I have created? Can I ...
255
votes
14answers
152k views

How can I extend the life of my SD card?

I'm not all that keen to buy a USB hard disk, but I'm aware that SD cards aren't suitable for many repetitions of reading and writing. Are there any steps I can take to extend the life of my SD card ...
172
votes
5answers
334k views

How can I resize my / (root) partition?

Even though my SD card is 16GB, the image I flashed onto it was only 2GB and now I can only see 2GB of storage space on the disk. How can I resize the image so that I have more space on my root ...
123
votes
8answers
732k views

How can I reformat my SD card to use it normally again?

I wish to reformat my SD card to use normally again (it currently has one 78 MB FAT32 partition and one 3.9 GB Linux partition). How do I do this (on Windows/Mac/*nix)?
66
votes
2answers
129k views

Which SD cards are compatible?

The site http://www.raspberrypi.org/quick-start-guide says: You will need an SD card with an operating system preloaded before you can boot the Raspberry Pi. A brand-name (not generic) Class 4 ...
47
votes
5answers
131k views

How do I install an OS image onto an SD card?

I have just ordered my Raspberry Pi, and I want to prepare my SD card. How do I install an OS image onto an SD card?
47
votes
11answers
62k views

How can I prevent my Pi's SD card from getting corrupted so often?

I get an I/O error at boot and then get this 'error': (I am running the latest version of Raspbian) Entering kdb (current=0xca82ac80, pid 1) due to keyboard entry kdb> _ And I have seen it before,...
46
votes
5answers
79k views

What's the maximum SD card size that the Raspberry Pi will accept? Do larger cards give slower performance?

On my digital camera, I noticed a performance decrease when I used a larger card; will this happen with the Raspberry Pi too? What's the maximum sized SD card it can handle? I see there is ...
41
votes
4answers
15k views

Is it possible to dual boot from the SD card?

Say I wished to have Debian Squeeze and Arch Linux ARM on my SD card. Would it be possible to dual boot from Grub?
39
votes
5answers
17k views

How can I determine when an SD card needs replacement?

Is there a way to estimate the lifetime of a SD card? If not, is there a utility I can use that monitors its integrity and reliability so I know when to use a new SD card?
32
votes
1answer
70k views

“Resource busy” error when using `dd` to copy disk img to SD card

I've downloaded Raspbian wheezy from the Raspberry Pi downloads page and following the RPi Easy SD Card Setup wiki page. I formatted the SD card, and cded into the folder containing the Raspbian img ...
28
votes
9answers
145k views

Writing .img file to SD Card from a Mac

I want to burn a .img file of Wheezy OS to my 8GB SD Card from Mac OS X but can't figure out how. Any help would be appreciated.
28
votes
6answers
27k views

What is a typical boot time for the standard Debian distribution on a typical SD card?

How long does the RasPi take to boot when using the standard Debian distribution on a typical SD card? Are we talking less than a second? A couple of seconds? 10 seconds? 100 seconds? This isn't too ...
28
votes
2answers
4k views

Why is very little capacity available on my 8GB SD card?

I'm using an 8GB SD card and installed Raspbian which is 3.9GB large. I suppose that about 4GB should be available, but it isn't. When I type 'df -ah' on my Raspberry pi, it shows Only 65MB is ...
27
votes
6answers
164k views

Kernel panic-not syncing: VFS: unable to mount root fs on unknown- block(179,6) running Raspbian on top of NOOBS

When booting, the sequence stops at the following: Kernel panic-not syncing: VFS: unable to mount root fs on unknown-block(179,6) What can I do to get my Raspberry Pi 2 to boot again using the ...
26
votes
5answers
50k views

Is my Raspberry Pi permanently damaging SD cards?

My Raspberry Pi was running fine for two months. Then some files in /usr/bin got corrupted and there were many errors on reboot. I tried to write a fresh image but dd would block and do nothing. ...
25
votes
9answers
43k views

Copy existing Raspbian installation to smaller SD card

Is it possible to copy an existing and configured Raspbian installation to a smaller SD card? When I first installed Raspbian I only had a 32 GB card at hand which obviously is bigger than needed.
24
votes
1answer
36k views

Possible to connect SATA device to the SD slot?

I have been searching around for a cable which could be used to connect a normal hard-drive (SATA) to the SD slot, and therefore get a lot more storage without having to go via the (comparatively slow)...
23
votes
2answers
86k views

How to get remaining memory in SD Card?

I have 16 GB SD card where I installed Raspbian using Win32 Disk Imager. After burning the image in Windows it shows only around 40+ MB of free space. Since Raspbian image is around 2 GB where is ...
23
votes
11answers
32k views

How can I copy the same image to many SDs?

So finally I can place that bulk order for Raspberry Pis! However, configuring them is going to be a chore. What I'd like to do is: Download a stock image, and tinker with it on a single Pi Save/...
23
votes
4answers
23k views

Why is my SD card slow?

My SD card seems to be running slow. I have an ADATA 16 GB SDHC Class 10 card. I checked the compatibility list which lists a card with similar specifications, and it states that it is "working". Even ...
22
votes
1answer
538 views

Do I need to buy an SD card with an OS preloaded on it?

I finally got accepted to place a pre-order, and one option to "add" is the OS on the SD card preloaded. Is this needed, or can I download the OS elsewhere? Could I just put on my own version of Linux ...
20
votes
5answers
46k views

How to make an image (.img) from what's on the SD card (but as compact as the original one)?

I tried: sudo dd bs=4k if=/dev/mmcblk0 of=/media/1BAB47551C66A42B/raspbian_migs2.gz It creates an .img file with 7.6 GB (card size, BUT what's on the card has 700 MB). And: sudo dd bs=4k ...
20
votes
6answers
24k views

Running on read-only SD card

I have setup the Raspberry Pi to run XBMC, and I want it to boot up to always play a playlist and files on the SD card. I have turned off the Raspbmc automatic update. It still runs okay when I ...
20
votes
2answers
14k views

How do I transfer my setup between SD cards?

I started out with a 2GB SD card, but I'm finding this a bit cosy, so I've bought a 16GB card to replace it. With a single Pi, can I transfer all my work between the cards, or do I need to start from ...
20
votes
4answers
22k views

Easiest way to return to a known good state when overclocking

If I try to overclock my Pi, I want to go up to the point where the Pi won't boot anymore, or won't be stable enough. At this point, I want to come back to the latest known good settings for the /...
20
votes
4answers
53k views

Copy current SD image to larger SD card

So I got my new pi and the only free SD I had was 2GB. I couldn't hold off playing with it so it had to do for the time being. I loaded raspbmc and then spent time loading repositories, add-ons and ...
19
votes
6answers
15k views

Is it true that I should not use a Micro-SD card with a SD size adapter?

I have read somewhere that I should not use a Micro-SD card (with an adapter) for the main storage & OS boot of my Raspberry Pi. Is it true? Why?
19
votes
2answers
14k views

Raspberry Pi SSH login slow

I have raspberry Pi model B whith raspbian OS which has been working well for 2-3 months and since last week I've noticed that every time when logging in ( over ssh ) when inputting username there is ...
19
votes
7answers
39k views

Raspberry Pi 2 - Are 64GB UHS-I Class 1 SDXC cards supported?

Raspberry Pi 2 - Are 64GB UHS SDXC cards supported? I'm using a 64GB Hama UHS-I SDXC card formatted with the SD Card Formatter 4.0 with NOOBS 1.4 on it. It doesn't seem to want to boot. I have both ...
19
votes
1answer
6k views

How can I use a USB HDD to extend the life of my SD Card?

How can I set up a USB HDD to extend the life of my SD Card and maximize the performance of my Raspberry Pi? Related: How can I extend the life of my SD card?
19
votes
4answers
4k views

Creating a pre-prepared SD card image

For a project I'm working on I'd like to create a "stock" image based on Raspbian that I can install on many Pis. Ideally I'd like to be able to (on my computer) take the Raspbian image, apt-get ...
19
votes
3answers
17k views

Filesystem corruption on the SD card

If I use the Pi a bit, filesystem corruption soon appears. For instance, this file was changed to another one: $ ls -alt /etc/apt/apt.conf.d total 16 lrwxrwxrwx 1 root root 13 Oct 2 22:18 ...
18
votes
4answers
36k views

Image of a 16Gb card containing unpartitioned space at the end: Truncating possible?

I wanted to prepare a distro for some friends. As I didn't have anything else lying around, I used a 16Gb SD card. I started with the default Debian Weezy 2Gb image and did not do any resizing. Now, ...
18
votes
3answers
119k views

How can I reset to the factory settings?

I was playing around with my Raspberry Pi and I accidentally bricked it! How can I restore it back to the factory defaults?
18
votes
7answers
9k views

Can I use Eye-Fi Wi-Fi SD card?

The Eye-Fi is a class 6 SD card with 802.11n Wi-Fi capability built in. This would be a nice way of adding wireless network connectivity to the Raspberry Pi. Is there a way of doing this ?
17
votes
4answers
20k views

Maximum, demonstrated SD card durability

UPDATE: I was able to solve this problem years ago, but for anyone reading this in the future, the durability problems turned out to be related to flaky power supplies. --- Original question --- I'm ...
17
votes
1answer
3k views

Which (currently) compatible SD Cards have wear levelling?

This question asks Which SD cards are compatible? This answer describes the advantages of getting an SD card with wear levelling to extend the life of the card. How can I find out which of the ...
16
votes
3answers
64k views

How to tell how much memory is left on the SD card?

I have a raspberry pi, I've downloaded quite a few extras on it. I would like to be able to check how much memory I have left on my SD card. Is there a command that tells you memory available? Is ...
16
votes
6answers
36k views

What speed of SD card is better?

I have to bought a SD card for my raspberry pi. It is better to have a huge writing speed (like 95 MB/s) or it is not so important and I can buy slower SD (30 MB/s or 45 MB/s) ?
16
votes
1answer
20k views

How do I create and mount a partition using the remainder of my SD card?

I have seen instructions for resizing the partition here, but how do I create a whole new partition using the remaining space, and then mount it?
16
votes
3answers
21k views

Can different raspberry pi models share SD cards?

Can I use a SD card from another Raspberry Pi (say a Raspberry Pi 2) on another raspberry pi model (say a Raspberry Pi Zero)? Note I am NOT referring to the same model! I am referring to DIFFERENT ...
15
votes
3answers
96k views

How to clone Raspberry Pi SD Card on Windows, Linux, and macOS? [duplicate]

I want to make a back up of my raspberry pi because I have done a lot of work and repeating the process would take a lot of time. How does one go about making an image of a Raspberry Pi SD card for ...
15
votes
5answers
60k views

Raspberry Pi 3 micro SD card speed

With the new Raspberry Pi 3 out, is the speed of the bus still limited to around 20 MB a second? I am looking to purchase a micro SD card in it and I am not sure if I should spend the extra amount ...
15
votes
2answers
19k views

How to gain remote access without a Monitor or TV? [duplicate]

Possible Duplicate: Prepare for ssh without a screen I just booted my Raspberry Pi for the first time and can not gain remote access. My Pi runs the recommended Debian image found at the ...
15
votes
4answers
35k views

Won't boot after removing and inserting the SD Card?

I've installed Arch Linux on my SD Card with Win32DiskImager. If I shut down the RPi, remove the card, insert it, and start the RPi again, everything works fine. But if I do full system update in ...
15
votes
4answers
14k views

Raspberry Pi fails to turn on

I have a problem with my Raspberry Pi. When I plug in the power, the device fails to power on. The POWER LED turns on, but nothing else happens. My display still says No signal, the OK LED does not ...
15
votes
2answers
4k views

After writing an SD card image, is the remaining space usable?

Forgive me if this is basic, because I'm used to writing CD images, I'm not sure how this works. The Raspbian image is about 440MB (zipped at least). If I write the image onto a 16GB card, will all ...
15
votes
5answers
2k views

Strategies to deal with unpredictable power supply

I want to install a Pi in my car and use it to record GPS data. What strategies (in my program) can I follow to minimize problems due to power being interrupted when writing to the SD card? So far I ...
15
votes
1answer
4k views

Why does the SD card random write performance for record size 8-128 kB drops below the performance of record size 4 kB?

When I check the performance of SD cards for random write, I can see the performance is quite bad for record size 4 kB (this is not surprising) but then for several cards it even drops for larger ...