L.S.,
The boot.img file works as follows:
syslinux boots, starts the kernel, loads the miniroot filesystem and the linuxrc script. At the end of the linuxrc script the actual init proces /etc/init is run and the party begins.
This is what happens if I replace the kernel (and I have seen numerous post of people having the same problem). I recompile the kernel, put the kernel in boot.img and reboot from this image:
syslinux boot, starts the kernel, loads miniroot.gz but ****does**** not start linuxrc. Because the compressed imagefile is not mounted, /etc/init can not be loaded which results in a kernel panic.
The ash which is supposed to run the linuxrc script is compatible with this kernel (i did not change the kernel version, and if i give as an init script init=/static/ash, ash is loaded and works fine including the use of mount and umount). Often you hear people saying you have to recompile ash, I don't believe that is the case (though I might be wrong).
What does Klaus Knopper do what I don't? I also noticed a "diff" between the kernel in the boot.img and the one in the compressed image. Leading me to believe you indeed have to do something special to get the trick done. If so, what is the trick?
kind regards,
Robert
P.s. I have tried recompiling with
make-kpkg --initrd --revision=custom.1.0 kernel_image modules
make-kpkg --revision=custom.1.0 kernel_image
(and everything else I could think of)
I used the xfs kernel sources of Klaus Knopper, and checked that the knoppix patch was executed by comparing the patch with the sources line by line: they matched.

Corsair Vengeance LPX 32GB (2x16GB) DDR4 3200MHz CL16 CMK32GX4M2E3200C16
$159.99
Netac DDR4 32GB 16GB DDR4 3200MHz UDIMM C16 Desktop Internal Memory RAM Kit
$99.99
128GB (2x64GB) NEW Crucial Micron DDR5 5600 Desktop RAM UDIMM (CP2K64G56C46U5)
$2085.00
Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC
$29.99
DDR4 Laptop RAM 4GB 8GB 16GB 32GB 2400 2666 3200 Samsung Hynix
$30.00
RAMAXEL Lenovo 32GB LPDDR5X CAMM2 7500MHz Laptop RAM | UNTESTED
$445.00
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$21.68
Samsung 8GB DDR4 SO-DIMM PC4-3200AA 260-Pin RAM M471A1G44BB0-CWE Module
$29.25
Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM
$85.00
16GB ( 4X 4GB ) MEMORY DDR3 PC3-10600 1333MHz FOR DELL OPTIPLEX 790 780 990 980
$39.99