David Shen wrote: <SNIP> > But when I try to boot my system, I got kernel panic, and it says it > cannot find the init script. If I remove the 'initrd' instruction from > the grub.conf file, the error message does different, which means the > system WAS trying to process the initramfs. But I do not know why it > cannot find the init script. > > I modified the initramfs that the genkernel generated before, and the > system works fine after that. But I never created a initramfs from > scratch before > I think kernel by default searches for /sbin/init.
Have you tried with init=/init within kernel command line ?