on
07-12-2025
10:56 AM
- edited on
10-07-2025
03:47 AM
by
ZenBot
[AIOT] How to Resize Image for Tinker Board 3
Purpose:
Providing a method to create a minimized image from an existing storage and this image is also able to restore back to the storage of the next board.
The environment:
Board: Tinker Board 3
OS: Tinker_Board_3-Debian-Bullseye-v1.0.2-20240612-debug
microSD card: With another Debian installed (It could be flashed an image thru Etcher or Win32DiskImager under Windows environment or dd under Linux.)
Procedures:
1. Insert microSD card to the Tinker Board 3
2. Power on the Tinker Board 3 and it would boot from microSD card
3. Install gparted by the following command: (Ensure the Ethernet/WIFI is workable)


4. There’re 3 methods to run Gparted app:
a) Execute it with following command on Terminal:

b) Execute it from “Run Program…” app and key-in “GParted” on the popped-up window:

c) Execute it from GParted icon as shown below:

5. It would pop-up a window to request the permission as below: (the password is linaro)

6. Following steps to resize eMMC thru GParted:
a) Select a partition mmcblk0 (the live partition cannot be resized)

b) Click the green arrow

c) Pop-up a resize window
(If you set the new size as the minimum size, it might not work. It needs some space to process resizing.)

d) After setting resize, it would be like below shown, then click “Resize/Move” to confirm the size
After setting the size, click “Resize/Move”.
(This step just confirms the size, not execute resize yet.)

e) It would like below, then click another green arrow

f) Pop-up a warning, and click “Apply” to execute resize

g) Resize is processing

h) Click “Close” to finish the procedure

i) Finally, the eMMC capacity was resized from 14.31GB to 4.88GB

7. Now, this eMMC is ready to be created as an image by dd/Win32DiskImager/Etcher.
8. Then the created image could be restored back to the whole storage of the next board, without resizing the capacity again.