In a previous posting, the Replication of a Raspberry pi SD Card is performed on an identical target SD card. If the goal is to replicate to a larger SD card with the same procedure:
If the source device is /dev/sdb and the target device is /dev/sdc. To replicate the SD card, run the following command as root:
sudo cat /dev/sdb >/dev/sdc
The SD card would need to be modified to extend the partition to utilize the incremental space on the larger SD card.
- What are the options to extend the partition and is there a best-practice?
- Is there a better (single step) command than
catthat replicates the smaller SD card to the larger device and ensures the maximum size partition?
Is there a "best practice" or context-driven decision making process ("It depends on ....")?