WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] domU custom kernel: Kernel panic - not syncing: No init

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] domU custom kernel: Kernel panic - not syncing: No init found. Try passing init= option to kernel.
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Sat, 25 Apr 2009 22:12:36 +0700
Delivery-date: Sat, 25 Apr 2009 08:13:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49F31911.9020009@xxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <49F31911.9020009@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Sat, Apr 25, 2009 at 9:07 PM, Alveox Services <alveox@xxxxxxxxxx> wrote:
> VFS: Mounted root (reiserfs filesystem) on device 202:17.
> Freeing unused kernel memory: 268k freed
> Kernel panic - not syncing: No init found.  Try passing init= option to
> kernel.
>
>
> Cannot figure why its not booting. It seems to find and mount root
> correctly....
> When I mount the filesystem manually, /sbin/init appears there.

You could try passing "init=/sbin/init". That would go in domU's
grub.conf (if you use pygrub) or "extra" line on domU config (if
kernel is on dom0).

Another possibility is that the kernel and userland has mismatched arch. Like :
- 32bit kernel on 64bit userland, or
- 64bit kernel, with 32bit compatibility turned off, on 32bit userland
(this happened to me once).

Regards,

Fajar

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