[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] DomU kernel panic due to run-init: /sbin/init: No such file or directory



On 19/09/2011 02:54, jinho hwang wrote:

Hi All,

I'm using xen 4.0.1, kernel 2.6.32.46, and pygrub to boot. It seems that everything is ok until the last part that run-init is executing. The log says that run-init: /sbin/init: No such file or directory... and then kernel panic - not syncing: Attempted to kill init! I'm trying to figure out how to solve this problem. I mounted my image and checked the /sbin directory, init was there, but when I boot up with xm create, /sbin directory shows no init. Weirdly, the directory contains small number of files including modprobe.

Please, give me any comment if you have.

Thank you,

Jinho

Here is my log.

[...]

Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.

Notice how after attempting to mount root it doesn't say "done" and the next line isn't wrapped? I think here is your problem. The initrd is responsible for mounting root and needs updating.

--
May the ping be with you ..


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.