Expanding the root FS for RasPlex SD card

is there a way to do so? i have a 16gb SD card, just installed 9.9.12. Working great, just wondering if there's a way to expand. Did some googling, found nothing! If it can't be done i won't be heartbroken.....

 

Thanks in advance!

Hello Fr0sTy,

I know it can be done easily in Openelec (which Rasplex is based on/using) by firing up a Terminal session and typing the command

sudo raspi-config

then goto expand

Otherwise quick google brings up some other options here ==> http://www.raspberrypi.org/phpBB3/viewtopic.php?f=35&t=29674

Cheers Rob.

prior to my first post, i used SSH, accessed my pi, tried using sudo and it says sudo not found. i've done this before using rasbian, but knowing this is a different flavor of linux, there must be an alternative command. my research continues!

EDIT!: from what i see, sudo is not needed as i am logged in as root, which makes sense....

EDIT 2 THE SAGA CONTINUES: this post indicates that support to expand the rootfs is coming, but isn't in openelec yet. i'll hold off for now i suppose.

Thanks Rob!

Hi guys,

I made a github issue for this feature, though it's for expanding the storage partition - there is no need to expand the root partition, since it is read only.

I have a plan on how to implement it, it shouldn't actually be too hard and I've done this sort of thing before. It basically amounts to a few steps:

1. Use parted to get the first sector of the storage partiton
2. Delete the storage partition (the scary part, but not actually that bad)

3. Recreate a new partition starting at the same sector, specifying that the end should be the end of the device (the default I believe)

4. Reboot (might not be necessary with OE)

5. Run e2fsck on the new partition, it'll automatically detect the new free space and expand into it

@Fr0sTy I am curious what your use case for it is. 

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.