Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Preparing SD cards for cloning

Featured Replies

Hey all!

 

I'm wondering if there's a tried and tested method for preparing an armbian  system to be made into an SD card image, including:

 

* Clearing the right SSH data

* Triggering firstrun to run next time

* Shrinking partition

* Any other suggestiosn

 

NB : the filesystem for armbian seems to be quite different from raspbian / other. Which makes shrinking the partition from another computer quite confusing (e.g. when mounting a ripped img in ubuntu we just see one full partition across the entire SD card, even if there's lots of free space)

 

 

 

Hi Elliot,

  We have a shrink-image.sh script (https://github.com/ConnectBox/connectbox-tools/blob/master/deployment/shrink-image.sh) when preparing images for our Connectbox project. We prepare the image on a "master" machine, then shutdown and move the microSD to another machine, where we run that script.

It's important to re-enable the `resize2fs` service on the "master" machine before shutting-down, or the root partition won't expand when the images are used. We don't trigger a firstrun (open to suggestions on whether we should!)

 

Cheers.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.