OpenELEC Testbuilds for RaspberryPi Part 2
(2014-04-03, 03:36)MilhouseVH Wrote:
(2014-04-03, 02:40)Mafarricos Wrote: I'm trying to resize SD card but when I make:

cd /

touch /var/lock/xbmc.disabled

killall -9 xbmc.bin

Xbmc starts again.

I'm on last version, how can I resize card?

Did something changed with last versions?

The method you are using to prevent xbmc.bin from restarting hasn't been supported for quite some time in Gotham builds, not since the introduction of systemd.

In Gotham if you want to stop xbmc.bin for any period of time, run "systemctl stop xbmc.service" (and replace "stop" with "start" when you are ready to start it again).

If you want to resize your /storage partition (which must be the second partition on the device) and are running a Gotham build then simply run the command:
Code:
touch /storage/.please_resize_me
and reboot - the file system resize will be done for you on the next boot.

This is how it works: systemd service and the fs-resize script.

Note that fs-resize only resizes /storage when it is the second partition, so it won't resize /storage when mounted on the first partition of a USB drive (ie. /dev/sdX1) but will resize /storage when mounted on the second SD card partition (/dev/mmcblk0p2) or the second partition of a USB drive (/dev/sdX2).

Thanks! This is much simple to resize that way.
I suspected that was a Gotham thing, as reverted to frodo, resized and then got back to Gotham. Next time I will use the command!


Messages In This Thread
Re: RE: OpenELEC Testbuilds for RaspberryPi Part 2 - by Mafarricos - 2014-04-03, 22:41
AW: RE: - by DieterLumpen - 2013-07-29, 20:50
include guires switch? - by hpbaxxter - 2013-08-01, 21:46
RE: dual audio?? - by pootler - 2013-08-03, 17:13
Help, watch 3D Film on Non 3D TV - by unix72 - 2013-08-09, 12:39
Remote Controllers - by tfft - 2013-08-14, 09:11
rbej repeatable crash - by RichG - 2013-08-19, 12:43
New Tester - by theneverstill - 2013-10-03, 17:16
[split] missing subtitle stream - by Jönke - 2014-01-08, 21:03
3D Support - by michbeck100 - 2014-01-11, 01:01
No sound on Gotham builds - by URBANsUNITED - 2014-01-13, 15:19
Logout Mark Read Team Forum Stats Members Help
OpenELEC Testbuilds for RaspberryPi Part 223