Issue: the Raspberry Pi (RPi) has crashed and the boot process ends up into a kernel panic. The reason is unclear. I am connecting the serial output from the RPi to a FTDI to see the issue on the screen. Which kind of FTDI or USB-to-serial board you are using is not important. A cheap model is fine. You must connect the FTDI pins to the RPi pins this way

FTDI Pin RPi Pin RPi Pin Name
GND 06 Ground
TX (D0) 08 TX (GPIO14)
RX (D1) 10 RX (GPIO15)

Please refer to this resources for more information how to connect the serial output from the RPi:

Configure the RPi boot using the cmdline.txt file. My example:

console=serial0,115200 console=tty1 earlycon=pl011,mmio32,0x3f201000 root=PARTUUID=6c586e13-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait

Add this to the /boot/config.txt in order to disable the mini UART and enable the real UART

dtoverlay=disable-bt

Please refer to this resources for more information how to configure the RPi for a serial output:

Boot the RPi.

Open the serial line using minicom. Tools like screen works as well

minicom -b 115200 -D /dev/ttyUSB0

You should see the boot output. I got a random kernel panic. So that I decided to rescue the data on my sdcard.

dd if=/dev/sde of=sde-card-copy.img_new bs=4096 conv=notrunc,noerror status=progress

Another option is ddrescue, especially if your disk is damaged

ddrescue -n -r 3 /dev/sdc sdc-card-copy.img_ddrescue2 mapfile2

Please refer to this resources for more information about a disk backup using dd:

Mounting the device