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

Re: [Xen-users] how to install centos/rhel PV domU on debian dom0 ?



Grant McWilliams wrote :
Arnaud, I did several tutorials based on other (much longer) tutorials that I still use. This one uses a disk image but you could modify it for an LV. This uses a kickstart file to do a partially automated install of CentOS5 over the network.

http://www.grantmcwilliams.com/tech/virtualization/xen-howtos/410-centos-5-virtual-machine-64-bit-installation-on-xen

Grant McWilliams


Hello Grant

Thank you for your links / tutorials !
I have installed with success PV centos/rhel DomU with LV virtual disks instead of image file) + pygrub.

To do the graphical installation, i used a virtual frame buffer for the console.

i used a LV 'iso' (with CentOS ISO) to do Hard Disk Installation


sample config files

for CentOS installation
-----------------------
kernel = "/boot/vmlinuz-centos-install"
ramdisk = "/boot/initrd-centos-install"
name = "vmcentos"
memory = "512"
disk = [ 'phy:vg_xen/vmcentos-disk,xvda,w', 'phy:vg_xen/vmcentos-swap,xvdb,w','phy:vg_xen/iso,hda3,r' ]
vif = [ 'bridge=xenbr0' ]
vfb = [ "type=vnc,vncpasswd=xxxxxxx,vnclisten=0.0.0.0,vncdisplay=1" ]
keymap="fr"
vcpus=1
on_reboot = 'restart'
on_crash = 'restart'
on_poweroff = 'destroy'


after CentOS installation
-------------------------
bootloader="/usr/lib/xen-3.2-1/bin/pygrub"
name = "vmcentos"
memory = "512"
disk = [ 'phy:vg_xen/vmcentos-disk,hda1,w', 'phy:vg_xen/vmcentos-swap,hda2,w','phy:vg_xen/iso,hda3,r' ]
vif = [ 'bridge=xenbr0' ]
vfb = [ "type=vnc,vncpasswd=xxxxxxx,vnclisten=0.0.0.0,vncdisplay=1" ]
keymap="fr"
vcpus=1
on_reboot = 'restart'
on_crash = 'restart'
on_poweroff = 'destroy'

-----------


Arnaud

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