Posts by menkalos

    All you need(ed) to do is/was boot the LE image before trying to copy media to the drive. If the 32k partition contains /storage/.please_resize_me boot scripts detect it, remove the 32k partition, and a new one created at 100% size.

    I never copied media to the drive. The drive did resize, but only to the max size supported by the "msdos" partition table type. I think it needs to format the drive using the "gpt" table type instead, so it can support larger partition types.

    Thanks for the quick reply!

    I'm booted off of the 8TB drive, and that is the ONLY drive in the system. No SD card at all.

    Given this information, what parameters should I use for the parted resizepart command?

    When I tried rebooting with an SD card running full blown Raspbian, I tried using the gparted command. That failed, because it said the partition was too big for the "msdos" partition table. It appears that I need to convert to the "gpt" type partition table? Is that right? How do I do that and not lose the content of the drive?

    alternatively, can I do a clean install of Raspbian that takes advantage of the whole drive without having to do all this messy drive resizing afterwards? I haven't done anything with the Kodi on this yet, so nothing to lose but the time of reinstalling.

    I upgraded the firmware of my RPi4b to the 6/15 update that supports booting from USB. I then used BalenaEtcher to put the latest LibreElec image on it. The end result was a 537MB fat16 boot partition, and a 33.6MB ext4 partition that appears to be mounted as /storage.

    How can I expand "/storage" to take the entire 8TB drive instead of just a tiny chunk of it? I want it to host my entire movie collection.

    Thanks much!

    Could it be that the powerbutton.service is referencing the wrong file? The file references /storage/.config/, but there is no such file there with that name. Instead, there is gpioshutdown, which we did set to executable.

    It's definitely an issue, I think, but apparently not the only one still. After fixing and rebooting, it still simply powers down instead of gracefully shutting down.

    Well, dang. Still no joy. Hitting the IR power down button still appears to be simply yanking the power, not doing a graceful shutdown.

    The gpio command is definitely working after adding your add-on, so awesome job putting that together!

    Now it's a matter of translating the other bits into their LibreElec equivalents.

    One part I can't quite figure out is what is the LibreElec equivalent of the /etc/rc.local file that is supposed to get these three lines before the exit command that is supposedly already there:

    sudo /etc/init.d/gpioshutdown &

    gpio mode 25 out

    gpio write 25 1

    There is no /etc/rc.local file to put the commands in (yes, I realize I'd need to modify the path in the first line to /storage/.config, which is where the commands in post 3 put it). What is the LibreElec equivalent? Any ideas about that bit?

    I also added these lines to the /flash/config.txt:




    I think part of the problem of troubleshooting this is that when it fails, the power appears to be simply instantly cut off, so you can't see if it got even partway through anything.

    And thanks again!


    If this project is really about making a simple-to-use KODI media center, then support for most common remote-on-off board should somehow be possible. I'm extremely frustrated that this OS is SOOOO stripped down, I can't complete the configuration of KODI the way I need it. There should be some way for us to use apt-get.

    Going to a full-blown OS brings along so much crap that I DON'T need that it compromises the "appliance" nature of what we need. However, this OS has gone too far the other way. Please consider adding WiringPi to the image, or else add apt-get so that those of us who know a little can add the components we truly feel we need.

    Thanks much!

    There doesn't appear to be a "standard" way to install the WiringPi library, which this piece of hardware apparently requires.

    I tried downloading the files manually, but the build script uses make, which apparently isn't part of LibreElec either.

    Any help would be very much appreciated!!!

    Surely there is a way to get this remote board working. This is all about Kodi, and Kodi needs to be able to be safely shut down via IR as well as started!

    Thanks again!

    I bought the IR PowerButton for RPI for my Raspberry PI 3 based Kodi player.

    After the hardware install, I went to configure the linux to support it and have the POWEROFF command do a graceful shutdown of the OS instead of a 'crash'.

    Here are the instructions I was given:

    As you can see, they are NOT for LibreElec. Does anyone have reliable instructions on how to get this configured properly for a LibreElec on RPI3 Kodi box?

    Thanks in advance!!!