LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-21-2008, 11:52 PM   #1
East
Member
 
Registered: Jan 2008
Posts: 84

Rep: Reputation: 15
Question Help in kernel image loading using grub


Hi all
I want to load linux using kernel image files only(which were taken from already installed system).
While doing like this i am getting error as ,
Kernel panic:No init found. Try passing init= option to kernel.

can anyone help me?
 
Old 01-22-2008, 12:44 AM   #2
zeeshanhayat
Member
 
Registered: Oct 2004
Distribution: Fedora, Debian, Free BSD
Posts: 71

Rep: Reputation: 15
One of the reasons for this error is change in Hardware. Since you took the kernel image files from another system hence this error.
 
Old 01-23-2008, 12:09 AM   #3
East
Member
 
Registered: Jan 2008
Posts: 84

Original Poster
Rep: Reputation: 15
thanks for the reply. Both hard disk are running in same system.
But the error is coming.
 
Old 01-23-2008, 01:26 AM   #4
wraithe
Member
 
Registered: Feb 2006
Location: Australia
Distribution: Linux... :-)
Posts: 241
Blog Entries: 1

Rep: Reputation: 50
init needs to be set for the new location in the system...., not the best way to do things...
 
Old 01-24-2008, 12:17 AM   #5
East
Member
 
Registered: Jan 2008
Posts: 84

Original Poster
Rep: Reputation: 15
Question

I am copying the image files from SATA to PATA. what i thought is, In PATA itself new location will be assinged to init.
When i booted the PATA, i just unplugged the SATA drive. Here the problem is the root file system.
While booting,
getting message as,
Mouting root filesystem
switching to new root,
then only error as Kernel panic:No init found. Try passing init= option to kernel.
 
Old 01-24-2008, 12:38 AM   #6
wraithe
Member
 
Registered: Feb 2006
Location: Australia
Distribution: Linux... :-)
Posts: 241
Blog Entries: 1

Rep: Reputation: 50
Quote:
Originally Posted by East View Post
then only error as Kernel panic:No init found. Try passing init= option to kernel.
thats self explanitory, no "init" found,
you dont have init in the location that the boot loader is looking, and more than likely kernel is set for init to be in another location as well..
moving an installed image from one type(sata) drive to a totally different drive type(ata) can cause total caos to the install...
its not just a case of having the correct drivers, but altering the whole install to recognise the location difference...
I would be inclined to fresh install the ata and then transfer all data from the sata drive...insuring that the first boot drive is the new one...
 
Old 01-24-2008, 02:58 AM   #7
East
Member
 
Registered: Jan 2008
Posts: 84

Original Poster
Rep: Reputation: 15
Thanks for your reply.
My goal to boot a linux by copying kernel images.
Thats why i have copied the images from already installed system. am i missing any other files for booting?
 
Old 01-24-2008, 10:40 AM   #8
wraithe
Member
 
Registered: Feb 2006
Location: Australia
Distribution: Linux... :-)
Posts: 241
Blog Entries: 1

Rep: Reputation: 50
http://www.yolinux.com/TUTORIALS/Lin...itProcess.html

http://en.wikipedia.org/wiki/Init

these two sites will give you the basic rundown of what init does...
and why its so important to have...
 
  


Reply


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
Slow loading of kernel image [Slack 12] TL_CLD Slackware 11 11-07-2007 06:29 AM
Redboot - Loading Kernel Image & File Jffs2 MKSrivastava Debian 1 04-21-2007 08:03 PM
loading kernel in grub PLFaBiaN5 Linux - Newbie 3 10-11-2006 01:57 AM
Loading Kernel Image, how long does yours take? Stang_Man Slackware 11 04-12-2005 08:02 PM
GRUB: splash image with loading bar Michele Spinolo Linux - Software 1 11-26-2004 04:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:19 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration