init process failed over pxe with own initrd
Hi there, I've created my own ramdisc. The kernel loads the basic root-filesystem into the ram without any problems. The conf file on my tftp server looks like this: ---snip--- default linux label linux kernel linux append init=/linuxrc rw initrd=initrd root=/dev/ram ---snap--- I've also tried it with some other options like 'load_ramdisk=1' and other stuff, but nothing really solves it, that, during the boot sequence, he stucks with the following kernel panic: ---snip--- Freeing initrd memory: 278k freed VFS: Mounted root (ext2 filesystem) Freeing unused kernel memory : 160k kernel panic: No init found. Try passing init= option to kernel ---snap--- With the original SuSE initrd it works fine, and after I decompressed it I found a linuxrc binary. My linuxrc is a sh-script. But I think this don't mind here, because it doesn't find an init at all. My ramdisc holds this: ---snip--- /bin linuxrc ---snap--- Some workarounds failed also: 1.) Copying a bare skeleton consisting of 'init' and '/etc/init.d/{rc,rc1.d}' leads to that it won't process the init program (a little success, but I only tried it to figure out whether the problem relates to my initrd). 2.) Writing a C file which starts a shell script. The binary C file is called 'init' and was found in /sbin of my ramdisc. Am I blind of something nasty I forgot? Or depends the failure on some other facts not mentioned above? Please help, my brain feels like filled up with scrap since three days of troubleshooting... Best regards and many thanks for every advice Markus
participants (1)
-
Markus Klimke