You can simply format the boot partition (the simplest way is using gparted), then restore the files to it.NicknDi wrote: ↑Mon Aug 17, 2020 11:30 amYou possibly missed the intro to my earlier post: after successfully resizing the rootfs partition, something went wrong when I then tried to resize the boot partition (not realising I didn't need to, having not absorbed the info you've re-pointed me to) and the boot partition is now corrupted as something went wrong in the gparted resizing process. I got a warning from gparted and the RPi no longer boots successfully from the ssd; it gets part of the way then stops with various error messages.
The backup of the boot partition content is available in /opt/boot_<kernel_ver> directory (written when the kernel was installed).
The cmdline.txt & config.txt are not there, you must restore them from elsewhere...
You can easily mount the image file, for example with Mate Disk Image Mounter, and copy the needed files...