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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-30-2011, 07:38 PM
|
#1
|
|
LQ Newbie
Registered: Sep 2011
Posts: 8
Rep: 
|
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!
|
|
|
|
11-30-2011, 08:20 PM
|
#2
|
|
Senior Member
Registered: Aug 2009
Posts: 3,497
|
What method did you use to perform the P2V ?
|
|
|
|
11-30-2011, 10:27 PM
|
#3
|
|
LQ Newbie
Registered: Sep 2011
Posts: 8
Original Poster
Rep: 
|
Hi kbp
I using VMware converter bootable CD to perform P2V, version is 4.0
Thanks
|
|
|
|
11-30-2011, 10:29 PM
|
#4
|
|
Senior Member
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 4,554
|
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.
|
|
|
|
11-30-2011, 10:40 PM
|
#5
|
|
LQ Newbie
Registered: Sep 2011
Posts: 8
Original Poster
Rep: 
|
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!
|
|
|
|
12-01-2011, 03:38 PM
|
#6
|
|
Senior Member
Registered: Aug 2009
Posts: 3,497
|
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.
|
|
|
|
12-01-2011, 07:51 PM
|
#7
|
|
LQ Newbie
Registered: Sep 2011
Posts: 8
Original Poster
Rep: 
|
Hi kbp
Thanks for your reply.
How to chroot, can you provide detail procedure, because I'm is Linux newbie.
Thanks!
|
|
|
|
12-01-2011, 09:37 PM
|
#8
|
|
Senior Member
Registered: Aug 2009
Posts: 3,497
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:08 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|