Jump to content

Recommended Posts

Posted

Armbian is written to a µSD card as a small file (a gig or two if I recall). If the card is 64gigs, the image is still just a few gigs written to that card. When booted on the device, though, it automatically expands the file system to the full size of the card.

How exactly does it do that?

And...

How do I do the reverse?

Take the file system from a working armbian install and create a small image that when written to a µSD card, will stay small, but then auto-expand when booted on a device?

Posted
  • Be aware that the answer might depend on the filesystem you are using on your board
  • Be aware that a resize operation can easily destroy your data or at least make it inaccessible
  • have a look at shrink-backup for "reverse"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines