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

Add new one partition to image #775

Open
pompushko opened this issue May 8, 2024 · 1 comment
Open

Add new one partition to image #775

pompushko opened this issue May 8, 2024 · 1 comment

Comments

@pompushko
Copy link

Hello.

How can I add a new small partition like 64mb during build and store some data on it?
I just want to make a read-only image and I need some user-space partition.

Thank you!

@XECDesign
Copy link
Member

That's not currently a built-in feature, but we can treat it as a feature request for later.

In the meantime, you could edit export-image/prerun.sh to do it.

There may be other parts of Raspberry Pi OS which would be surprised to see an extra partition and might not know what to do with it. For example, I'd expect the resize script to fall over. However, I'm guessing that's not really a concern with a read-only rootfs.

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

2 participants