hmm...
I had a similar error once....
try re-running syslinux on your new boot.img (the one with your kernel on it)
http://syslinux.zytor.com/
I have seen several reports of this problem in the forum, but no solutions.
I tried to modify the kernel in a CD-boot Knoppix (I needed devfs support, so I grabbed the Knoppix-kernel-source package, kept the same kernel config except for devfs, and recompiled). When I boot the CD, it grabe root.img, and then gives the following message:
Kernel panic : No init found. Try passing init= option to kernel
If I use the default boot.img, my slightly modified Knoppix CD boots fine. It's only when I try to use the image with my kernel that I have problems.
When I made the new boot.img, I modified as little as possible. I kept the same mroot, I just replaced the kernel.
Is there something else I'm missing? Or, does anyone else have a working boot.img that includes a kernel with devfs support?
Thanks,
Todd
hmm...
I had a similar error once....
try re-running syslinux on your new boot.img (the one with your kernel on it)
http://syslinux.zytor.com/
That is the last message but what about other messages like can the script linuxrc find your clooped image and mount it etc.
INIT not found just mean that when the linuxrc exit, the kernel will proceed to use the new root system and search for /etc/init to run and failed. So the most likely cause(as KNOPPIX doesn't not switch real root device) would be that it failed to mount the image does the KNOPPIX fs is not 'imported' in.
More messages are needed.
I would imagine that you don't have the necessary kernel modules in your initial root filesystem (I suppose that's boot.img) to mount your root filesystem. At least, that's my experience from other distributions and from the typical behaviour of "make install" on the Linux kernel sources.Originally Posted by tji
My standard workaround when trying out a custom kernel is to reuse the old initial root filesystem image for the shipped kernel and to replace the kernel and modules in that image (or rather a copy of it). I don't know how wise that is, but the standard kernel Makefiles don't really help me find a reliable alternative.Originally Posted by tji
I've run into this problen myself. To be safe you should replace the kernel modules in the miniroot and recompile cloop and replace that, but this is not the cause of your problem. I beleve that your problem is caused by the init in the miniroot being uncompatable with your new kernel. In the case of knoppix init is statically linked with ash (the initial shell). So you will need to recompile ash-knoppix against your new kernel and sources(it's on Klaus's site somewhere).
jTal
DELL PowerEdge R730 16SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45
$299.99
Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays
$169.99
Dell PowerEdge R630 8SFF 2xE5-2680V3 2.5Ghz 128GB RAM H730 2x10Gb SFP 2x750W
$279.99
HP ProLiant DL360 G9 Server 2x E5-2650v4 2.20Ghz 24-Core 96GB P440ar
$223.20
Dell R630 Server 2x E5-2620 V4 2.1GHz =16 Cores 32GB DDR4 1x 960GB 2x 1G 2x 10G
$165.00
Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330
$182.65
DELL PowerEdge R730 16SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45
$372.00
Dell PowerEdge R420 Dual Intel Xeon E5-2420 @1.90GHz 16GB RAM No HDD H710P
$59.99
Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 32-Cores / 64gb / H730 / iDracEnt
$259.99
Dell PowerEdge 860 Server Intel Pentium D 920 2.80GHz/800MHz/4MB RAM 2GB No HDD
$55.00