A shell script to clone a booted disk.
BSD 3-Clause "New" or "Revised" License
2.56k
stars
335
forks
source link
rpi-clone -f sdb error: sed: couldn't open temporary file /mnt/clone/boot/firmware/sed3GoEiW: Read-only file system #181
Open
hanyuanzhong opened 4 months ago
lsblk
sudo mkfs.vfat /dev/sdb1 sudo mkfs.ext4 /dev/sdb2
sudo umount /dev/sdb1 sudo umount /dev/sdb2
lsblk
sudo systemctl stop udisks2 sudo systemctl stop udev sudo systemctl stop systemd-udevd-control.socket sudo systemctl stop systemd-udevd-kernel.socket sudo systemctl daemon-reload
sudo rpi-clone -f sdb