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

Re: [Xen-users] domu under sles10


  • To: Janko Harej <janko.harej@xxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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