|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] centos guest domain?
Steven Ellis wrote:
1. You need to copy the modules for the DomU kernel into the guest
filesystem.
2. You probably need an initrd for the guest otherwise it will panic.
3. I'd personally advise using the DomU kernel that comes with the
2.0.7 tar ball as it is closer to the RH released kernel.
Steven, thanks for the pointer - following your suggestions has it
working now!
For others that might stumble on this thread, these steps should work:
1) install CentOS 4.1 from its ISO images
2) boot into it
3) download binary xen release from http://www.xensource.com/downloads/
4) extract it into <pick-a-dir>
5) cp <pick-a-dir>/install/boot/vmlinuz-2.6.11.12-xenU /tmp
6) cp -a <pick-a-dir>/install/lib/modules/2.6.11.12-xenU /lib/modules
7) cd /lib/modules/; depmod 2.6.11.12-xenU; mkinitrd
/tmp/2.6.11.12-xenU.img 2.6.11.12-xenU
8) now, copy both of the files in /tmp to your Xen's Dom0's /boot
9) config your xen file, mine is as follows:
kernel = "/boot/vmlinuz-2.6.11.12-xenU"
ramdisk = "/boot/initrd-2.6.11-12.xenU.img"
memory = 256
name = "CentOS"
vif = [ 'mac=aa:cc:00:00:00:63, bridge=xen-br0' ]
disk = [ 'phy:hdb1,hdb1,w', 'phy:hdb2,hdb2,w' ]
netmask="255.255.255.0"
gateway="10.0.3.1"
hostname= "centos"
root = "/dev/hdb1 ro"
extra = "3"
Note: this works in part because the Xen's binary release is very
similar the CentOS; it is very unlikely it work for any non-Linux guest
OS. It will be interesting to see how much of this kind of stuff will
be eliminated with AMD's Pacifica architecture and the supporting Xen
release ...
Cheers!
Kent
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|