LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-30-2011, 07:38 PM   #1
raymondpx
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Rep: Reputation: Disabled
Linux cannot bootup after perform P2V "Kernel Panic: No init found"


Hi

I P2V my Linux to VMware, but the Linux (VMs) cannot bootup, errror message "Kernel panic: no init found. Try passing init= option to kernel".

Any buddy know how to resolve that.

Thanks!
 
Old 11-30-2011, 08:20 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
What method did you use to perform the P2V ?
 
Old 11-30-2011, 10:27 PM   #3
raymondpx
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hi kbp

I using VMware converter bootable CD to perform P2V, version is 4.0

Thanks
 
Old 11-30-2011, 10:29 PM   #4
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,261

Rep: Reputation: 1078Reputation: 1078Reputation: 1078Reputation: 1078Reputation: 1078Reputation: 1078Reputation: 1078Reputation: 1078
Usually this means that the system doesn't know which disk-drive is supposed to be the root volume. This is often specified as a kernel-parameter. Generally the configuration of the boot-loader (e.g. grub) specifies that value.

It can be handy to boot up a live-CD in your virtual-machine because they are especially designed to figure out how to get themselves started. You can then more-easily "have a look around" to see what the kernel is actually seeing when it tries to start.
 
Old 11-30-2011, 10:40 PM   #5
raymondpx
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Wink

When I boot to "linux secure" mode then enter command "fdisk -l", display below info (just capture some info).

Device Boot Start End Blocks Id System
/dev/sda1 * 1 7 53024 83 Linux
Partition 1 does not end on cylinder boundary
/dev/sda2 7 2922 23411040 83 Linux


Why "Start" and "End" have conflict?

How to fix that.

Thanks!
 
Old 12-01-2011, 03:38 PM   #6
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
They're not conflicting .. that's just a warning. Try booting on a live cd of the same distro and version as you P2V'ed .. then chroot into the local disk and recreate initrd. Actually I don't think chroot is required...

Last edited by kbp; 12-01-2011 at 03:39 PM.
 
Old 12-01-2011, 07:51 PM   #7
raymondpx
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Hi kbp

Thanks for your reply.

How to chroot, can you provide detail procedure, because I'm is Linux newbie.

Thanks!
 
Old 12-01-2011, 09:37 PM   #8
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Like I said, I don't think chroot is required .. take a look at the man page for mkinitrd. All you want to do is create a new one that includes the relevant controller drivers, by booting on the live cd the correct controller drivers will probably be loaded and mkinitrd will automatically include them.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] can't boot linux after moving drives - "Kernel panic - not syncing: No init found" ET_ Linux - Newbie 4 09-21-2010 05:16 AM
"Kernel panic - not syncing: No init found." rwhite7890 Linux - General 6 06-26-2005 05:13 AM
"kernel panic : no init found " error with user-mode-linux tuxfood Linux - Software 2 05-06-2005 03:29 PM
"Kernel panic: no init found..." garnetlion Slackware 2 05-22-2004 05:10 AM
Zipslack getting "Kernel panic: no init found. Try passing init= option to kernel" Sam Hobbs Linux - Newbie 4 03-28-2002 10:37 AM


All times are GMT -5. The time now is 11:23 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration