Last active
December 26, 2015 03:39
-
-
Save steeve/7087457 to your computer and use it in GitHub Desktop.
OpenELEC resize to SD card
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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