I’m planning to have a 512GB microsdcard with 3 partitions boot, os, media.
Would it be possible from a pi5 live session to backup only the first two partitions into a .img file?
And if wanting to restore it in the future, how would you go about restoring it without affecting the third image?
image-backup should back up the currently running BOOT and ROOT partitions.
When you restore that image however, the third partition will be lost unless you take special steps:
1. Use the -n/--noexpand option when creating the backup.
2. Before restoring the image, run fdisk and note the starting and ending sector number and type for the third partiton.
3. After restoring the image, run fdisk and recreate the third partition using the information from the previous step.
Statistics: Posted by RonR — Wed Mar 06, 2024 9:35 am