• Dasnap@lemmy.world
    link
    fedilink
    arrow-up
    182
    arrow-down
    1
    ·
    7 months ago

    Shit must look dystopian to anyone who doesn’t understand what it is.

      • Grass@sh.itjust.works
        link
        fedilink
        arrow-up
        12
        ·
        7 months ago

        Oh man I would do this all the time. When I worked a grocery store it had suse and later they switched to windows. Before if anything didn’t work it was user error like rebooting with personal items left on the keyboard. After we had self checkouts that would bluescreen and other than myself only two people knew how to reboot them. If it had arch I would make sure everyone knew.

  • RustyNova@lemmy.world
    link
    fedilink
    arrow-up
    53
    ·
    7 months ago

    Can a linux/systemd nerd explain what the error is? I know it’s a shutdown sequence, but I’m curious on the fault

    • CameronDev@programming.dev
      link
      fedilink
      arrow-up
      111
      ·
      edit-2
      7 months ago

      It is actually a boot failure. Normally the kernel reads some config from the initrd (the bootloader loads initrd and passes it to the kernel - thanks dan) and then does a bunch of setup stuff, and then it mounts the actual root filesystem, and then switches to using that. In this case, the root filesystem has failed to mount.

      Hardware failure is most likely the cause, but misconfiguration can also make this happen. Probably hardware though.

      If its misconfiguration, an admin can reattempt to mount the root drive on /new_root, and then ctrl-d to get the init system to try again

      ELI5: couldnt open C:/ drive

      Edit: clarified what loads the initrd - as per dans comment.

      • dan@upvote.au
        link
        fedilink
        arrow-up
        7
        ·
        edit-2
        7 months ago

        Normally the kernel loads an initrd filesystem,

        The bootloader (GRUB) loads the initrd, not the kernel. The kernel accesses stuff from the initrd, but it’s already loaded by that point.

      • RustyNova@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        7 months ago

        Thanks for that!

        Switching to Linux and actually being able to see real time logs made me actually curious how it works, so that’s one gear out of the machine demistified

      • CmdrKeen@lemmy.todayOP
        link
        fedilink
        arrow-up
        13
        arrow-down
        1
        ·
        7 months ago

        Using an actual hard drive for an embedded system like this would be a failure in and of itself.

        Unless it literally has to store several hours’ worth of HD video content, no reason the entire system couldn’t fit on an SD card.

        • constantokra@lemmy.one
          link
          fedilink
          arrow-up
          31
          ·
          7 months ago

          It’s been my experience that SD cards are almost always what causes a failure on a SBC. Given the cost of the screens, i’d probably choose something that could boot off nvme storage. Or at least tape a new, configured SD card to the case of the SBC for when this inevitably happens.

        • dublet@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          7 months ago

          As someone who works on embedded devices: HDDs are used for media storage and can be easily replaced. Any NAND as a limited life span and good embedded software will try very hard to minimise writes. Though in my particular area, there’s additional security constraints on the OS, which preclude any removable flash storage from being used.

        • body_by_make@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          3
          ·
          7 months ago

          They probably expect the signage to change a lot and don’t want a hardware failure when they do it too much, or didn’t use an external drive in this case and the SD card failed because they wrote to it too much (which would happen eventually anyway).

        • corsicanguppy@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          7 months ago

          Using an actual hard drive for an embedded system like this would be a failure in and of itself.

          You may be surprised to learn that these stores use machines that are occasionally more than a year old and also use inexpensive tech like enterprise spinny disk.

          A spinny disk will work in this space, and you know they’ll be deciding based on cost.

    • aard@kyu.de
      link
      fedilink
      arrow-up
      23
      ·
      7 months ago

      Systemd has a feature to shorten lines too long for the display, which is a pretty stupid idea, as you can see here.

      The service failing here would be initrd-switch-root.service.

      • indepndnt@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        7 months ago

        So the weird block character in the “see… for details” line is replacing “nitrd-switch-roo” just to shorten the line? That’s what I was trying to figure out.

        • aard@kyu.de
          link
          fedilink
          arrow-up
          6
          ·
          7 months ago

          Yeah, that’d be the Unicode ellipsis character (…) rendered on a system without a Unicode font on the terminal.

      • Tangent5280@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        7 months ago

        any idea what this is? Ive been seeing this a lot when I start up my laptop - sometimes it goes away automatically, sometimes it doesnt, but I have no idea what to even search for.

        • Synthead@lemmy.world
          cake
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 months ago

          That’s just systemd failing to start Switch Root. Have you tried the systemctl status suggestion in the error, or reading the text file it generates?

        • ben_dover@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          7 months ago

          search for “linux fix bad bit”, from my experience with raspberry pis i think this happens if you don’t power off the device properly. if this happens more often, it’s usually a sign that the hdd is damaged and will give in soon

    • CmdrKeen@lemmy.todayOP
      link
      fedilink
      arrow-up
      10
      ·
      7 months ago

      I haven’t seen this thing in action under normal conditions since I just looted the picture off Faceborg, but I imagine it probably shows a slideshow of ads.

  • yesman@lemmy.world
    link
    fedilink
    arrow-up
    17
    ·
    7 months ago

    I had a HDD fail on my media server and that screen gives me ptsd. I could clean it up with fsck for a while, but it meant plugging a keyboard and monitor into the box. A huge PIMA, I should have swapped out that drive the first time it happened.

    • CucumberFetish@lemmy.wtf
      link
      fedilink
      arrow-up
      9
      ·
      7 months ago

      You didn’t immediately swap the failing drive? I feel sorry for the media server. It was trying it’s best

      • stoicmaverick@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        7 months ago

        Do you not like sound of the read head scraping against the platter on spin up? Weirdo… It’s a rare treat, so you have to appreciate it while it’s there.

  • Bloodyhog@lemm.ee
    link
    fedilink
    arrow-up
    10
    ·
    7 months ago

    Oh man, I WANT THIS THING! That is what I call a cool feature in home design. Time to think how to do it relatively cheaply in my study…