Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
24 views

Use SD Card Copier to create backup to USB, then copy back to SD card?

I'm trying to make a backup of my raspberry pi (raspbian) so I can come back to this backup just in case something bad happens. The problem is that I only have 1 SD card. I know that you can use SD ...
3
votes
1answer
61 views

Boot from USB, if no then SD card

What I want to do is something really simple just like in an ordinary computer you can set the boot order, I'd like to do this on a raspberry pi, if there is a bootable usb media use that, if not fall ...
0
votes
2answers
65 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 ...
0
votes
1answer
23 views

System Freezing Up, Bad SD?

I have a Pi 3 B running Raspbian Stretch. Recently, I started experiencing lag logging in with SSH, and sporadically during use. It really became apparent when I tried zipping my 2GB Plex library ...
0
votes
1answer
31 views

build a minimal camera (OV5647 + microSD + ?)

I want to use the OV5647 camera module to start to store data (as soon as it is fed, I don't know yet whether in photo or video format) to a microSD choosing a specific rate and resolution (e.g. ...
1
vote
1answer
45 views

RPI3 does not boot, after which SD card is no longer usable

I have an RPi3 B+ on which I had set up NextCloudPi, using an external USB drive to store files to. Everything worked fine, so I decided to put the RPi into a case. I used an original RPi case. When I ...
0
votes
2answers
46 views

Is it possible to clone the SD Card to a USB flash drive and boot from it?

I have a new Raspbery Pi 3 B+ which actually boots from a 8 Gb SD Card. Now I want to toggle to a 32 Gb USB flash drive, so I wanted to clone the SD Card. I think it should work, but I can't succeed. ...
0
votes
2answers
32 views

Creating symbolic link in RASPBIAN (reduce I/Os on memory card)

I'm doing this to reduce I/Os on memory card of raspberry pi. I want to redirect logs under /var/log to a mounted external drive. I am using following commands in the stated order to create the links. ...
7
votes
2answers
83 views

Can it be an issue to record videos directly on the SD card of a Raspberry Pi?

I am using a Raspberry Pi Zero W and the picam v2 to record videos continuously for several days. Files recorded are only 5-minute long. Can I save files on the SD card directly, or should I use an ...
-1
votes
1answer
27 views

How to log camera video to Rasberry Pi?

I have a Raspberry Pi and a webcam, what I want is to connect the webcam to the Pi, and log the camera content to an SD card. How to do it? I have searched it on google, it seems I need a video card ...
0
votes
0answers
19 views

RP 3b - green led flashes 4 times

I tested one SD card on 2 different RPis and I get the same pattern: no boot, green led blinks continuously on a 4-blink pattern. This would point to a problem with the SD card but I tried reading the ...
0
votes
1answer
43 views

how to install several different Operating Systems on pi 3 b+ sd card and how to access them

I wish to install several different Op Systems on one micro sd card for a pi 3b+. I use octopi for running a 3d printer and interested in dietpi and more to experiment with. Will be looking into an ...
0
votes
3answers
63 views

Does this message mean my microSD card is worn out?

Was going through my usual process of writing a Raspbian image to a microSD card using sudo dd bs=1m if=/my_pi-zero.img of=/dev/rdisk3 conv=sync on my mac and I received the following message dd: /...
0
votes
0answers
26 views

read from sd card using lpc2378 using spi

How to read from sd card using lpc2378 using spi? I am looking for specific registers which have to be configured ? There is no separate topic for arm since rpi is based on arm microcontroller I am ...
0
votes
1answer
71 views

Raspberry Pi SD in RAID1 with a USB-Stick

I am using my raspi for my smart home monitoring and I don't want any system crashes because the SD card fails. So is there a way to build a raid 1 with the SD card + an additional USB stick (or maybe ...
0
votes
1answer
118 views

Move rootfs to USB disk and use minimal SD card

I'm running Raspian on RPi3 from a 16GB SD card. Now I try to use a SSD connected by USB to hold the root / partition and copy the /boot partition to a smaller SD card that is 512MB. I can't get it ...
0
votes
0answers
29 views

Raspberry pi Boot issue

I am using Raspberry pi 3 B+ model with Integral 16GB microSD Card. Sometimes the raspberry does not boot at all and when I copy bootcode.bin file to the SD Card it boots up fine. Again after some ...
0
votes
1answer
33 views

Can I use the sd card in my pi 3b+ in my zero w?

I was wondering is I can use the sd card I use in my Pi3B+ in my Zero W? Let me know! I can always experiment and let you know. Thank you!!
0
votes
1answer
168 views

How does any file system REALLY work on a Raspberry Pi SD card?

I am surprised by the large amount of data I'm writing to the root partition in a Raspberry Pi. My applications and system logs are not writing that much. I use the usual tricks to reduce it. What's ...
0
votes
1answer
52 views

Can start Pi but getting read-only file system

I tried: mount -o remount, rw / - it says write-protected fsck - also not helped but no errors And nothing of this not helped. Any ideas? Note: i can write and format microsd when it plugged to my ...
1
vote
1answer
96 views

“Write error (disk full?)” when trying to unpack NOOBS on to an SD card

The raspbian fails to load. Tried to unpack NOOBS archive file but received error insufficient space sudo unzip noobs282.zip ... inflating: os/Raspbian/root.tar.xz os/Raspbian/root.tar.xz: write ...
0
votes
1answer
85 views

Wlan0 interface disappears after overclocking sd card

When I add dtoverlay=sdhost,overclock_50=80 to the /boot/config.txt and reboot my PI3 the wlan0 network interface disappears. When I roll back the change wlan0 comes back as well. I apply this change ...
1
vote
2answers
426 views

Raspberry Pi 3 returns input/output error and crashes system when trying to update on 64GB card

I'm trying to set up my Raspberry Pi with a 64GB micro-SD card using the image file 2018-04-18-raspbian-stretch-lite. Every time I try to update or install software on the card, the system gives me ...
1
vote
2answers
62 views

Shutting down quickly (And safely)

I'm currently writing a research paper on the power consumption of a raspberry pi 3 and a raspberry pi zero wireless. One question I have as far as shutdown goes (I'm trying to achieve a powered off ...
0
votes
1answer
100 views

Recovery of SRM save game file from Retropie corrupt SD card

I've been googling at this all night and have found multiple conflicting methods of recovering/formatting/saving corrupt SD cards but i'm a complete n00b with both Raspberry Pi and Linux. Basically ...
1
vote
2answers
109 views

Detect an SD card that became read-only

Recently my SD card died, becoming permanently locked in a read-only state. I realized it a few weeks after the fact, when I saw that files I would create disappeared after a reboot. Of course, all ...
1
vote
2answers
50 views

RPi SD 'sync' time [closed]

It seems that the RPi does not necessarily write data to the SD very promptly and data loss can occur if the power is pulled after a write operation; even after a few minutes or longer. this can be ...
0
votes
2answers
220 views

RPi 3B+ Does not boot after first time, not reading SD card (RLED ON, GLED OFF). Works on RPi A+

I've got a problem with my Pi3 B+ not reading my microSD card on boot (Red LED ON, Green LED OFF). The microSD I am using is a SanDisk U1A1-SDSQUAR-016G-GN6MA. I prepped the SD card with NOOBS and ...
0
votes
0answers
21 views

How do I save my retro pi saves without a PC?

My Retro Pi SD card (a sandisk ultra 64 gb) cannot be read by my pc without reformatting (which would delete everything on the card). However, my Raspberry Pi 3 Model B can read the card and play the ...
2
votes
2answers
234 views

About to buy my first Raspberry Pi; what should I look for in an SD card?

I am going to purchase a Pi 3 B+ (probably from Element 14). I have been reading about SD card "Wear Leveling". Do all the reputable (Samsung EVO, etc) use some form of wear leveling? I read ...
2
votes
1answer
484 views

Samsung 128GB EVO Plus File System problems

I just received my first RPi 3B+ board today and have tried to use it with a Samsung EVO Plus 128GB u3 card I downloaded Raspbian Stretch Lite (June 2018) and used Etcher to flash the cards. After ...
0
votes
1answer
144 views

Win32DiskImager working with compressed files

Win32DiskImager is a cool tool on Windows except: we have to manually extract the ZIP file and then flash it, and then delete the ZIP it doesn't seem to work in command-line Is there a way to make ...
6
votes
1answer
510 views

Netbooting multiple “workers” RPi from a “master” RPi

My question is, I believe, a little bit complex, and I think it would be better to fully describe what I have and what I want to achieve, with what I am able to do. What I have I have a group of ...
0
votes
0answers
25 views

Expand file sytem only to certain size of sd card

Is it possible to expand the file system only to a certain amount? I guess everyone is familiar with the following problem: You start with for e.g. an 8 GB sd card. Expand the file system and when ...
1
vote
0answers
39 views

My Raspberry PI hangs after searching for files on the SD card

Strange issue here: when performing simple file search under "/" or issuing du command on large folders, my RPi's OS dies and needs hard restart. For example: * find / -name "index.html" * du -s /usr ...
0
votes
2answers
190 views

Hardening a raspberry pi 3B

I have a Raspberry Pi 3B+, running NOOBS. I'm using it for home automation, and it's important to me that it never fail (or if lightning fries it, that it be trivial to swap in a new one. Downtime is ...
1
vote
1answer
84 views

Raspberry Pi 3B processor and SD card overheat

I was using a Raspberry Pi Model 3B in my smart home system for about half a year now, which means it was powered around the clock - without any issues. Yesterday, both of my living room lights (one ...
1
vote
0answers
174 views

Red light, no green light, SD works on other Pi

Raspberry Pi 3B+, only 10 days old, running latest Raspbian and kernel. Mainly connected to TV via HDMI. Suddenly turns off today, and can’t be revived. Constant red light, no green light. Tried ...
0
votes
1answer
54 views

Syncing to SD Card is too slow

I'm writing some bytes to the filesystem. Afterward I'm calling sync to ensure the buffered data is flushed to the SD card. This command takes several seconds! I'm working with raspbian. My SD Card ...
0
votes
0answers
18 views

Is it normal that sync() from unistd.h takes multiple seconds

When a user performs some setup via a Web GUI, I'm calling sync() to ensure the setup changement is immediately saved to the SD Card. (I'm doing this because the user sometimes switches off the power ...
0
votes
1answer
62 views

SD card is playing hide-and-seek on I/O errors

I had a power outage that left my RPi behaving strangely - hanging after specific set of command and similar. I have removed the SD card, plugged it via SD card reader to my computer, mounted and ...
0
votes
0answers
35 views

sd card write on Windows 10 Pro 64 failed

I try to write my RaspI SD Card on win10 using Etcher-Setup-1.4.4-x64.exe and 2018-04-18-raspbian-stretch-lite.img image. Write and verify looks good, but Raspi 2 Model B don't boot. I get no error. ...
0
votes
2answers
39 views

How to save session in Raspberry Pi?

I am currently running Raspbian on Raspberry PI 3 and the SD memory card I've been using as hardrive on my pi is somehow got damaged probably from using it for a very long time. Whenever I boot or ...
0
votes
1answer
32 views

SD Card as storage (Not boot) drive

I currently have my RPi3 booted from a usb flashdrive, I am wondering if it is possible to use an sd card as the mass storage option, without it being the boot drive. thanks! -Dan
1
vote
1answer
112 views

A full bitcoin node using Raspberry Pi 3

This would be my first attempt at purchasing and using the pi for any use-case. I am attempting to build a full bitcoin node using raspberry pi (which is I/O heavy). I plan to purchase the a.) ...
1
vote
1answer
188 views

dd failed with 'illegal numeric value'

I am following the instructions here https://developer.ubuntu.com/core/get-started/installation-medias to prepare an OS image on the sd card. I ran the following command: xzcat ~/raspberry-pi/ubuntu-...
1
vote
2answers
454 views

How to format a corrupted SD Card

I was writing something to the SD card at one point and I disconnected. Unfortunately I am unable to boot into Raspbian now as it will simply boot loop and when I tried to use the tools Gparted ...
1
vote
0answers
91 views

Fried SD card help

So I'm in a bit of a pickle here and am hoping someone here can give me some good advice. Recently my RaspberryPi model 3 stopped working and the SD card was getting terribly hot. I figured the Pi had ...
0
votes
1answer
881 views

Edit system files on windows or linux [duplicate]

i've messed up the /etc/profile file and now i can't login to the rpi. Is there a way to edit this file on windows or linux ?
0
votes
1answer
33 views

Raspberry Pi not letting me write on SD card

I seem to be having trouble with my Raspberry Pi as it won't let me write files on an inserted SD card. I am trying to create a SD card eraser (When a card is inserted, it erases). I have tested many ...