oscartheduckin’ around

February 15, 2008

init not found pass init= to kernel

Filed under: linux — oscartheduck @ 10:04 pm

So you’ve rolled your own kernel, you’re maybe trying to build a ramdisk or something, and you’re faced with “init not found, try passing init= to kernel”. And you’ve tried everything else, you’ve looked forever.

What worked for me was suddenly remembering that the 2.6.x series of the kernel uses a cpio archive as an initial ram disk, not  a file that has been formatted with a file system. I mounted my file as a loop device and then created a cpio archive from it. Suddenly init could be found! A MIRACLE I TELLYA

Of course, this hasn’t solved the problem I have that init cannot be executed, but I suspect that’s a kernel misconfiguration….


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at WordPress.com.

%d bloggers like this: