I have been banging my head against the desk over this. I can use u-boot on the SD card to boot alpine off a flash drive. I cannot get the entire thing running off SD card though. It keeps doing this. What am I missing?

  • just_another_person@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    12 days ago

    Bad SD card.

    SD cards aren’t meant to handle sustained read/write loads, and they wear out and die quickly on these devices.

    Start with a fresh card, and if you run a lot of services that generate a lot of log noise, set up log2ram to help extend the life of the SD card. A more permanent fix would be to boot from an SSD which won’t have these failure issues.

    • muusemuuse@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 days ago

      That’s why I’m running alpine. It runs in ram and only writes to the SD card when I run “lbu commit.”

      As an experiment, I wrote u-boot to a different blank SD card and put the supposedly bad SD card with alpine on it into an USB card reader and connected that to the nanopi. Sure enough, the nanopi loaded u-boot on the sd card, then loaded alpine just fine off the USB card reader.

      The card is fine. It just wont run alpine linux off the built in card reader.