2014-04-03, 22:41
(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:
and reboot - the file system resize will be done for you on the next boot.Code:touch /storage/.please_resize_me
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!