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

[Xen-users] Error starting DomU (Kernel panic - not syncing: No init fou

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Error starting DomU (Kernel panic - not syncing: No init found)
From: "Purav Saraiya" <purav@xxxxxxxxxxxxx>
Date: Mon, 22 May 2006 22:59:07 -0400 (EDT)
Delivery-date: Tue, 23 May 2006 02:19:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.5
Hi,

I am not able to start a new domainU on FC5.
To start the new domain I give command xm create -c domU.conf vmid=1.

This gives me the following error:

VFS: Mounted root (ext3 filesystem) readonly.
Kernel panic - not syncing: No init found.  Try passing init= option to
kernel.

Call Trace: <ffffffff80128d62>{panic+134} <ffffffff801083a6>{init+908}
       <ffffffff8010b7aa>{child_rip+8} <ffffffff8010801a>{init+0}
       <ffffffff8010b7a2>{child_rip+0}

The configuration that I am using:

The config file for domU - domU.conf contains:
kernel = "/boot/vmlinuz-2.6.15-1.2054_FC5xenU"
memory = 64
name = "ExampleDomain"
vif = [ '' ]
disk = [ 'file:/srv/vm2.img,sda1,w' ]
root = "/dev/sda1 ro"
extra = "4"

I created the vm2.img file
and copied /{bin, dev, etc, lib, root, sbin, usr, var} from the domain0.

In vm2.img, /etc/fstab file contains:

/dev/sda1                /           ext3    defaults        1 1
#/dev/VolGroup00/LogVol00 /          ext3    defaults        1 1
LABEL=/boot             /boot        ext3    defaults        1 2
devpts                  /dev/pts     devpts  gid=5,mode=620  0 0
tmpfs                   /dev/shm     tmpfs   defaults        0 0
proc                    /proc        proc    defaults        0 0
sysfs                   /sys         sysfs   defaults        0 0
#/dev/VolGroup00/LogVol01 swap       swap    defaults        0 0

In dom0, /boot contains:
config-2.6.15-1.2054_FC5          System.map-2.6.15-1.2054_FC5
config-2.6.15-1.2054_FC5xenU      System.map-2.6.15-1.2054_FC5xenU
vmlinuz-2.6.15-1.2054_FC5         initrd-2.6.15-1.2054_FC5.img     
vmlinuz-2.6.15-1.2054_FC5xenU     initrd-2.6.15-1.2054_FC5xenU.img 
xen.gz-2.6.15-1.2054_FC5          xen-syms-2.6.15-1.2054_FC5

It would be great if you could point out where am I making mistakes.

Thanks,
Purav

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Error starting DomU (Kernel panic - not syncing: No init found), Purav Saraiya <=