Help resizing the root partitiion
-
@matteo Hi, I just installed this tool, but I cant press on anything
-
@padraic @baruchiro @matteo Got the same issue on FP2 and solved it by adding this line to /etc/fstab:
/userdata/system-data//var/cache/apt/archives /var/cache/apt/archives none bind 0 0Issue then a
sudo mount -aand retry installing... -
@tera Can you briefly explain what you have done here?
-
@tera I also did not understand if there was a mistake in the characters //?
/userdata/system-data//var/cache
-
@baruchiro Adding this line will allow you to mount that /var/cache/.. folder inside the larger /userdata partition so there is space available to perform the package installation (double slashes are expected, check similar existing lines in /etc/fstab and note it's a bind mount)
Not sure if such change should be made persistant or only considered as a workaround... -
@tera It did not work, with the following error:
mount: special device /userdata/system-data//var/cache/apt/archives does not exist
But yesterday I somehow managed to make it work, but then I reinstalled and now I can not.
-
@baruchiro You may have to create the folders in /userdata/system-data/var/cache/... i do not recall if i did or not on my side
-
Works, Thanks!
-
You can bind
/var/cache/apt/archivestemporary, usingmount -o bindcommand.# create dir in userdata space $ sudo mkdir -p /userdata/system-data/var/cache/apt/archives # mount - bind $ sudo mount -o bind /userdata/system-data/var/cache/apt/archives /var/cache/apt/archives/Now your
/var/cache/apt/archiveshas more space until reboot. -
This has worked for numerous users: https://forums.ubports.com/post/13645.
I've found running these commands works more reliably from fastboot mode.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login