Expected Behaviour:
SD Card Copier tool creates functional copy of my live Pi 3B+, NOOBS/Raspbian, Pi-hole and unbound, that will boot on a second Pi 3B+ to confirm a good copy.
Actual Behaviour:
SD Card Copier reports a successful copy of all partitions. I eject the USB microSD adapter, remove the adapter, pull the microSD card, insert it into a second Pi 3B+ (with monitor, mouse, and keyboard attached) power up ... Boot begins, a lot of stuff scrolls by, and it ends with all CPUs stopping, and a: "end Kernel panic ... No working init found. Try passing init ..." message.
Debug Token:
I'm at work and my Pi-hole system is at home, so I cannot supply now. Assuming I can update this topic later, I'll add one this evening.
Additional detail - All microSD cards are Samsung EVO Select 32GB that seem genuine (none of the described telltales of counterfits), both Pis are CanaKit 3B+ with the CanaKit power supplies.
When a copy didn't work the first time, I realized I should test to confirm I had a functional microSD and functional second Pi 3B+. So I deleted all the partitions on the failed copy, reformatted as a single FAT32, dropped NOOBS files into place, and ran my 2nd Pi 3B+ through the Raspbian install, updates, and enough web surfing to confirm that the Pi and the microSD card were solid.
My second attempt used another brand new microSD card. On this attempt I took enough time to recreate a single FAT32 partition on the new card and do a fast surface wipe pass (using a windows machine, success reported), mode the card+USB adapter to the live Pi-hole and ran SD Card Copier (success reported), ejected USB adapter, removed microSD card, and inserted into my 2nd Pi. Same results, boot is failing with the Kernel panic message.
I am a newbie at this, I'm open to any/all of:
- Even though your operational Pi-hole is working, it has file system damage you need to check for and fix before making copy (it has been on UPS with scheduled shutdowns for its entire life, but I realize "microSD stuff happens")
- You need to quiesce the system, stopping Pi-hole and unbound, before making the copy
- SD Card Copier doesn't work correctly for a NOOBS install
- Any of 32,767 other reasons
Any suggestions or pointers appreciated!
Thanks,
Alan