root@localhost:~# sudo rpi-clone sda
Booted disk: mmcblk0 16.0GB Destination disk: sda 16.0GB
---------------------------------------------------------------------------
Part Size FS Label Part Size FS Label
1 /boot 256.0M fat32 -- 1 256.0M fat32 --
2 root 14.6G ext4 -- 2 14.6G ext4 rootfs
---------------------------------------------------------------------------
== SYNC mmcblk0 file systems to sda ==
/boot (47.5M used) : SYNC to sda1 (256.0M size)
/ (2.0G used) : SYNC to sda2 (14.6G size)
---------------------------------------------------------------------------
Run setup script : no.
Verbose mode : no.
-----------------------:
Ok to proceed with the clone? (yes/no): y
Syncing file systems (can take a long time)
Syncing mounted partitions:
Mounting /dev/sda2 on /mnt/clone
=> rsync // /mnt/clone with-root-excludes ...
Mounting /dev/sda1 on /mnt/clone/boot
=> rsync /boot/ /mnt/clone/boot ...
Editing /mnt/clone/boot/cmdline.txt PARTUUID to use 9d43b69e
Editing /mnt/clone/etc/fstab PARTUUID to use 9d43b69e
===============================
Done with clone to /dev/sda
Start - 15:21:03 End - 15:21:57 Elapsed Time - 0:54
Cloned partitions are mounted on /mnt/clone for inspection or customizing.
Hit Enter when ready to unmount the /dev/sda partitions ...