<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT color=gray size=4 face=Arial>There is a problem need you
help!</FONT></DIV>
<DIV><FONT color=#808080 size=4 face=Arial></FONT> </DIV>
<DIV><FONT color=#808080 size=4 face=Arial>When I use virt-install to create a
redhat5 hvm guest on redhat5 virtualization platform, it generated a config
file.</FONT></DIV>
<DIV><FONT color=#808080 size=4
face=Arial>*****************************************</FONT></DIV>
<DIV><FONT size=2>name = "rh5_hvm"<BR>uuid =
"257b4f8c-a468-2391-952e-12fd0fcae56e"<BR>maxmem = 256<BR>memory = 256<BR>vcpus
= 1<BR>builder = "hvm"<BR>kernel = "/usr/lib/xen/boot/hvmloader"<BR>boot =
"c"<BR>pae = 1<BR>acpi = 1<BR>apic = 1<BR>localtime = 0<BR>on_poweroff =
"destroy"<BR>on_reboot = "restart"<BR>on_crash = "restart"<BR>device_model =
"/usr/lib/xen/bin/qemu-dm"<BR>sdl = 0<BR>vnc = 0<BR>vncunused = 0<BR>vncdisplay
= "-5900"<BR>disk = [ "file:/opt/redhat5hvm.img,hda,w", ",hdc:cdrom,r" ]<BR>vif
= [ "mac=00:16:3e:76:2d:bc,bridge=xenbr0,type=ioemu" ]<BR>serial =
"pty"</FONT></DIV>
<DIV><FONT color=#808080 size=4
face=Arial>*****************************************</FONT></DIV>
<DIV><FONT color=#808080 size=4 face=Arial>In this file, disk is named hda and
hdc, but I do have two SATA disk sda and sdb.</FONT></DIV>
<DIV><FONT color=#808080 size=4 face=Arial></FONT> </DIV>
<DIV><FONT color=#808080 size=4 face=Arial>And finally I cann't create the
guest. Here is the information of the creating process.</FONT></DIV>
<DIV><FONT color=#808080 size=4
face=Arial>*****************************************</FONT></DIV>
<DIV><FONT color=#808080><FONT color=#000000 size=2>[root@localhost xen]#
virt-install<BR>Would you like a fully virtualized guest (yes or no)? This
will allow you to run unmodified operating systems. yes<BR> What is the
name of your virtual machine? rh5_hvm<BR> How much RAM should be allocated
(in megabytes)? 256<BR> What would you like to use as the disk (file path)?
/opt/redhat5hvm.img<BR> Would you like to enable graphics support? (yes or
no) no<BR> What is the virtual CD image, CD device or install
location? </FONT><A href="ftp://129.22.0.201/pxe/rhel5_x86/" target=l><FONT
size=2>ftp://129.22.0.201/pxe/rhel5_x86/</FONT></A><BR><BR><FONT size=2><FONT
color=#000000>Starting install...<BR>Retrieving file
.treeinfo...
0 B 00:00 <BR>Retrieving file boot.iso. 100% |=========================| 6.9
MB 00:00 <BR>Creating
domain...
0 B 00:01 <BR>No console available for domain<BR><BR>Domain installation still
in progress. You can reconnect to <BR>the console to complete the
installation process.</FONT><BR></FONT><FONT size=4
face=Arial>*****************************************</FONT></FONT></DIV>
<DIV><FONT color=#808080><FONT size=2><FONT color=#000000>Running "xm list", I
can see the information:<BR><BR>[root@localhost xen]# xm
list<BR>Name
ID Mem(MiB) VCPUs State
Time(s)<BR>Domain-0
0 985 2
r-----
111.2<BR>redhat5
1 511 1
-b----
32.8<BR>rh5_disk
3 255 1
-b----
32.2<BR>rh5_hvm
5 255 1
------ 0.0<BR><BR>But when I try to login rh5_hvm
using "xm console", I encountered an problem: <BR><BR>[root@localhost xen]# xm
console 5<BR>xenconsole: Could not read tty from store: No such file or
directory</FONT><BR></FONT></FONT></DIV>
<DIV><FONT color=#808080 size=4 face=Arial></FONT> </DIV>
<DIV><FONT color=#808080 size=4 face=Arial></FONT> </DIV>
<DIV><FONT color=#808080 size=4 face=Arial></FONT> </DIV></BODY></HTML>