hi there. how can i expand root filesystem to install packages, use large docker images etc? 1gb is literally nothing
i have 32gb sd card and being allowed to use only 1gb is sad.
i’ve tried some methods from internet but all of these failed.
thanks in advance
So by default it’s 1Gb for root and the rest for SD Storage (for network attached storage features) but if you want to use docker you can certainly resize it. Here’s how (video and steps below):
Steps:
In SSH, run cfdisk /dev/mmcblk0
Using the up and down arrow keys, go to /dev/mmcblk0p3
Then using right/left arrow keys go to delete (you could alternatively resize it) and hit enter
Next, with up and down arrows scroll to /dev/mmcblk0p2
With right/left arrows (with /dev/mmcblk0p2 highlighted) go to Resize
It should suggest the unallocated storage on the SD - just hit enter to confirm
Then using the right/left arrows go to the option for Write and hit enter. Type yes to confirm
Go to Quit
Reboot
It should now be all done, you can run fdisk -l to verify it’s resized after rebooting
i’ve tried that earlier but it was throwing me errors. after resetting it worked in fdisk, but still shows 971.94mb on status page, same goes on mount points page
how do i completely reinstall pifi from scratch? I’ve tried deleting partitions and reflashing image but got everything back running with old settings. where are they stored?
i will try gparted later then. thanks
Awesome, glad you found a way, may release image versions without the SD storage partition so that just expands to fit the card (I would like to look into official docker integration in app too but could be a while before get around to that)