cancel
Showing results for 
Search instead for 
Did you mean: 

Error The rootfs size exceeds IMAGE_ROOTFS_MAXSIZE:

SigmaPrime
Senior

Hello

I am getting the following error after trying to build the image

The rootfs size 5956484(K) exceeds IMAGE_ROOTFS_MAXSIZE: 763904(K)

and I don't find anything related to this problem apart from this line that should be implemented in the local.conf file:

MENDER_STORAGE_TOTAL_SIZE_MB=....

Will this solve my problem? If not how do I solve this problem please I am a beginner with yocto.

I want to use the maximum space that I can so that this error won't come again. I will add a lot of packages and modules after so please tell me if there is a default size to apply.

Thank you

This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
OlivierK
ST Employee

​Hello SigmaPrime (Community Member)

Your rootfs partition size seems a bit large... almost 6GB! are you sure?

Do you have this error when creating the image from the script create_sdcard_from_flashlayout.sh? if so 768MB is the defaut size set for rootfs in the script.

to increase the rootfs size, you can just change the value DEFAULT_ROOTFS_PARTITION_SIZE according to your needs.

Hope it helps.

Olivier


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.