Thank you for your response guys, I got it to work now.
What I did is I found https://github.com/billw2/rpi-clone but it didn't work at first with "Can't have a partition outside the disk!". I then did fdisk /dev/sda to delete all existing partitions from the destination card, then created a new partition with "0c W95 FAT32 (LBA)" which is the format that "fdisk -l" showed for the smaller partition on the source card. Rebooted and then ran rpi-clone again and it booted perfectly![Smile :)]()
Oh I didn't; I shut down the pi and put both cards in another computer.Using dd when the source drove is in use is generally a poor choice - things can and will change under it's feet.
I'm on headless so the tool isn't available there but when I googled for what you said I have found an alternative thankfully... SD card Copier tool to copy the running OS to the new card
That's correct and that was likely the issue.It seems that the new card is slightly smaller (111673344 bytes).
What I did is I found https://github.com/billw2/rpi-clone but it didn't work at first with "Can't have a partition outside the disk!". I then did fdisk /dev/sda to delete all existing partitions from the destination card, then created a new partition with "0c W95 FAT32 (LBA)" which is the format that "fdisk -l" showed for the smaller partition on the source card. Rebooted and then ran rpi-clone again and it booted perfectly

Statistics: Posted by pipi314 — Fri Feb 09, 2024 4:38 pm