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.

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88
VMware vCenter Server 8 STANDARD Perpetual License Key VC-STD-C (Legacy Pack)
$1599.95
DELL POWEREDGE R340 Server | Xeon E-2126G 64GB RAM PERC H330 (Onboard)
$399.95
MICROSOFT WINDOWS SERVER 2025 RDS 50 CAL NEW Factory Sealed
$136.87
Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$484.99
Supermicro 2U GPU Server SYS-2029GP-TR 2x Xeon 6130 32C 6x PCIe 3.0 x16 Slots
$745.00
Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00
Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99
Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00
KTN-STL3 EMC VNX 15-slot Disk Array Expansion, full 15 x 2tb drives 100% health
$360.00