Tapas Mishra
2010-May-18 09:36 UTC
[Xen-users] which kernel images should be used to boot first time a DomU CentOS on a Debian Dom0 for
I downloaded vmlinuz and initrd from here renamed them to vmlinuz-xen-install and initrd-xen-install and placed both above in /boot http://mirrors.kernel.org/centos/5.5/os/x86_64/images/xen/ and then in /etc/xen-tools/xen-tools.conf install-method = rinse dist = centos-5 image = sparse kernel = /boot/vmlinuz-xen-install initrd = /boot/initrd-xen-install serial_device = hvc0 disk_device = xvda copied a CentOS 5.5 ISO dd if=/dev/cdrom of=/root/centos.iso mount -t iso9660 -o loop /root/centos.iso /root/inscd then gave following command xen-create-image --hostname new_centOS --ip 172.21.100.196 --install-method rinse --force --arch=amd64 --install-source=/root/inscd/ I got a screen asking me password and then after some time I got a new_centOS.cfg file in /etc/xen/ the contents of which are kernel = ''/boot/vmlinuz-xen-install'' ramdisk = ''/boot/initrd-xen-install.img'' memory = ''1024'' # # Disk device(s). # root = ''/dev/xvda2 ro'' disk = [ ''phy:/dev/virtualization/centos5_domU-swap,xvda1,w'', ''phy:/dev/virtualization/centos5_domU-disk,xvda2,w'', ] # # Hostname # name = ''new_centOS.cfg'' # # Networking # vif = [ ''ip=172.21.100.196,mac=00:16:3E:7D:09:6F'' ] # # Behaviour # on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' But when I do xm create new_centOS -c then I get a text console which asks me for installation ISO. The snapshots that I am getting are like the following. http://www.flickr.com/photos/48996087@N07/4617619327/ and here http://www.flickr.com/photos/48996087@N07/4617619329/ Now my guess is the kernel in .cfg file is the same as http://mirrors.kernel.org/centos/5.5/os/x86_64/images/xen/ so this is an error.I am not sure about this one. But how do I proceed now. Some one suggested me to use vnc on centos but I am not able to understand how where I do it. My dom0 is Debian Lenny xen-3.2.1 -- Tapas _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tapas Mishra
2010-May-18 11:09 UTC
[Xen-users] Re: which kernel images should be used to boot first time a DomU CentOS on a Debian Dom0 for
I found this link http://www.virtuatopia.com/index.php/Configuring_a_VNC_based_Graphical_Console_for_a_Xen_Paravirtualized_domainU_Guest and it says to be able to use vnc for guest DomU''s you simply should add vfb = [ ''type=vnc'' ] to your .cfg file I did that in the newly created newcentOs_domU.cfg file I am able to see on dom0 output of netstat -tlp tcp 0 0 localhost:5900 *:* LISTEN 7997/qemu-dm so that means that vnc server is running now how can I connect to it to be able to install remotely over a GUI using SSH. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users