Initial RAMdisk not working properly
Hope that somebody can help me. I am trying to create a linux rescue boot cd. I am using Slackware ver10, Kernel 220.127.116.11 and isolinux version 3.09.
I have compiled kernel with Initrd, ramdisk and so on support. I used Mkisofs to create iso and configured isolinux.cfg to boot my initrd and kernel. The cd boots perfectly, it finds the kernel and the initrd file and says loading bzimage and loading robinit (my initrd file)
It gets to the point, where it says RAMDISK: ext2 filesystem found at block 0
RAMDISK: loading 16384kib (1 disk) into ram disk...done
VFS: Mounted root (ext2 filesystem)
Freeing unused Kernel memory: 372kb freed
Init: version 2.84 booting
Init: Cannot execute "/etc/rc.d/rc.S"
Init: Entering runlevel: 3
Init: Cannot execute "/etc/rc.d/rc.M"
If I use the intrd.img file that I downloaded from the Slackware website, the system boots perfectly and I can login and do whatever. With my Initrd file, I cannot login using any account or password and I cannot get the rc.S and rc.M files to execute. I cannot get anything to execute. I am not sure whether my Linuxrc file is even being executed. I believe that it has the correct execute permissions. Its in the root directory of the initrd file. I have put several echo statements in, none of which come up on the screen. I believe that my problem is something to do with the root file system (either the real root file system or the root file system used by the initrd file), is not being found by the system and hence it cannot execute anything.
If I omit the line root=/dev/ram0 in isolinux.cfg file, I will not get the Init file booting. I get a kernel panic and message cannot find the root file system, please append the correct "root=blah blah" statement. Now I don't know if the /dev/ram0 is pointing to the real root file system or the one used by the initrd file itself.
i can give you the contents of my innittab, fstab, linuxrc, isolinux.cfg files if you think it will help. I have read loads of documentation from various websites and cannot work out exactly what is wrong with my setup. Just out of interest, my initrd file requires the root=blah blah to be set in isolinux.cfg file. The slackware initrd file does not.