Select Page
This entry has been published on 2015-02-21 and may be out of date.

Last Updated on 2015-02-21.

[:en]Scenario

If you copy your personal image of an OpenELEC Raspberry Pi installation e.g. to another SD card which is larger, you might want to use the whole available space for your /storage partition. But this is not done automatically.

Solution

There are some tutorials using resize2fs and other tools, but OpenELEC provides a simpler way:

Connect via SSH / Putty, login and type:

touch /storage/.please_resize_me
reboot

 

Done 🙂

 

References:

http://raspberrypi.stackexchange.com/questions/8625/resize-file-system-on-openelec

http://www.raspberrypi.org/forums/viewtopic.php?f=35&t=29674

 

UPDATE 2016-04-26:

According to this OE script, it does not work any more, unfortunately.

The next best way now seems to be Gparted… or this script (untested!), or make a backup and reinstall.[:]