WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] question of creating a redhat5 hvm guest on redhat5 virt

To: xen-users@xxxxxxxxxxxxxxxxxxx, chenhao <vovfooo@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] question of creating a redhat5 hvm guest on redhat5 virtualization platform.
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Tue, 26 May 2009 00:17:20 -0700 (PDT)
Cc:
Delivery-date: Tue, 26 May 2009 00:18:03 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1243322241; bh=1fs+OAxRg6tS9FOQv8RTdaMoT6QxLUVqkANLk84LN18=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=T2jx9TWFgSRWDcPMIzx9xC/hVLLm9Ai+pBKqrqUf4Zfd72e5u4wchyeAXu49Gib2Z1ZJvaxrGICQ2AudXenIcmcb91/4XrVhoqIfpej5AFVS/8QZOiwKoTaYnM0iYfU1oEzjLEfbJvbZIexT3xzEDxQ4d3NBDirtpJTH8DZz7VQ=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=vw+mY3sFiDDDsvDz4gBAxyguITq1ZK9ywj9ob7aVComlMkDYJFHE74rGlM26gS/1iPhFvtYMONqhSVlHBffIrkLynLXXENbXeJAqTCKdlLxYAUtTVwQZMy6CEeDS4Vg3SI2DZbUmZwxlka7bHKhFTXapEkeiqBrix6sr6lNTjPs=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
>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@xxxxxxxxxxxxxxxxxx> wrote:

From: chenhao <vovfooo@xxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] question of creating a redhat5 hvm guest on redhat5 virtualization platform.
To: xen-users@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] question of creating a redhat5 hvm guest on redhat5 virtualization platform., Boris Derzhavets <=