Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloning from running SD card to external card fails - cannot boot from cloned card #13

Open
carylewis opened this issue Mar 25, 2024 · 7 comments

Comments

@carylewis
Copy link

I recently started using bookworm on my raspberry pi 4b, and since then the rpi-clone utility does not work.

It does not generate any errors, but the system will not boot from a cloned card.

The Pi reports "Firmware not found" on the display.

Using the Pi's sd card clone utility works fine.

Please let me know how I can troubleshoot rpi-clone.

@fmarzocca
Copy link

Did you install latest version 2.0.23?

@carylewis
Copy link
Author

Yes, I did a fresh install before posting.

@carylewis
Copy link
Author

carylewis commented Mar 26, 2024

I ran sudo rpi-clone -x -v -f sdb | tee out, and didn't see any references to making the the sd card bootable? Is rpi-clone supposed to do that, or is there a manual step I should be performing?

Here is the start of the log:

Initializing
  Imaging past partition 1 start.
  => dd if=/dev/mmcblk0 of=/dev/sdb bs=1M count=8 ...
  Resizing destination disk last partition ...
    Resize success.
  Changing destination Disk ID ...
  => mkfs -t vfat -F 32  /dev/sdb1 ...
  => mkfs -t ext4  /dev/sdb2 ...

@carylewis
Copy link
Author

If I use piclone to copy the running system to an external card, that card boots fine, and then I can use rpi-clone without the -f option to update it, it continues to boot correctly.

@fmarzocca
Copy link

If I use piclone to copy the running system to an external card, that card boots fine, and then I can use rpi-clone without the -f option to update it, it continues to boot correctly.

That's interesting, Some developer should jump in....

@fmarzocca
Copy link

An interesting test could be this:

  • initialize the SD with sudo rpi-clone -f sdb
  • at the end run a simple update with sudo rpi-clone sdb
  • check if the clone boots

@carylewis
Copy link
Author

An interesting test could be this:

  • initialize the SD with sudo rpi-clone -f sdb
  • at the end run a simple update with sudo rpi-clone sdb
  • check if the clone boots

This did not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants