Boris Derzhavets
2007-Nov-22 16:36 UTC
Install SNV76 DomU at CentOS 5.0 Dom0 (Xen 3.1 64 bit) hangs
Profile Snv76py.cfg for PVM created exactly as suggested:- http://www.opensolaris.org/os/community/xen/docs/linux-dom0/ name = ''Snv76Xen31'' memory = ''1024'' disk = [''file:/usr/lib/xen-solaris/snv76.iso,6:cdrom,r'',''phy:/dev/sda9,0,w'' ] on_shutdown = ''destroy'' on_reboot = ''destroy'' on_crash = ''destroy'' vif = [ '''' ] bootloader = ''pygrub'' kernel = ''/boot/platform/i86xpv/kernel/amd64/unix'' ramdisk = ''/boot/amd64/x86.miniroot'' extra = ''/platform/i86xpv/kernel/amd64/unix - nowin -B install_media=cdrom'' Installation hangs:- [root@ServerRHEL5 vm]# pwd /etc/xen/vm [root@ServerRHEL5 vm]# xm create -c Snv76py.cfg Using config file "./Snv76py.cfg". ... Check status in another terminal session:- [root@ServerRHEL5 vm]# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 1880 2 r----- 142.4 Snv76Xen31 4 1024 0 -bp--- 0.0 Old schema for SNV66 still works fine for SNV76 in the same environment:- http://bderzhavets.blogspot.com/2007/09/install-solaris-domu-64-bit-under-xen-3.html This message posted from opensolaris.org
Boris Derzhavets
2007-Nov-22 17:45 UTC
Re: Install SNV76 DomU at CentOS 5.0 Dom0 (Xen 3.1 64 bit) hangs
Sorry, "paygrub" shouldn''t be used for installation profile. It would be OK for runtime profile. MRJ already instructed me a couple of months ago. This message posted from opensolaris.org
Boris Derzhavets
2007-Nov-22 18:45 UTC
Re: Install SNV76 DomU at CentOS 5.0 Dom0 (Xen 3.1 64 bit) hangs
**************************************************************************************************** I''ve reproduced MRJ''s instruction bellow for 64-bit kernel in mentioned environment. "pygrub" doesn''t load created domain. "xm list" report stays as in original message **************************************************************************************************** root@fedora solaris]# mount -o loop /export/guests/install/solaris/solarisdvd.iso /mnt [root@fedora solaris]# cp /mnt/boot/x86.miniroot /export/guests/install/solaris/ [root@fedora solaris]# cp /mnt/boot/platform/i86xpv/kernel/unix /export/guests/install/solaris/ [root@fedora solaris]# umount /mnt [root@fedora solaris]# dd if=/dev/zero of=/export/guests/install/solaris/disk.img bs=1024k seek=8k count=1 [root@fedora solaris]# cat install.py name = "solaris-install" vcpus = 1 memory = "750" kernel = "/export/guests/install/solaris/unix" ramdisk = "/export/guests/install/solaris/x86.miniroot" extra = "/platform/i86xpv/kernel/unix -B install_media=cdrom,console=ttya" disk = [''file:/export/guests/install/solaris/solarisdvd.iso,6:cdrom,r'', ''file:/export/guests/install/solaris/disk.img,0,w''] vif = [''''] on_shutdown = "destroy" on_reboot = "destroy" on_crash = "destroy" [root@fedora solaris]# xm create -c install.py ... Run through the install... Then I used the following to run the domain after the install was completed. [root@fedora solaris]# cat run.py name = "solaris-install" vcpus = 1 memory = "512" bootloader = "/usr/bin/pygrub" kernel = "/platform/i86xpv/kernel/unix" ramdisk = "/platform/i86pc/boot_archive" disk = [''file:/export/guests/install/solaris/disk.img,0,w''] vif = [''''] on_shutdown = "destroy" on_reboot = "restart" on_crash = "destroy" [root@fedora solaris]# xm create -c run.py This message posted from opensolaris.org