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 under sles10

To: Janko Harej <janko.harej@xxxxxxxxx>
Subject: Re: [Xen-users] domu under sles10
From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
Date: Sat, 14 Apr 2007 10:05:22 +0100
Cc: "Petersson, Mats" <Mats.Petersson@xxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 14 Apr 2007 02:02:34 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=uPqCGktpHG3MI5EUbriLInHmn14mYHbINHjDuxJsIpKjne16/5+GwOCJTiYFU8vq9uowFKbOrZiqiX6vD0Nhdb3oivL3Jo4EyMKIlual1ezCzVWs5DrA4N9HYTnr8PXUki2yBBl9hewZefme+fWruAiTsnzU3vcWlI32Z0Qa/oQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=BIztTVI7lRzVJoJ+vndpTtmOr63qzNVFcw7phj4ocUWu7o3mzOWreXpOthy//hA6xmkTBsa4eYaqaPVrsm3P8zOxjF9dUQKtlaNId1FUj62dMN/mSVLshmYwvcitQBEBNidaiafx/GCGbJM9FiL5M04DsGKYiA5JPf31dzcizJw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <bb38eb3c0704140026u4c7236a5t1cf4f5f213691dc1@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/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>
References: <bb38eb3c0704120337h635d639bie317b92e3b2090f9@xxxxxxxxxxxxxx> <907625E08839C4409CE5768403633E0B018E1BC2@xxxxxxxxxxxxxxxxx> <bb38eb3c0704140026u4c7236a5t1cf4f5f213691dc1@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
Janko Harej wrote:
Hi,

2007/4/12, Petersson, Mats <Mats.Petersson@xxxxxxx>:

> Subject: [Xen-users] domu under sles10
>
> Hi,
>
> I'm trying to build non sles10 domU under sles10 dom0. I've downloaded
> centos and debian images from www.jailtime.org fixed the config file
> and try to start domU.
>
> After creating domU from images I get
>
> Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(0,0)
>
> I'm running without problems two sles10 domU machines.
>
> After using google allot :-) I found something about creating initrd -
> how do I do that for debian or centos?

It doesn't make any difference whether you use debian, centos or some
other OS. You need to create the initrd in the host-machine, using the
xen-kernel that you've got there. So, if you're using sles, it should be
something like this:

mkinitrd somewhere/initrd-$ver-xenU $ver-xen --with=blkfront
[$ver would be something like 2.6.16.33, matching the version of your
xenified linux kernel].

The location of "somwhere" could be /boot, but doesn't have to be.


does this mean, that I only have one initrd on my host (dom0) for all
my guest systems(domU)?
No, you have one initrd for each different guest kernel you've installed. You can run guests with different kernels, but their initrd and vmlinuz needs to be present on the Dom0. Their */lib/modules* need to be on the guest domains.

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

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