View Single Post
Old 10-27-2021, 08:08 AM   #72
Carmelocotonto
Connoisseur
Carmelocotonto began at the beginning.
 
Carmelocotonto's Avatar
 
Posts: 94
Karma: 12
Join Date: Nov 2018
Location: Salamanca
Device: kobo Clara HD, Onyxboox C67
Hello. A question from my ignorance. I changed the sd card of my ClaraHD, to put a 32Gb one. I had to resize the user partition. Could we change the size of the rootfs in the future, if necessary?

Quote:
Originally Posted by frostschutz View Post
On the rootfs of the Libra 2 there is also very little free space to work with. It's a 256MiB partition which is nearly full. Kobo always cuts it quite close, so not much room for adding anything big in future firmware upgrades.

The recoveryfs (factory reset image) is larger with 384MiB as it contains the full rootfs twice (a minimal image to boot factory reset environment, plus the full rootfs the kobo normally uses) and also contains the data the user partition will be originally populated with (welcome message manual empty database and what not).

So all in all it uses 24MiB (bootloader, kernel) + 256MiB (rootfs) + 384MiB (recoveryfs) and at the end of the card it wastes another ~16 MiB for nothing whatsoever, probably to take into account that SD cards are not always exactly the same size. That leaves 29152 MiB to the user.

There should be very little write activity in the rootfs from day to day use, wifi network credentials are stored there but not much else. So there is no problem with reading books, all that should be happening on the user data partition (and in RAM naturally)
Carmelocotonto is offline   Reply With Quote