can't get init to work

Hamish Moffatt hamish at cloud.net.au
Thu Oct 25 04:25:56 UTC 2007


On Wed, Oct 24, 2007 at 09:15:47PM -0700, Craig wrote:
> I am using busybox 1.7.2 on a CentOS 4.4 kernel (2.6.9). Everything 
> seemed to compile fine. I am able to run the shell 
> (/usr/local/src/busybox-1.7.2/busybox ash) and able to run some simple 
> commands.
> 
> But, when I try to build an initrd from it, things don't seem to work. I 
> have tried PXE booting:
> 
>          kernel os/test/vmlinuz
>          append root=/dev/ram0 initrd=os/test/initrd.img.gz init=/linuxrc

Does it load the image and mount the root file system ok in this
configuration?

With an unpacked version of your initrd image (or mount it via loop
device), try to chroot into the directory and run /linuxrc. Does it run?

You might be missing libraries or something like that.


Hamish
-- 
Hamish Moffatt VK3SB <hamish at debian.org> <hamish at cloud.net.au>



More information about the busybox mailing list