geerlingguy / rpi-clone

A shell script to clone a booted disk on a Raspberry Pi.
https://rpi-clone.jeffgeerling.com/
BSD 3-Clause "New" or "Revised" License
242 stars 15 forks source link

[Bug] Doesn't work in Manjaro Linux... #29

Open Pti-Jean opened 4 months ago

Pti-Jean commented 4 months ago

(Version translated into English): Hello,

rpi-clone does not work on AstroArch: https://github.com/devDucks/astroarch which is based on Manjaro Linux... It stops on: => rsync /boot/ /mnt/clone/boot ... and that's as far as it goes... Should we consider a new version?

(Original version in French): Bonjour,

rpi-clone ne fonctionne pas sur AstroArch: https://github.com/devDucks/astroarch qui est basé sur Manjaro Linux... Cela s'arrête sur: => rsync /boot/ /mnt/clone/boot ... et cela ne va pas plus loin... Faudrait-il envisager une nouvelle version ?

JM

Pti-Jean commented 4 months ago

(Version translated into English): Despite this bug, the copy took place, only the configuration of the /boot/cmdline.txt and /etc/fstab files did not... So I looked at the UUIDs of the partitions with the command: ls -l /dev/disk/by-uuid/ and I transferred these UUIDs to the 2 configuration files mentioned above, and then the clone worked! The bug shouldn't be too hard to fix! No ?

(Original version in French): Malgré ce bug, la copie a bien eu lieu, seule la configuration des fichiers /boot/cmdline.txt et /etc/fstab n'a pas eu lieu... J'ai donc regardé les UUID des partitions avec la commande: ls -l /dev/disk/by-uuid/ et j'ai reporté ces UUID dans les 2 fichiers de configuration cité ci-dessus, et après le clone a fonctionné! Le bug ne devrait pas être très compliqué à corrigé! Non ? JM

Pti-Jean commented 1 month ago

(Version translated into English): rpi-clone plants on this line: $ ps -ef | grep grep root 2037 1717 0 15:23 pts/3 00:00:00 grep -q /mnt/clone/boot/cmdline.txt

(Original version in French): rpi-clone plante sur cette ligne: $ ps -ef | grep grep root 2037 1717 0 15:23 pts/3 00:00:00 grep -q /mnt/clone/boot/cmdline.txt

JM