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
0
votes
1answer
54 views

Will linking the clock file to an in-memory file lower the wear on the SD card?

I use systemd-timesyncd, which writes a status (probably) to a file at every synchronization. As the Arch documentation mentions, The service writes to a local file /var/lib/systemd/clock with ...
4
votes
4answers
6k views

Is there a way to compress a backup of the RPi because the backup has empty space?

I did a backup for my RPi (64GB microsd card) and it saved the entire 64GB worth .img file... while theres only ~14GB worth actual data, the image file accounts also for that empty space. Anyone know ...
0
votes
3answers
126 views

Creating an image file from an SD card

I have a Raspberry Pi distribution on a bootable 32 GB SD card. What I would like to do, is the following: Shrink the partition to 4 GB (that's the size of the data on the card). Create an .img file ...
-3
votes
1answer
172 views

software copy protection in raspberry pi [closed]

i need to ensure that even if my executable C/C++ codes are copied to another raspberry Pi (dumping the SDcard), they will not run there. what are the possible ways to do this. Update: adding "PI ...
2
votes
7answers
9k views

Backing up SD card generates a huge .img file

I am trying to back up a 16GB SD card as it is proposed here: How do I backup my Raspberry Pi? I have started with 2017-01-11-raspbian-jessie-lite.img and then did some work with FFmpeg (cloned & ...
0
votes
0answers
24 views

micro-sd-card will not stay in. How can I rectify

The micro-sd-card will not stay in by Pi. It is pushed out by the spring. I think that the latch must be broken. Is there a way to fix it, so that the SD-card stays in? Model: Raspberry Pi 2 Model B ...
3
votes
2answers
417 views

RPi doesn't work after formatting SD card

I have working with Raspberry Pi for the last month. I tried to downloaded the OpenCV library today and I noticed that the SD card is only using 2GB out of 8GB so stupidly, I tried to reformat my SD ...
9
votes
5answers
26k views

How can I reduce the writing to log files

A common worry of Raspberry Pi users is the wearing out and destruction of their SD card (which have limited write cycles) by too many writes. The experience reported by users supports this assumption....
0
votes
2answers
2k views

read only Raspbian and microSD partitioning

is it true that if I set Raspbian as read only I can prevent any microSD corruption due to power faults, so that I can simply unplug the battery instead of the clean "Menu > Shutdown"? if it is true ...
14
votes
7answers
45k views

How to get a good overview over used space?

Is there a command line package/application to get a good (maybe visual) overview over the free/used space left on Pi's SD-card. ls -lh is nice but it does not show me how much space the content of a ...
3
votes
4answers
7k views

SD card cloning: 32GB to 16GB SD card?

I have configured by raspberry pi as a wifi access point using a 32GB SD card, and installed postgres. I would like to clone the SD card (from my mac) to smaller size SD cards (like 16GB, or ...
0
votes
4answers
1k views

Is there a way to backup an entire SD card?

I am using a Win7 machine and a bunch of Pis. Some of them took weeks to configure. I would like to backup their SD cards in case they break. It should be backed up so that if it breaks I could simply ...
0
votes
1answer
26 views

Corrupted image file when using win32 [closed]

What things make the file is corrupted and not readable as an image file?! if the sd card is read-only, this prevent that I able to take a copy from it??!
2
votes
0answers
152 views

broken micro SD slot and super glue on sd card

After just a couple uses of my raspberry pi 3 B+, I saw that for some reason it wouldn't turn on. The problem, I found, was that slot for the micro SD card had fallen off. No matter how many time I ...
2
votes
1answer
269 views

Shut down standalone pi without access

I'm working on getting a pi connected to my wifi network (my first attempt failed). I don't have ethernet access, nor do I have a monitor and keyboard. When pulling the plug, I'm corrupting the ...
0
votes
1answer
46 views

Raspberry SD card port problem [duplicate]

I have problem with my Raspberry Pi 3 b+. I think the SD card slot is broken. I don't have a monitor, so I am using VNC viewer to remote my Noobs. I installed Noobs on my SD card, but when I plug it ...
0
votes
0answers
54 views

Pi don't connect to PC via USB (Etcher built two partision in SD Card) [duplicate]

I need to connect my raspberry Zero to my PC via USB (with my Linux LMDE ), Si i found this instruction. Firstly i downloaded the Raspbian Stretch with desktop version for my SD card and i use ...
2
votes
1answer
61 views

Release SSH Access without raspi-config

I would like to know if it is possible - and if so, how would you do it - release SSH access without the need to connect rpi and open raspi-config. I once heard something about creating a file / ...
1
vote
3answers
441 views

RPi3 cloned SD will not boot

I have a RPi3 B with an SD (16GB) created with balenaEtcher from '2019-04-08-raspbian-stretch-full'. I've cloned it, first with Win32DiskImager, and now with rpi-clone. It wouldn't boot in either ...
0
votes
1answer
21 views

SD card stopped booting the Pi, but format and re-image didn't fix it

I built a Raspberry Pi 3 B+ for someone, and it ran fine for several months. The user said they started having problems with it, and had to pull the power to fix it, and that this had happened ...
0
votes
2answers
247 views

How to recover files from pi SD card which can't boot

My SD card is not booting more. This is the error end Kernel panic - not sycing: VFS: Unable to mount root fs on unknown-black(179,2) I tried many wasy to boot it that are given on internet, no ...
1
vote
0answers
82 views

Cloned Raspi Zero W boots into Emergency Mode

I have a Raspi (3+) that for whatever reason I need to clone to use as a temporary backup for downtime later on. After realising the effort needed to recreate it from scratch, I cloned its entire SD ...
2
votes
0answers
144 views

loading additional sd card on raspberry pi zero w

hopefully this is the right place to ask this question.. I'm currently trying to add an additional micro SD card to a raspberry pi zero w. I am using the SPI1 interface with wiring as: sd pin rpi ...
3
votes
1answer
989 views

Where is my SQLite database location on RPi2 SD card (Windows IOT OS)?

My SQLite project is working on Raspberry Pi 2 (with all function insert, delete, update ..) but where are my SQLite database files located? I followed this way I found my SQLite database location on ...
2
votes
3answers
906 views

Shutdown properly when power-supply can't supply anymore

I've been through tags "power-supply" and "power" of this website and surfing on a lot more but I did not found any answers or information about the subject I'm about to talk about. So, I'm looking ...
0
votes
4answers
612 views

Unable to repair sd disk partition

I would like to fix a fsck problem I have on my sd card. I plug it on another RPI using an SD card reader and then I have tried to run fsck but with no success. It seems to repair it but if I run ...
0
votes
0answers
38 views

Strange Issues with Raspberry Pi Model 3 B+

I'm experiencing very strange issues with my recently acquired pi. It will only boot some of the time. I installed NOOBS, and through that Libreelec, which worked fine. Tried to install berry boot, ...
2
votes
1answer
1k views

How does one clear the bash history?

I have been trying to free up space on my full SD card. I've been wondering if one can clear the history in bash when one presses the up arrow. I have been unable to find a command that would enable ...
18
votes
4answers
37k 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, ...
0
votes
0answers
33 views

Could I have ruined my RPi 3's SD card by putting it in a tablet?

I have a Raspberry Pi B+ (2014) that was working great until I formatted an external hard drive, restarted the Pi, and ran into this issue with fstab. I tried putting the SD card in both an old Nook ...
2
votes
1answer
258 views

SanDisk Ultra SD Card with Raspberry Pi 3+ Suddenly Stopped Working (and is Overheated!)

It has been about a week since I booted into my Raspberry Pi. This evening when I booted it, raspberrypi.local could not be detected on the network. However the card was burning burning hot I ...
2
votes
3answers
2k views

View files on a Raspbian SD Card from a Mac?

Recently, my Pi 3 broke, and I had some important files on its Raspbian Stretch SD card. I would like to get these files off the SD card without buying a whole new Pi. Does anyone know a way of doing ...
0
votes
1answer
56 views

256 gb class 3 SD card stop booting

So I'm trying to understand whats going on. I have a raspberry pi 2+ it was working well with a 32 gb kingston sd card, 1 usb hub with 2 hard drives and a small touch screen. So I've decided to ...
0
votes
1answer
28 views

Etcher (process stopped due to power cut now what?)

I was flashing my SD card with rasbian using etcher. while validating 5% my computer turned off due to power cut now when I turned it on the sd card capacity shows 42 mb so I formatted it nothing ...
2
votes
1answer
926 views

Using Noobs on 8 GB SD card not using all space

I have been using Noobs to install Raspbian on a Raspberry B+. I can see that it doesn't use the whole 8 GB of my card. pi@raspberrypi ~ $ df -H Filesystem Size Used Avail Use% Mounted on ...
1
vote
2answers
3k views

What is the best way to copy the whole rasbian image?

I want to create a copy of my current raspberry pi image with all the data and programms so that I can flash it on another sd card and run it from there. I have following problems: For some reason ...
0
votes
0answers
30 views

Raspberry Shut down After trying to connect fan

I just bought a new Raspberry Pi 3B+ UK and was working with it for about 2 hours, and then when I was not at home, my son noticed that the CPU is hot and tried to cool it down with a normal 5V PC fan ...
5
votes
4answers
5k views

How likely is SD card corruption?

I was working on my Pi and accidentally disconnected it from power. I have read that disconnecting power while the SD card is being written to can cause SD card corruption. How often does that really ...
4
votes
1answer
6k views

How do I use Yocto to build an sdcard image for my Raspberry Pi 3 Model B?

Background I was starting to look at using Yocto as a system for building software images for the Raspberry Pi 3 Model B that I have. I wanted to try using Yocto as there are some projects at my ...
0
votes
1answer
103 views

SDFormatter / Windows Crashes When Inserting Raspberri Pi SD Card

I just received my first Raspberry Pi in the form of a CanaKit Starter Kit. I was able to install Raspbian just fine, but wanted to install RetroPie instead. Following some instructions online, I ...
0
votes
0answers
49 views

Raspberry Pi doesn't boot sometimes, turns off sometimes but a few minutes later turns off again

Hello I have the following problem, my Raspberry PI 3b+ doesn't start sometimes and when it does start if I do anything (for example remote-desktop through xrdp to install an application or just I ...
1
vote
4answers
7k views

How to edit Raspberry Pi files from SD card on Windows machine?

I am distributing multiple Raspberry Pi OS images, all images are almost identical, the only difference is that there is one file /usr/MyFolder/MyFile.txt which content is different for different ...
11
votes
4answers
20k views

Raspberry 3 - Boot From USB - but how?

Apparently the Raspberry Pi 3 can boot from things other than the SD Card, including USB flash drives. I got my Pi 3 today (hurray!) and burnt the latest Raspbian to both an SD card and a USB flash ...
3
votes
0answers
336 views

Timeout waiting for hardware interrupt during work

(Full logs are also posted here) My RPi3B+ have ArchLinuxARM running on it (armv7h version). Latest kernel and all updates (only packages from official repos + yay installed from AUR). My SD is ...
1
vote
1answer
70 views

Copy program to SD card before boot

I'd like to "install" a programm on the Pis SD card before I instert it into the Pi and ideally configure it to run after boot. When I insert the SD card into my PC, all I can see is the boot folder,...
4
votes
3answers
5k views

DD claiming to write to SD card, not doing anything

I'm running into an issue where if I attempt to flash a microSD card with sudo dd bs=4M if=some_pi_image.img of=/dev/sdb It claims to have written the image at about 1.9 GB/s, with output: 1088+0 ...
2
votes
3answers
185 views

How to recover 'deleted' microSD card space? [duplicate]

I've been playing around with my RPi3B lately and for whatever reason wanted to reformat my SD card. I'm unsure how I did it but now when I insert the card it says there is only 31mb of space. The ...
0
votes
0answers
38 views

Corrupted MicroSD Card

Recently, I ran the command: startx After running that command, Raspbian didn't let me login. So I reset the OS using NOOBS. I remember running startx because I had to to use gparted or something. ...
2
votes
2answers
377 views

How to copy files from an SD in a USB card reader

I have a bunch of files I'd like to send to my rpi. I have them in 2 places: 1. on my mac and 2. on a an SD card for my pi that has corruption in the kernel and won't boot. I'd like to put the files ...
0
votes
0answers
41 views

USB hub is switched into USB1 mode with USB2 peripherals

I was wondering why my USB sd-cardreader operates that slow, see this benchmark: root@DietPi:~# hdparm -tT /dev/sda1 /dev/sda1: Timing cached reads: 4 MB in 2.00 seconds = 2.00 MB/sec ...

1 2 3 4 5 17