in reply to Debugging CPAN problem
It may be much easier to avoid troubleshooting. A quick way to get it back up and running is create an image of the good SD card, and restore that image to the bad one:
Put SD card from working unit into computer, and:
dd if=/dev/sdX conv=sync bs=4M of=disk.img
When done, put the bad SD card into the computer, and:
dd if=disk.img conv=sync bs=4M of=/dev/sdX
Where X is the letter of the inserted SD card (check with dmesg or the like). Double, triple and quadruple check that you've got the right disk, or you could very easily and quickly hose your system.
If you've got the capability of connecting two SD cards at once:
dd if=/dev/sdGOOD conv=sync bs=4M of=/dev/sdBAD
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Debugging CPAN problem
by Bod (Parson) on Dec 22, 2020 at 20:10 UTC |