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

Re: [Xen-users] centos-4 bootstrapping



Am Mittwoch, den 20.04.2005, 10:39 -0700 schrieb Mark Foster:
> I'm trying to bootstrap a CentOS-4 domU running on top of Debian dom0, 
> and document the process for others to benefit from.
> See:
> http://mark.foster.cc/wiki/index.cgi?CentOS4onXen

Interesting!

> Anyone else running a similar setup?

Yes, but more easy bootstrapped from a rpm based distro using yum.

> 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.
> ...and...
> 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.

Did you try to compile all drivers (ext3 or such) you need into the domU
kernel itself? Then you should not need an initrd (my kernels do not
even have module support). To make udev working without initrd, mount
the centos disk from dom0, chroot into it and do

  MAKEDEV null console zero

before booting it. Work for me [tm]

/nils.

> 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"



_______________________________________________
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®.