Software Developer

  • 1 Post
  • 61 Comments
Joined 6 months ago
cake
Cake day: December 16th, 2024

help-circle


  • Hmm I don’t know if there’s a “correct” way, but you could flash the stock version on the first SD card and fire Ubuntu up. Then configure your system and shut down.

    Next I would dd the whole SD card into an .img file which then you could flash to all other SD cards.

    Be aware of changing hostname and static IP for each new sd card to avoid network trouble






  • raver@lemmy.rimkus.ittoAnnouncements@lemmy.mlLemmy Release v0.19.9
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    4 months ago

    I found the solution, it was the default kernel for raspberry pi:

    raver@viruspi  ~  dpkg -l "linux-image-rpi*" | grep ^ii
    ii  linux-image-rpi-2712 1:6.6.74-1+rpt1 arm64        Linux for Raspberry Pi 2712 (meta-package)
    ii  linux-image-rpi-v8   1:6.6.74-1+rpt1 arm64        Linux for Raspberry Pi v8 (meta-package)
    raver@viruspi  ~ 
    

    The problem existed with the linux-image-rpi-2712 kernel. I’ve read that it is mainly targeted for the older rpi models. After switching to the linux-image-rpi-v8 kernel everything works😊, lemmy rocks, good job💪👌✌️


  • raver@lemmy.rimkus.ittoAnnouncements@lemmy.mlLemmy Release v0.19.9
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 months ago

    Good job, though for me on a raspbian Debian bookworm with

    %raver@viruspi  ~  uname -a
    Linux viruspi 6.6.74+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64 GNU/Linux
    

    Running on raspberry pi 5 the lemmy 0.19.9 container fails with exit code 139 and won’t start

    root@viruspi/etc/lemmy  docker compose up        [+] Running 6/6
     ✔ Container lemmy-postfix-1   Running              0.0s  ✔ Container lemmy-pictrs-1    Running              0.0s  ✔ Container lemmy-postgres-1  Running              0.0s  ✔ Container lemmy-lemmy-1     Created              0.0s  ✔ Container lemmy-lemmy-ui-1  Running              0.0s  ✔ Container lemmy-proxy-1     Running              0.0s Attaching to lemmy-1, lemmy-ui-1, pictrs-1, postfix-1, postgres-1, proxy-1
    lemmy-1 exited with code 0
    lemmy-1 exited with code 139                             lemmy-1 exited with code 139
    lemmy-1 exited with code 139                             lemmy-1 exited with code 139
    lemmy-1 exited with code 139                             lemmy-1 exited with code 139
    Gracefully stopping... (press Ctrl+C again to force)
    [+] Stopping 6/6
     ✔ Container lemmy-postfix-1   Stopped              0.4s  ✔ Container lemmy-proxy-1     Stopped              0.4s  ✔ Container lemmy-lemmy-ui-1  Stopped              0.2s  ✔ Container lemmy-lemmy-1     Stopped              0.0s  ✔ Container lemmy-postgres-1  Stopped              0.3s  ✔ Container lemmy-pictrs-1    Stopped              0.5s  ⚡ root@viruspi/etc/lemmy 