chenhao
2009-May-26 06:12 UTC
[Xen-users] question of creating a redhat5 hvm guest on redhat5 virtualization platform.
Here''s the question of creating a redhat5 hvm guest on redhat5 virtualization platform. [root@localhost xen]# virt-install Would you like a fully virtualized guest (yes or no)? This will allow you to run unmodified operating systems. yes What is the name of your virtual machine? rh5_hvm How much RAM should be allocated (in megabytes)? 256 What would you like to use as the disk (file path)? /opt/redhat5hvm.img Would you like to enable graphics support? (yes or no) no What is the virtual CD image, CD device or install location? ftp://129.22.0.201/pxe/rhel5_x86/ Starting install... Retrieving file .treeinfo... 0 B 00:00 Retrieving file boot.iso. 100% |=========================| 6.9 MB 00:00 Creating domain... 0 B 00:01 No console available for domain Domain installation still in progress. You can reconnect to the console to complete the installation process. Running "xm list", I can see the information: [root@localhost xen]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 985 2 r----- 111.2 redhat5 1 511 1 -b---- 32.8 rh5_disk 3 255 1 -b---- 32.2 rh5_hvm 5 255 1 ------ 0.0 But when I try to login rh5_hvm using "xm console", I encountered an problem: [root@localhost xen]# xm console 5 xenconsole: Could not read tty from store: No such file or directory Thanks for help! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2009-May-26 07:17 UTC
Re: [Xen-users] question of creating a redhat5 hvm guest on redhat5 virtualization platform.
>What is the virtual CD image, CD device or install location? > ftp://129.22.0.201/pxe/rhel5_x86/For HVM install :- /bla/bla/../rhel53.iso You can double check with virt-install command line manual. Boris. --- On Tue, 5/26/09, chenhao <vovfooo@huaweisymantec.com> wrote: From: chenhao <vovfooo@huaweisymantec.com> Subject: [Xen-users] question of creating a redhat5 hvm guest on redhat5 virtualization platform. To: xen-users@lists.xensource.com Date: Tuesday, May 26, 2009, 2:12 AM Here''s the question of creating a redhat5 hvm guest on redhat5 virtualization platform. [root@localhost xen]# virt-install Would you like a fully virtualized guest (yes or no)? This will allow you to run unmodified operating systems. yes What is the name of your virtual machine? rh5_hvm How much RAM should be allocated (in megabytes)? 256 What would you like to use as the disk (file path)? /opt/redhat5hvm.img Would you like to enable graphics support? (yes or no) no What is the virtual CD image, CD device or install location? ftp://129.22.0.201/pxe/rhel5_x86/ Starting install... Retrieving file .treeinfo... 0 B 00:00 Retrieving file boot.iso. 100% |=========================| 6.9 MB 00:00 Creating domain... 0 B 00:01 No console available for domain Domain installation still in progress. You can reconnect to the console to complete the installation process. Running "xm list", I can see the information: [root@localhost xen]# xm list Name ID Mem(MiB) VCPUs State Time(s) Domain-0 0 985 2 r----- 111.2 redhat5 1 511 1 -b---- 32.8 rh5_disk 3 255 1 -b---- 32.2 rh5_hvm 5 255 1 ------ 0.0 But when I try to login rh5_hvm using "xm console", I encountered an problem: [root@localhost xen]# xm console 5 xenconsole: Could not read tty from store: No such file or directory Thanks for help! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users