Create backup image from USB / SDCARD. How to run run armbian-tf on next run #1646
|
Hi, |
Replies: 6 comments
|
echo "yes" >/root/.no_rootfs_resize |
|
I also tried but still no root partition resized when the |
|
When build armbian os add:
If there is this file in the armbian system, it will be executed automatically when the system starts for the |
|
to run the # Maximize root partition size
todo_rootfs_resize="/root/.no_rootfs_resize"
[[ -f "${todo_rootfs_resize}" && "$(cat ${todo_rootfs_resize} 2>/dev/null | xargs)" == "yes" ]] && {
armbian-tf 2>/dev/null &&
echo "[$(date +"%Y.%m.%d.%H:%M:%S")] Maximize root partition done!" >>${custom_log}
}Now I'm doing:
and it works, after first boot, we have -> Maximize root partition size thanks @ophub for your help 👍 |
|
very good |


to run the
armbian-tfautomatically after system starts (first time after shrinking the image) I added to the/etc/custom_service/start_service.shNow I'm doing:
no_rootfs_resizeto yesand it works, after first boot, we have -> Maximiz…