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] Installation Problem: exec of init (/sbin/init) failed!!

To: "Manu Anand" <manu.anand@xxxxxxxxx>
Subject: Re: [Xen-users] Installation Problem: exec of init (/sbin/init) failed!!!: No such file or directory
From: "Todd Deshane" <deshantm@xxxxxxxxx>
Date: Fri, 19 Dec 2008 00:56:05 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 18 Dec 2008 21:56:47 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=1RqNKz0s0DbC8idj2cOFhzK4toQt7XANSp810qknFrw=; b=Uo+mwqnOWnIPVpgC8FEYyPFvacImHpLFXcIehb0h1kipIT6F7uNlrksfyUlPxNXNn5 pU/9MO2SIUai3ZV11xCNIRam9ReD/myO5+ZwxnIYETtpJ3tXYypXZxiJlvli8cqxjUwE UTsOhiao7epenMedCdhWFxKQdrt3GLhj/sNOI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=uR1kAU6z+rgPrZKAMmO92rMbOqbXJCWBLlcwoPvAke8GxNapYbGTRIeBzHKmHJy/mB QCcQlN0fLggLIGlgntnNTyS0EWeExtUh9vZBaAHVB7k+5+wvsNUdXDwPteY7CTMAfKLH aYCgBNyFTj19BatHIKc92sjxwMhlcUJjWJ9nY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <13f5ba680812182024s7627abg1a3daea98d6d0e7@xxxxxxxxxxxxxx>
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: <13f5ba680812182024s7627abg1a3daea98d6d0e7@xxxxxxxxxxxxxx>
Reply-to: deshantm@xxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Dec 18, 2008 at 11:24 PM, Manu Anand <manu.anand@xxxxxxxxx> wrote:
> Hi folks:
>
> I'm having the exact problem with /sbin/init described at
> http://lists.xensource.com/archives/html/xen-users/2007-04/msg00570.html
> The environment is CentOS but the problem and the steps I've taken are
> exactly the same.
>

That thread is somewhat hard to follow, but the suggestions seem good.

The basic idea is that you have a guest on a different partition and you
are trying to boot it?

The guest was/is a normal linux install?


Are you just missing a forward slash in the fstab below?
(/dev/sda10)? or is that just a typo?

Do make sure that everything is in the right spot...

chroot in the the partition for example.

Is it bootable as a normal linux system with grub
(not as a xen guest, just to test)?

> The guest's fstab is
>
> dev/sda10       /               ext3    defaults        1 1
> tmpfs                   /dev/shm                tmpfs   defaults        0 0
> devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
> sysfs                   /sys                    sysfs   defaults        0 0
> proc                    /proc                   proc    defaults        0 0
> LABEL=SWAP-sda2         swap                    swap    defaults        0 0
>
>
> My config script is
>
> kernel = "/boot/vmlinuz-2.6.18-92.1.18.el5xen"
> ramdisk = "/boot/2.6.18-92.1.18.el5xen-custom-3"
> memory = 256
> name = "ExampleDomain"
> vif = [ '' ]
> disk = [ 'tap:aio:/home/admin/vm1disk,sda10,w', ]
> root = "/dev/sda10 rw"

don't put the rw in the root line.
root="/dev/sda10"

and



Try it instead in the extra
extra="ro 4"


Hope that helps.

Cheers,
Todd

-- 
Todd Deshane
http://todddeshane.net
http://runningxen.com

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

<Prev in Thread] Current Thread [Next in Thread>