[pocket-linux] Kernel panic ... Try passing init= option to kernel.
A solution
Philippe Ney
philippe at tizoo.com
Sun Sep 26 16:36:11 CDT 2004
Hi all,
First of all, many thanks to David Horton for this great job.
I have a some year knowing of linux. But to have a deeper understood of
the init stage, I started playing with Pocket Linux.
And then "bravo" for the documentation which is really clever.
I spent all the afternoon long to make the chapter 2 working, reading many
of the message from this list. And as now it works, I want to give some
useful tips hoping this could help other people having the same problem.
My system is Debian testing, kernel 2.4.18
The package I decided to use are : bash-3.0, linux-2.6.8.1, lilo
1) bash
No problem with compilation. The final footprint after the strip is 721628
2) lilo
The last version of lilo doesn't need boot.b or any other boot.0X00.
Also, don't try to copy some map file you founded somewhere.
But don't forget to run :
# lilo -r /mnt
And the needed files will be created (/mnt/boot/boot.0200 and
/mnt/boot/map)
3) The kernel
The problem of the "Kernel panic:..." is solved by adding configuration
for
* Kernel support for ELF binaries
Otherwise the kernel wouldn't be able to run bash.
Hope this help,
Philippe
More information about the Pocket-Linux
mailing list