Skip to content

Instantly share code, notes, and snippets.

@Iristyle
Created December 22, 2016 22:20
Show Gist options
  • Select an option

  • Save Iristyle/121da864c40f7e9cc51abcd36dacaaaf to your computer and use it in GitHub Desktop.

Select an option

Save Iristyle/121da864c40f7e9cc51abcd36dacaaaf to your computer and use it in GitHub Desktop.
Update partitions of existing LibreElect install

So I thought that maybe this would be easy to do logged live into the system - turns out, not really

ssh root@libreelecip
pw: libreelec

Stop services once on host:

systemctl stop kodi.target
systemctl stop kodi.service
systemctl stop kodi-cleanlogs.service

Free any handles to /storage:

# find what processes are keeping mount open with
lsof | grep /storage
# connman is keeping /storage open on /dev/sda2 (aka /storage), but stopping the service terminates SSH
# can't do this!
# systemctl stop connman.service

Try to unmount /storage:

cd /flash
umount -f /dev/sda2
umount -l /dev/sda2

This a DEAD END - can't work on a live install

Alternate Proceess

Use Hirems Boot CD on a USB stick, use the partition resizing tools to enlarge the system partition. Reboot, and try upgrading - TADA!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment