Skip to content

Instantly share code, notes, and snippets.

@steeve
Last active December 26, 2015 03:39
Show Gist options
  • Save steeve/7087457 to your computer and use it in GitHub Desktop.
Save steeve/7087457 to your computer and use it in GitHub Desktop.
OpenELEC resize to SD card
cd /
touch /var/lock/xbmc.disabled
killall -9 xbmc.bin
fuser -m /storage | xargs kill -9; umount /storage
parted /dev/mmcblk0
unit s
rm 2
mkpart primary 258048 -1
quit
e2fsck -f /dev/mmcblk0p2 && resize2fs /dev/mmcblk0p2 && mount /dev/mmcblk0p2 /storage
df -h
mount /flash -o remount,rw
curl https://gist.github.com/steeve/7086917/raw/config.txt > /flash/config.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment