Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3831

Troubleshooting • Re: dd onto a new sd card - pi not booting with the new card, only with the old one

$
0
0
Thank you for your response guys, I got it to work now.
Using dd when the source drove is in use is generally a poor choice - things can and will change under it's feet.
Oh I didn't; I shut down the pi and put both cards in another computer.
... SD card Copier tool to copy the running OS to the new card
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
It seems that the new card is slightly smaller (111673344 bytes).
That's correct and that was likely the issue.

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



Viewing all articles
Browse latest Browse all 3831

Trending Articles