Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I increase the free space available on the root filesystem? #216

Open
smzahraee opened this issue Dec 15, 2024 · 2 comments
Open

Comments

@smzahraee
Copy link

I am looking to increase the free space available on the root filesystem (rootfs) of my system.
Currently, the available space is insufficient for my application's requirements.

@luckfox-eng33
Copy link
Contributor

What's your hardware situation?

@B3B3K
Copy link

B3B3K commented Jan 7, 2025

For host machine:

truncate --size 5G <rootfs.img_file_location> && resize2fs <rootfs.img_file_location>

it is change rootfs size to 5GB and you will start with 5gb of storage on your luckfox after flashing it.
Also you can change oem.img, in python may will help.

truncate --size 500M oem.img && resize2fs oem.img

I have created note tree for luckfox pico, you can check for questions.
my note tree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants