Unable to boot from cloned SD card le Potato

So I was using an 8GB card which was running out of space, I believe I sucessfully cloned it to a 32GB Microcenter SD card which was reading in the 90MB/sec speed and greater than 20MB/sec write

But it seem to have issue with the Le Potato and randomly freeze with IO error after a few hours…

Try to clone it with win32diskimager (succesfully verified) or DD on another SBC… to a PNY 64GB sd card (90MB read 50MB write)

Both would boot to the Debian blue menu selection screen EFI exit boot then the green LED on the boad start blinking and after 10-15 seconds the system reboot.

the debiain boot menu have 2 older version with the oldest one able to boot further into the [ok] green status before it get into a kernel panic about not in sync and then freezes…

what’s the proper way to clone the SD card? old 32GB would still boot but again randomly IO error and freeze

I just tried an older SanDisk Extreme 64GB SDXC U3 (100MB+read 90MB write) with the same result (I use this card for my DSLR for the fast write)

EFI stub: exiting boot service

58-60 flashes of the green LED (blue stop flashing, red always steady)
system reboot by itself.

write using win32 disk imager 1.0

Exact error or logs?

Just booted the 32GB have to wait for it to error out to get the error message. When I had xserver/xrdp it would go from the desktop to a terminal with a single _ and freeze, I removed xserver and xrdp and at least I can see an error message with the CLI when it freeze

Logs you will have to tell me what/where to get, I can follow instructions but not that advance with Linux

BTRFS: error (device mmcblk1p2: state EA) in btrfs_finish_ordered_io:3315: errno=-5 IO failure

Full logs of the last moments? IO errors mean the operating system tried to read/write to the device and did not get a proper response. This is not corrupt data being corrupt on the disk but that the disk did not respond correctly. Usually indicative of MicroSD card hardware failure.

Please tell me what files you want me to grab.

Thus I thought issue with the SD card and figure I would try to clone it and see if a different card works better

if its the SD card slot my option would be to get a MMC module or boot from a USB stick?

The card slot does not cause this kind of errors.

so its the card? then back to square one how I can clone it and be able to boot. last resort I can install a fresh image but then A lot of things I will have to install/config from scratch again. Its the software controller for my Wifi network and a few other things

Your original cloning method is fine with Win32DiskImager. MicroCenter SD cards are trash. Use a new suggested card.

I already used a SanDisk Extreme as the clone target as recommended?

fsck on both the Microcenter (source) and the SanDisk Extreme (destination) don’t show any error. I’m really at a stump why a bit for bit clone won’t boot. Didn’t even expand the partition or filesystem

If IO errors occur with one card and not the other card, it means there is an issue with the flash blocks on the card it’s not working on.

tinkering around with the initramfs somehow got the SanDisk to get past the exiting boot service but end up in kernel panic… figure wth why not try updating, was at Deb11 6.0.19 kernel that had the io error… upgrade to Deb12 and seem to be stable so far on the crapo MicroCenter SD card no less!

fingers and toes crossed.

24hours+ still not freeze… I’m calling this a success