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

[Xen-users] centos-4 bootstrapping

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Mark Foster <mark@xxxxxxxxx>
  • Date: Wed, 20 Apr 2005 10:39:21 -0700
  • Delivery-date: Thu, 21 Apr 2005 17:42:10 +0000
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I'm trying to bootstrap a CentOS-4 domU running on top of Debian dom0, and document the process for others to benefit from.

Anyone else running a similar setup?

After doing xm create and xm console Domain02 I have an unusable system. The error that stands out is:
RAMDISK: Couldn't find valid RAM disk image starting at 0.
modprobe: FATAL: Could not load /lib/modules/2.6.10-xenU/modules.dep: No such file or directory

However to get to this point I did rebuild my initrd.img using the process described in the Xen FAQ, adding in the lib/modules/2.6.10-xenU directory from the Dom0 system.

Here is the config for the VM.
kernel = "/boot/vmlinuz-2.6.10-xenU"
ramdisk = "/opt/xen/initrd-2.6.9-5.0.3.EL.img"
memory = 64
name = "Domain02"
dhcp = "dhcp"
disk = [ 'file:/opt/xen/domains/vm02/diskimage,sda3,w','file:/opt/xen/domains/vm02/swapimage,sda4,w' ]
root = "/dev/sda3 ro"

Any ideas?
Thanks so much.

That, as we enjoy great advantages from the inventions of others,
we should be glad of an opportunity to serve others by any invention of
ours; and this we should do freely and generously. -Benjamin Franklin

Xen-users mailing list



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