LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


hi..

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?


thnks


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

Rep: Reputation: 128Reputation: 128
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
tuxfood
Member
 
Registered: Aug 2003
Location: kerala , India
Distribution: RH9 , FC1 ,
Posts: 141

Original Poster
Rep: Reputation: 15
hi...

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

i passed the options as

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

tuxfood
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:36 AM.

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