Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-05-2005, 05:44 PM   #1
Registered: Aug 2003
Location: kerala , India
Distribution: RH9 , FC1 ,
Posts: 141

Rep: Reputation: 15
"kernel panic : no init found " error with user-mode-linux


I downloaded the uml patch for kernel-2.4.22

I applied the patch ... made uml ....

The root filesystem i used was toms filesystem...

The uml managed to find the root filesystem but it gave a

"Kernel Panic : No init found . try passing init = as a boot option ".

Well toms root file system has init under /bin .... /bin/init is also there in the search path as given by the man page of bootparam. ( man bootparam ).

I tried init = /sbin/init
init = /bin/init
init = /bin/sh

But still it doesnot work

any ideas how to rectify this?


Old 05-05-2005, 09:00 PM   #2
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 125Reputation: 125
There cannot be spaces in kernel options, IIRC. It must be "init=/bin/init" or similar. (No quotes of course)
Old 05-06-2005, 03:29 PM   #3
Registered: Aug 2003
Location: kerala , India
Distribution: RH9 , FC1 ,
Posts: 141

Original Poster
Rep: Reputation: 15

i didnot put any space after the init= ....

i passed the options as

$ ./linux ubd0=/dev/fd0 devfs=nomount init=/sbin/init



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"Kernel panic - not syncing: No init found." rwhite7890 Linux - General 6 06-26-2005 05:13 AM
FC2 Install Trouble "Kernel Panic: Attempt to kill init!" Error ghg_legat0 Linux - Newbie 3 06-01-2004 09:28 AM
"Kernel panic: no init found..." garnetlion Slackware 2 05-22-2004 05:10 AM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 10:18 PM
Zipslack getting "Kernel panic: no init found. Try passing init= option to kernel" Sam Hobbs Linux - Newbie 4 03-28-2002 10:37 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration