billw2 / rpi-clone

A shell script to clone a booted disk.
BSD 3-Clause "New" or "Revised" License
2.56k stars 335 forks source link

rsync errors?? #157

Open fmarzocca opened 1 year ago

fmarzocca commented 1 year ago

Hi,

I am running rpi-clone on Bullseye. I have inserted a new SD card for cloning, and at the end I am getting hundreds of these errors:

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  ...rsync: [generator] chown "/mnt/clone/boot/." failed: Operation not permitted (1)
rsync: [generator] chown "/mnt/clone/boot/bcm2710-rpi-3-b-plus.dtb" failed: Operation not permitted (1)
rsync: [generator] chown "/mnt/clone/boot/kernel.img" failed: Operation not permitted (1)
rsync: [generator] chown "/mnt/clone/boot/kernel7.img" failed: Operation not permitted (1)
rsync: [generator] chown "/mnt/clone/boot/kernel7l.img" failed: Operation not permitted (1)
rsync: [generator] chown "/mnt/clone/boot/kernel8.img" failed: Operation not permitted (1)
rsync: [generator] chown "/mnt/clone/boot/overlays" failed: Operation not permitted (1)
rsync: [generator] chown "/mnt/clone/boot/overlays/README" failed: Operation not permitted (1)
rsync: [generator] chown "/mnt/clone/boot/overlays/act-led.dtbo" failed: Operation not permitted (1)
rsync: [generator] chown "/mnt/clone/boot/overlays/adafruit-st7735r.dtbo" failed: Operation not permitted (1)
rsync: [generator] chown "/mnt/clone/boot/overlays/adafruit18.dtbo" failed: Operation not permitted (1)
rsync: [generator] chown "/mnt/clone/boot/overlays/akkordion-iqdacplus.dtbo" failed: Operation not permitted (1)
rsync: [receiver] chown "/mnt/clone/boot/.COPYING.linux.xufbnK" failed: Operation not permitted (1)
rsync: [receiver] chown "/mnt/clone/boot/.LICENCE.broadcom.bMUFkK" failed: Operation not permitted (1) (30)
....
....