this post was submitted on 10 Feb 2025
0 points (NaN% liked)

Selfhosted

61256 readers
154 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

Got a couple rpi 3Bs I'd like to use headless.

Downloaded 32bit pi os lite, flashed it to an sd card, powered on and did the initial setup (select keyboard layout, set first user+pass).

As soon as I'm dropped into a shell, I run 'sudo apt update' then 'sudo apt upgrade -y'.

Once these finish, I type 'sudo reboot'; the pi reboots, shows the rainbow splash, about a dozen lines of kernal boot messages then the video output dies and after a couple seconds the act light stops flashing too. Disconnecting power and powering it again does the same thing.

I don't think it's hardware failure as I get the same results with both 3Bs and with a 4B.

I don't know what to do from here.

I've spent the last 6 hours retrying this with both the 32 and 64 bit versions of pi os light. I can't get past the initial update/upgrade.

Anyone got any ideas? Anyone got a spare sd card, a pi 3B, and some free time to see if I'm just stupid somehow? I don't understand what I'm doing wrong.

/edit: RESULTS!

I can only assume this was a bad sd card. Tried a different card, with the exact same procedure: it finally booted after an upgrade.

Ran the update/upgrade again + a dist-upgrade and a couple more reboots. Up and running.

Excuse me while I go grab an image of that working card to file away.

top 2 comments
sorted by: hot top controversial new old
[โ€“] nek@hear-me.social 0 points 2 months ago (1 children)

@Darkassassin07 I've had some slightly similar experiences with my 4b. There are a crapload of bad SD cards in the marketplace. The backup tool works well. I try to be in the habit of making a full image onto a demonstrably working spare card every couple weeks.

[โ€“] Darkassassin07@lemmy.ca 1 points 2 months ago

I try to be in the habit of making a full image onto a demonstrably working spare card every couple weeks.

That's a whole lot of writing to an sd card, wearing it out. It may fail by the time you want to read it. You also destroy each previous backup by creating a new one.

Each of my rpis backup to my main server nightly using dd via ssh. The server then keeps historical backups of those .img files via Borg so I can pull any version from any day of the last year or so.